/* ==========================================================================
   Meelblom — Main Stylesheet
   ========================================================================== */

@font-face {
    /* Meelblom Script: Sacramento (SIL OFL) with every stroke thinned for a
       lighter look. The OFL reserves the name "Sacramento" for the original,
       so the modified copy carries its own name. */
    font-family: 'Meelblom Script';
    src: url('../fonts/MeelblomScript-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    /* Sacramento draws small for its em; scale it up to the size the
       script sizes below were designed around. */
    size-adjust: 140%;
}

/* Cormorant Garamond and Nunito Sans (SIL OFL), self-hosted Latin subsets
   from Google Fonts. Each file is a variable font covering the full weight
   range, so one file serves every weight the site uses. */
@font-face {
    font-family: 'Cormorant Garamond';
    src: url('../fonts/CormorantGaramond-Variable.woff2') format('woff2');
    font-weight: 500 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Cormorant Garamond';
    src: url('../fonts/CormorantGaramond-Italic-Variable.woff2') format('woff2');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Nunito Sans';
    src: url('../fonts/NunitoSans-Variable.woff2') format('woff2');
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Brand — sampled from the Meelblom logo */
    --pink-50:   #FDF1F3;
    --pink-100:  #FBE4E8;
    --pink-200:  #F1AFB9;   /* "Meel" */
    --pink-400:  #D77F85;   /* "Blom" */
    --rose-600:  #B85F68;
    --rose-700:  #9E4A53;   /* accessible text / buttons on white */
    --rose-900:  #5E2B31;

    /* Patchwork accents — from the clipart */
    --mustard:   #E8B04B;
    --denim:     #6E8FA6;
    --sage:      #8FA58A;

    --ink:       #3E2C2E;
    --ink-soft:  #6E5A5C;
    --cream:     #FFFBF8;
    --white:     #FFFFFF;
    --line:      #F0D9DD;

    --font-script: 'Meelblom Script', 'Brush Script MT', cursive;
    --font-serif:  'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-sans:   'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --radius:    18px;
    --radius-sm: 10px;
    --shadow:    0 10px 30px rgba(94, 43, 49, 0.10);
    --shadow-lg: 0 18px 50px rgba(94, 43, 49, 0.16);
    --nav-h:     84px;
    --ease:      cubic-bezier(.2, .7, .2, 1);
}

/* ── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); scrollbar-gutter: stable; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--ink);
    background: var(--cream);
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }   /* let the <img> inside size and position as if <picture> weren't there */
picture > source { display: none; }   /* …but keep <source> from becoming a grid/flex item */
a { color: var(--rose-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--rose-900); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; color: var(--ink); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 1000;
    background: var(--rose-700); color: var(--white); padding: 10px 18px; border-radius: 0 0 8px 8px;
}
.skip-link:focus { top: 0; color: var(--white); }

.script { font-family: var(--font-script); font-weight: 400; }

/* The script font's swashes reach well outside a line-height of 1
   (Sacramento at 140% size-adjust: ink reaches 1.3em above and 0.75em below
   the baseline). Browsers – Safari especially – clip that ink
   when the text or a parent is animated (.reveal, hero fade-in). Padding the
   box out to cover the ink, then cancelling it with negative margins, keeps
   every glyph inside its box without changing the layout. */
.script, .footer-heading {
    padding: .6em .25em .6em;
    margin-left: -.25em;
    margin-right: -.25em;
}

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: .85em 1.8em;
    font-family: var(--font-sans); font-size: .95rem; font-weight: 700; letter-spacing: .03em;
    color: var(--white); background: var(--rose-700);
    border: 2px solid var(--rose-700); border-radius: 999px;
    text-decoration: none; cursor: pointer;
    transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { background: var(--rose-900); border-color: var(--rose-900); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--outline { background: transparent; color: var(--rose-700); }
.btn--outline:hover { background: var(--rose-700); border-color: var(--rose-700); }
.btn--light { background: var(--white); color: var(--rose-700); border-color: var(--white); }
.btn--light:hover { background: var(--pink-50); color: var(--rose-900); border-color: var(--pink-50); }
.btn--small { padding: .5em 1.2em; font-size: .85rem; }

/* ── Navigation ────────────────────────────────────────────────────────── */
.main-nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 251, 248, .92);
    backdrop-filter: saturate(1.4) blur(10px);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .3s, border-color .3s;
}
.main-nav.scrolled { box-shadow: 0 4px 20px rgba(94, 43, 49, .08); border-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 24px; }
.nav-logo { flex-shrink: 0; }
.logo-img { width: 190px; }

.nav-links { display: flex; gap: 6px; }
.nav-links a {
    position: relative; display: block; padding: 8px 16px;
    font-weight: 600; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase;
    color: var(--ink); text-decoration: none;
}
.nav-links a::after {
    content: ''; position: absolute; left: 16px; right: 16px; bottom: 2px; height: 2px;
    background: var(--pink-400); border-radius: 2px;
    transform: scaleX(0); transition: transform .3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--rose-700); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-social, .footer-social {
    display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
    background: var(--pink-100); color: var(--rose-700); transition: background .25s, color .25s;
}
.nav-social svg, .footer-social svg { width: 20px; height: 20px; fill: currentColor; }
.nav-social .icon-stroke { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav-social:hover { background: var(--rose-700); color: var(--white); }

.hamburger {
    display: none; width: 44px; height: 44px; padding: 10px;
    background: none; border: 0; cursor: pointer;
    flex-direction: column; justify-content: space-between;
}
.hamburger .bar { display: block; height: 2px; background: var(--rose-700); border-radius: 2px; transition: transform .3s, opacity .3s; }
.hamburger.open .bar:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.hamburger.open .bar:nth-child(2) { opacity: 0; }
.hamburger.open .bar:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* ── Search ────────────────────────────────────────────────────────────── */
.search-toggle {
    display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
    border: 0; padding: 0; cursor: pointer;
    background: var(--pink-100); color: var(--rose-700); transition: background .25s, color .25s;
}
.search-toggle:hover { background: var(--rose-700); color: var(--white); }
.search-toggle svg, .search-input-icon svg {
    width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round;
}

.search-overlay {
    position: fixed; inset: 0; z-index: 200;
    display: flex; justify-content: center; align-items: flex-start;
    padding: clamp(16px, 10vh, 120px) 16px 16px;
    background: rgba(46, 24, 27, .55);
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    opacity: 0; transition: opacity .2s;
}
.search-overlay.open { opacity: 1; }
.search-overlay[hidden] { display: none; }
.search-box {
    width: 100%; max-width: 640px; max-height: 80vh; overflow: auto;
    background: var(--cream); border-radius: var(--radius); box-shadow: var(--shadow-lg);
    transform: translateY(-10px); transition: transform .25s var(--ease);
}
.search-overlay.open .search-box { transform: none; }
.search-input-row {
    position: sticky; top: 0; z-index: 1;
    display: flex; align-items: center; gap: 10px; padding: 14px 16px 14px 20px;
    background: var(--cream); border-bottom: 1px solid var(--line);
}
.search-input-icon { color: var(--pink-400); display: grid; }
.search-input {
    flex: 1; min-width: 0; padding: 8px 0; border: 0; background: transparent;
    font: inherit; font-size: 1.1rem; color: var(--ink);
}
.search-input:focus { outline: none; }
.search-input::-webkit-search-cancel-button { display: none; }
.search-close {
    width: 40px; height: 40px; border: 0; border-radius: 50%; cursor: pointer;
    background: var(--pink-100); color: var(--rose-700); font-size: 1.6rem; line-height: 1;
}
.search-close:hover { background: var(--rose-700); color: var(--white); }

.search-results:empty { display: none; }
.search-results { padding: 8px; }
.search-result {
    display: block; padding: 12px 14px; border-radius: var(--radius-sm);
    text-decoration: none; color: var(--ink);
}
.search-result:hover, .search-result:focus { background: var(--pink-50); outline: none; }
.search-result:focus-visible { box-shadow: inset 0 0 0 2px var(--pink-400); }
.search-result + .search-result { margin-top: 2px; }
.search-result-category {
    display: block; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rose-600);
}
.search-result-title { display: block; font-family: var(--font-serif); font-weight: 600; font-size: 1.3rem; color: var(--rose-900); }
.search-result-snippet { display: block; font-size: .9rem; line-height: 1.5; color: var(--ink-soft); }
.search-result mark { background: var(--pink-100); color: inherit; border-radius: 3px; padding: 0 2px; }
.search-no-results { margin: 0; padding: 16px 14px; color: var(--ink-soft); }
.search-hint { margin: 0; padding: 14px 20px 16px; font-size: .88rem; color: var(--ink-soft); }
.search-overlay.has-query .search-hint { display: none; }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
    position: relative; overflow: hidden;
    padding: clamp(60px, 9vw, 120px) 0 clamp(80px, 10vw, 140px);
    text-align: center;
    background:
        radial-gradient(ellipse at 20% 10%, rgba(241, 175, 185, .35), transparent 55%),
        radial-gradient(ellipse at 85% 90%, rgba(232, 176, 75, .14), transparent 50%),
        var(--pink-50);
}
.hero::after {   /* scalloped edge into the next section */
    content: ''; position: absolute; z-index: 3; left: 0; right: 0; bottom: -1px; height: 28px;
    background: radial-gradient(circle at 14px 0, transparent 14px, var(--cream) 15px) repeat-x;
    background-size: 28px 28px;
}
.hero-inner { position: relative; z-index: 2; max-width: 820px; }
.hero-title { margin: 0 0 24px; }
.hero-logo { width: min(520px, 82vw); margin: 0 auto; animation: rise 1s var(--ease) both; }
.hero-tagline {
    display: block; margin-top: calc(10px - .6em); margin-bottom: -.6em;
    font-size: clamp(2rem, 5vw, 3.2rem); color: var(--rose-600); line-height: 1.2;
    animation: rise 1s .2s var(--ease) both;
}
.hero-lead {
    max-width: 620px; margin: 0 auto 32px;
    font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--ink-soft);
    animation: rise 1s .35s var(--ease) both;
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; animation: rise 1s .5s var(--ease) both; }

.hero-flower { position: absolute; z-index: 1; pointer-events: none; filter: drop-shadow(0 12px 18px rgba(94, 43, 49, .15)); }
.hero-flower--one   { width: clamp(150px, 22vw, 300px); top: -40px;  left: -60px;  transform: rotate(-14deg); animation: sway 9s ease-in-out infinite; }
.hero-flower--two   { width: clamp(140px, 20vw, 280px); bottom: -30px; right: -50px; transform: rotate(12deg);  animation: sway 11s ease-in-out infinite reverse; }
.hero-flower--three { width: clamp(90px, 11vw, 160px);  bottom: 40px; left: 6%;     transform: rotate(8deg);   animation: sway 10s 1s ease-in-out infinite; }
.hero-flower--four  { width: clamp(70px, 8vw, 120px);   top: 40px;    right: 8%;    transform: rotate(-6deg);  animation: sway 8s .5s ease-in-out infinite reverse; }

@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes sway { 0%, 100% { rotate: 0deg; translate: 0 0; } 50% { rotate: 5deg; translate: 0 -8px; } }

/* ── Sections ──────────────────────────────────────────────────────────── */
.section { padding: clamp(70px, 9vw, 120px) 0; }
.section-header { text-align: center; max-width: 680px; margin: 0 auto clamp(40px, 5vw, 64px); }
.eyebrow { font-size: clamp(1.8rem, 3.5vw, 2.4rem); color: var(--pink-400); line-height: 1; margin-top: -.6em; margin-bottom: -.4em; }
.section-title { font-family: var(--font-serif); font-weight: 600; font-size: clamp(2.1rem, 4.5vw, 3.2rem); color: var(--rose-900); }
.section-intro { color: var(--ink-soft); font-size: 1.1rem; }

/* ── About ─────────────────────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about-collage { position: relative; aspect-ratio: 1 / 1; max-width: 540px; width: 100%; margin: 0 auto; }
.collage-img { position: absolute; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 6px solid var(--white); object-fit: cover; }
.collage-img--a { width: 62%; top: 0; left: 0; transform: rotate(-3deg); }
.collage-img--b { width: 52%; bottom: 0; right: 0; transform: rotate(4deg); z-index: 2; }
.collage-img--c { width: 38%; top: 8%; right: 2%; transform: rotate(6deg); }
.collage-flower { position: absolute; width: 26%; bottom: 4%; left: 6%; z-index: 3; filter: drop-shadow(0 8px 14px rgba(94, 43, 49, .2)); }

.about-copy p { color: var(--ink-soft); }
.about-values { display: grid; gap: 18px; margin-top: 30px; }
.about-values li { display: flex; gap: 16px; align-items: flex-start; }
.about-values strong { display: block; color: var(--ink); font-size: 1.05rem; }
.about-values span:last-child { color: var(--ink-soft); font-size: .98rem; line-height: 1.5; }
.value-icon, .contact-icon {
    flex-shrink: 0; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
    background: var(--pink-100); color: var(--rose-700);
}
.value-icon svg, .contact-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ── Services ──────────────────────────────────────────────────────────── */
.services { background: var(--white); position: relative; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
    display: flex; flex-direction: column; overflow: hidden;
    background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--pink-100); }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-card:hover .service-media img { transform: scale(1.06); }
.service-media--clip { display: grid; place-items: center; background: radial-gradient(circle, var(--white) 0%, var(--pink-100) 75%); }
.service-media--clip img { width: 62%; height: auto; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(94, 43, 49, .18)); }
.service-card:hover .service-media--clip img { transform: rotate(12deg) scale(1.05); }
.service-media--blue   { background: radial-gradient(circle, var(--white) 0%, #E3ECF2 75%); }
.service-media--yellow { background: radial-gradient(circle, var(--white) 0%, #FBEBCB 75%); }
.service-body { padding: 22px 24px 26px; }
.service-body h3 { font-family: var(--font-serif); font-weight: 600; font-size: 1.55rem; color: var(--rose-900); margin-bottom: .35em; }
.service-body p { margin: 0; color: var(--ink-soft); font-size: .98rem; line-height: 1.6; }
.service-body .service-tag { margin-bottom: .45em; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rose-600); }

.services-cta {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 28px;
    margin-top: clamp(50px, 6vw, 70px); text-align: center;
}
.services-cta p { margin: 0; font-family: var(--font-serif); font-size: 1.35rem; font-style: italic; color: var(--rose-900); }

/* ── Feature band ──────────────────────────────────────────────────────── */
.feature {
    padding: clamp(70px, 8vw, 110px) 0;
    background: linear-gradient(135deg, var(--pink-400) 0%, var(--rose-600) 100%);
    color: var(--white);
    position: relative; overflow: hidden;
}
.feature::before {
    content: ''; position: absolute; inset: 0; opacity: .08;
    background-image: url('../images/web/clipart-05.webp'); background-size: 120px; background-repeat: space;
}
.feature-grid { position: relative; display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.feature .eyebrow { color: var(--pink-100); }
.feature .section-title { color: var(--white); }
.feature-copy p { color: rgba(255, 255, 255, .92); margin-bottom: 28px; }
.feature-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature-strip img { border-radius: var(--radius); box-shadow: 0 14px 34px rgba(0, 0, 0, .18); aspect-ratio: 1; object-fit: cover; }
.feature-strip picture:nth-child(even) img { transform: translateY(28px); }

/* ── Gallery ───────────────────────────────────────────────────────────── */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-item {
    display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in;
    border-radius: var(--radius-sm); overflow: hidden; background: var(--pink-100); aspect-ratio: 1;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .4s; }
.gallery-item:hover img { transform: scale(1.07); filter: saturate(1.1); }

.social-cta {
    display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
    margin-top: clamp(50px, 6vw, 70px); padding: 28px 34px;
    background: var(--pink-50); border: 2px dashed var(--pink-200); border-radius: var(--radius);
}
.social-cta img { width: 80px; flex-shrink: 0; }
.social-cta > div { flex: 1 1 260px; }
.social-cta h3 { font-family: var(--font-serif); font-weight: 600; font-size: 1.7rem; color: var(--rose-900); margin-bottom: .2em; }
.social-cta p { margin: 0; color: var(--ink-soft); }
.social-cta > .social-cta-buttons { flex: 0 1 auto; display: flex; flex-wrap: wrap; gap: 12px; }

.lightbox { padding: 0; border: 0; background: transparent; max-width: min(92vw, 900px); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(46, 24, 27, .85); }
.lightbox img { max-height: 86vh; width: auto; margin: 0 auto; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.lightbox-close {
    position: absolute; top: -18px; right: -18px; width: 44px; height: 44px; border-radius: 50%;
    border: 0; background: var(--white); color: var(--rose-700); font-size: 1.8rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow);
}

/* ── Contact ───────────────────────────────────────────────────────────── */
.contact { background: var(--white); padding-bottom: 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.contact-details {
    padding: 34px 30px; border-radius: var(--radius);
    background: var(--pink-50); border: 1px solid var(--line);
}
.contact-details li { display: flex; gap: 16px; align-items: flex-start; }
.contact-details li + li { margin-top: 22px; }
.contact-details strong { display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--rose-700); }
.contact-details a, .contact-details address, .contact-details span { color: var(--ink); font-size: 1.02rem; line-height: 1.55; }
.contact-details a { text-decoration: none; font-weight: 600; }
.contact-details a:hover { color: var(--rose-700); text-decoration: underline; }

.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-weight: 600; font-size: .92rem; color: var(--ink); }
.form-field label span[aria-hidden] { color: var(--rose-700); }
.optional { font-weight: 400; color: var(--ink-soft); }
.form-field input, .form-field select, .form-field textarea {
    width: 100%; padding: 13px 16px;
    font: inherit; font-size: 1rem; color: var(--ink);
    background: var(--cream); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
    outline: none; border-color: var(--pink-400); background: var(--white); box-shadow: 0 0 0 4px rgba(215, 127, 133, .18);
}
.form-note { margin: 0; font-size: .88rem; color: var(--ink-soft); }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-feedback:empty { display: none; }
.form-feedback { padding: 14px 18px; border-radius: var(--radius-sm); font-size: .95rem; line-height: 1.6; }
.form-feedback--error   { background: #FDECEC; border: 1px solid #F3B9B9; color: #8A1F1F; }
.form-feedback--success { background: #EEF5EC; border: 1px solid #BFD8B8; color: #2F5A27; }

.map-wrap { position: relative; margin-top: clamp(60px, 8vw, 100px); height: 420px; background: var(--pink-100); }
/* Google labels the pin with Chamo Dance and Fitness (same address) until
   Meelblom has its own Google Business Profile. */
.map-note { max-width: 688px; margin-top: clamp(60px, 8vw, 100px); margin-bottom: 20px; text-align: center; font-size: .95rem; color: var(--ink-soft); }
.map-note + .map-wrap { margin-top: 0; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.85); }
.map-directions { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); box-shadow: var(--shadow-lg); }
.map-directions:hover { transform: translateX(-50%) translateY(-2px); }

/* ── Footer ────────────────────────────────────────────────────────────── */
.site-footer { background: var(--rose-900); color: rgba(255, 255, 255, .82); font-size: .96rem; }
.footer-grid {
    display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 40px;
    padding-top: clamp(60px, 7vw, 80px); padding-bottom: 50px;
}
.footer-logo { width: 190px; margin-bottom: 18px; }
.footer-brand p { max-width: 300px; }
.footer-social { background: rgba(255, 255, 255, .12); color: var(--white); }
.footer-social:hover { background: var(--white); color: var(--rose-900); }
.footer-social[hidden] { display: none; }
button.footer-social { border: 0; padding: 0; cursor: pointer; }
.footer-social .icon-stroke { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer-follow { display: flex; gap: 8px; }
.footer-share { margin-top: 24px; }
.footer-share-label { margin: 0 0 10px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--pink-200); }
.share-links { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-sister { margin: 24px 0 0; font-size: .9rem; line-height: 1.6; }
.footer-sister a { font-weight: 700; text-decoration: underline; text-decoration-color: var(--pink-200); }
.footer-heading { font-family: var(--font-script); font-weight: 400; font-size: 2rem; color: var(--pink-200); margin-top: -.6em; margin-bottom: calc(12px - .6em); }
.footer-col li + li { margin-top: 8px; }
.site-footer a { color: rgba(255, 255, 255, .88); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer address { line-height: 1.9; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 20px 0; font-size: .85rem; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer-bottom p { margin: 0; }
.footer-bottom-inner { align-items: center; }
.footer-legal { order: 3; flex-basis: 100%; }
@media (min-width: 861px) { .footer-legal { order: 0; flex-basis: auto; } }
.footer-credits a { display: inline-flex; align-items: center; gap: 8px; }
.footer-credits-logo { width: 34px; height: 34px; object-fit: contain; display: inline-block; }

/* eXTReMe Tracking: the script forces this wrapper visible, so hide the badge link it injects. Tracking still fires. */
.footer-tracker { position: absolute; width: 0; height: 0; overflow: hidden; }
.footer-tracker a { display: none !important; }

/* ── Back to top ───────────────────────────────────────────────────────── */
.back-to-top {
    position: fixed; right: 20px; bottom: 20px; z-index: 90;
    display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
    background: var(--rose-700); color: var(--white); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: opacity .3s, visibility .3s, transform .3s, background .2s;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--rose-900); color: var(--white); }
.back-to-top svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ── Scroll reveal ─────────────────────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in-view { opacity: 1; transform: none; }

/* ── Simple content pages (privacy, 404, thank you) ────────────────────── */
.page-hero { padding: clamp(60px, 8vw, 100px) 0 40px; text-align: center; background: var(--pink-50); }
.page-content { padding: 50px 0 90px; }
.page-content .container { max-width: 820px; }
.page-content h2 { font-family: var(--font-serif); font-weight: 600; font-size: 1.8rem; color: var(--rose-900); margin-top: 1.6em; }
.page-content ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1em; }
.page-content li { margin-bottom: .35em; }
.centered-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.centered-page img.page-flower { width: 140px; margin: 0 auto 20px; }

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .nav-call { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
    :root { --nav-h: 72px; }
    .logo-img { width: 160px; }
    .hamburger { display: flex; }

    /* The one primary menu becomes a drop-down panel on small screens */
    .primary-nav {
        position: absolute; top: 100%; left: 0; right: 0;
        background: var(--cream); border-top: 1px solid var(--line);
        box-shadow: 0 14px 24px rgba(94, 43, 49, .08);
        padding: 8px 16px 18px;
        display: none;
    }
    .main-nav.menu-open .primary-nav { display: block; }
    .nav-links { flex-direction: column; gap: 0; }
    .nav-links a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
    .nav-links a::after { display: none; }
    .about-grid, .feature-grid, .contact-grid { grid-template-columns: 1fr; }
    .about-collage { max-width: 440px; }
    .feature-strip { grid-template-columns: repeat(4, 1fr); gap: 10px; }
    .feature-strip picture:nth-child(even) img { transform: none; }
}

@media (max-width: 600px) {
    .container { padding: 0 16px; }
    .form-row { grid-template-columns: 1fr; }
    .service-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .feature-strip { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .hero-flower--three, .hero-flower--four { display: none; }
    .hero-flower--one { width: 110px; top: -30px; left: -40px; }
    .hero-flower--two { width: 120px; }
    .social-cta { padding: 24px; }
    .map-wrap { height: 340px; }
}

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