/* ═══════════════════════════════════════════════════════════════
   MaryMade — public / marketing stylesheet
   Standalone (no design.css import). Same token values.
   Mobile-first: 320px base → 640px → 1024px
   ═══════════════════════════════════════════════════════════════ */

/* ── Tokens ──────────────────────────────────────────────────── */
:root {
    --c-bg:           #faf9f6;
    --c-surface:      #ffffff;
    --c-border:       #e0dbd2;
    --c-text:         #2c2c2c;
    --c-muted:        #7a7068;
    --c-accent:       #08260e;
    --c-accent-hover: #041a08;
    --c-accent-light: #e8f0e9;
    --c-ph:           #e4dfd6;   /* image placeholder — warm linen */

    --font-sans:    'DM Sans', sans-serif;
    --font-serif:   Georgia, serif;
    --font-heading: 'Poppins', sans-serif;

    --nav-h:       136px;
    --max-w:       960px;
    --max-w-text:  800px;
    --r:           10px;
    --section-v:   72px;
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--c-text);
    background: var(--c-bg);
    overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }

/* scroll offset for sticky nav */
:target { scroll-margin-top: calc(var(--nav-h) - 40px); }
@media (min-width: 1024px) {
    :target { scroll-margin-top: calc(var(--nav-h) + 20px); }
}

/* ── Layout helpers ──────────────────────────────────────────── */
.wrap {
    width: 100%;
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: 20px;
}
.wrap--text   { max-width: var(--max-w-text); }
.wrap--narrow { max-width: 600px; }
.section { padding-block: var(--section-v); }
.section--surface { background: var(--c-surface); }
.section--accent  { background: var(--c-accent); color: #fff; }
.section--hero-photo {
    position: relative;
    background-image: url('../img/marymade-home.jpg');
    background-size: cover;
    background-position: center;
}
.section--hero-photo > * { position: relative; z-index: 1; }

.cta-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    text-align: center;
    padding: 48px 40px;
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
    border-radius: 6px;
}
html[data-theme="dark"] .cta-card { background: rgba(26, 26, 24, 0.90); }
html[data-theme="dark"] .section--hero-photo {
    background-image: url('../img/marymade-home-dark.jpg');
}

.section-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--c-muted);
    margin-bottom: 10px;
}
.section--accent .section-label { color: rgba(255,255,255,0.65); }

.section-title {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(1.55rem, 3.5vw, 2.1rem);
    line-height: 1.2;
    margin-bottom: 28px;
}
.section--accent .section-title { color: #fff; }

/* ── Image placeholder ───────────────────────────────────────── */
.img-ph {
    background: var(--c-ph);
    width: 100%;
    display: block;
}
.img-ph--wide    { aspect-ratio: 16/7; }
.img-ph--portrait { aspect-ratio: 3/4; }
.img-ph--square  { aspect-ratio: 1/1; }

/* ── Nav ─────────────────────────────────────────────────────── */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--c-bg);
    border-bottom: 1px solid var(--c-border);
    height: var(--nav-h);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--c-text);
    flex-shrink: 0;
}
.nav-logo svg { height: 80px; width: auto; }

/* left side: logo + dev refresh */
.nav-left {
    display: flex;
    align-items: center;
    gap: 16px;
}
.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--c-text);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* nav links — animated slide-down on mobile */
.nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--c-bg);
    border-bottom: 1px solid var(--c-border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.06);
    gap: 0;

    /* closed state */
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    pointer-events: none;
    transition:
        max-height 0.24s cubic-bezier(0.4, 0, 0.2, 1),
        padding    0.24s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-links.open {
    max-height: 520px;
    padding: 16px 20px 24px;
    pointer-events: auto;
    transition:
        max-height 0.24s cubic-bezier(0.4, 0, 0.2, 1),
        opacity    0.18s ease,
        padding    0.24s cubic-bezier(0.4, 0, 0.2, 1);
}

/* staggered link entrance — no transition on close, just snap back */
.nav-links li {
    opacity: 0;
    transform: translateY(-6px);
    transition: none;
}
.nav-links.open li               { opacity: 1; transform: translateY(0); transition: opacity 0.16s ease, transform 0.16s ease; }
.nav-links.open li:nth-child(1)  { transition-delay: 0.05s; }
.nav-links.open li:nth-child(2)  { transition-delay: 0.08s; }
.nav-links.open li:nth-child(3)  { transition-delay: 0.11s; }
.nav-links.open li:nth-child(4)  { transition-delay: 0.14s; }
.nav-links.open li:nth-child(5)  { transition-delay: 0.17s; }
.nav-links.open li:nth-child(6)  { transition-delay: 0.19s; }

.nav-links a:not(.btn-pill):not(.nav-lang-toggle) {
    font-size: 0.95rem;
    color: var(--c-muted);
    padding: 12px 4px;
    border-bottom: 1px solid var(--c-border);
    display: block;
}
.nav-links li:last-of-type a:not(.btn-pill) { border-bottom: none; }
.nav-links a:not(.btn-pill):hover { color: var(--c-text); }

/* language toggle */
.nav-lang {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    margin-top: 12px;
    padding-top: 12px;
}
.nav-lang-toggle { color: var(--c-text); font-weight: 600; }
.nav-lang-toggle:hover { color: var(--c-muted); }
.nav-lang .sep { color: var(--c-border); }

/* signup button in nav */
.nav-links .btn-pill { margin-top: 12px; align-self: flex-start; min-width: 130px; text-align: center; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn-pill {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 10px 22px;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    line-height: 1.3;
    transition: background 0.15s, color 0.15s;
    text-decoration: none;
}
.btn-primary {
    background: var(--c-accent);
    color: var(--c-bg);
    border-color: var(--c-accent);
}
.btn-primary:hover { background: var(--c-accent-hover); border-color: var(--c-accent-hover); }
.btn-ghost {
    background: transparent;
    color: var(--c-text);
    border-color: var(--c-border);
}
.btn-ghost:hover { background: var(--c-border); }
.btn-white {
    background: #fff;
    color: var(--c-accent);
    border-color: #fff;
}
.btn-white:hover { background: #f0eeea; }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: calc(100vh - var(--nav-h));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../img/marymade-home.jpg');
    background-size: cover;
    background-position: center;
}
.hero-card {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    text-align: center;
    padding: 48px 40px;
    max-width: 480px;
    width: 100%;
    border-radius: 6px;
}
.hero-headline {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: clamp(2rem, 7vw, 3rem);
    line-height: 1.15;
    margin-bottom: 16px;
    color: #1a1a18;
}
.hero-sub {
    font-size: 1rem;
    color: #333;
    line-height: 1.65;
    margin-bottom: 24px;
}
.hero-sub em { font-style: italic; }
.hero-by {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #555;
    margin-bottom: 6px;
}
.hero-stars {
    font-size: 1.1rem;
    color: #2c2c2c;
    margin-bottom: 4px;
    letter-spacing: 2px;
}
.hero-creds {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 20px;
}
.hero-sig-wrap { display: flex; justify-content: center; }
.hero-sig { height: 72px; width: auto; }
.hero-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
}

/* ── Intro centered layout ───────────────────────────────────── */
.intro-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}
.intro-portrait {
    width: 220px;
    height: auto;
    border-radius: var(--r);
    display: block;
    margin-bottom: 8px;
}
.intro-centered .usp-list  { justify-content: center; }
.intro-centered .cv-badges { justify-content: center; width: 100%; }

/* ── Intro + USPs ────────────────────────────────────────────── */
.intro-body {
    font-size: 1.05rem;
    color: var(--c-muted);
    margin-bottom: 12px;
    max-width: 560px;
}
.intro-body:last-of-type { margin-bottom: 20px; }
.usp-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.usp-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.usp-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--c-accent-light);
    color: var(--c-accent);
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.usp-text {
    font-size: 0.95rem;
    padding-top: 7px;
    font-weight: 500;
}

/* ── How it works ────────────────────────────────────────────── */
.steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.step {
    display: flex;
    gap: 20px;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r);
    padding: 24px;
}
.step-num {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--c-accent);
    color: #fff;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.step-title { font-weight: 600; margin-bottom: 6px; }
.step-desc  { font-size: 0.95rem; color: var(--c-muted); line-height: 1.6; }

#hoe-werkt-het .section-title { text-align: center; }

.how-photo-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-top: 24px;
    margin-bottom: 40px;
}
@media (min-width: 640px) {
    .how-photo-strip { grid-template-columns: repeat(8, 1fr); }
}
.how-photo-item {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 6px;
}
.how-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Pricing ─────────────────────────────────────────────────── */
.price-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 24px;
    margin-bottom: 28px;
}
.price-card {
    border: 1px solid var(--c-border);
    border-radius: var(--r);
    padding: 22px 20px;
    background: var(--c-surface);
}
.price-card-label { font-size: 0.82rem; color: var(--c-muted); margin-bottom: 6px; }
.price-card-amount {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--c-text);
    line-height: 1;
}
@media (min-width: 640px) {
    .price-card-amount { font-size: 2rem; }
}
.price-card-unit  { font-size: 0.82rem; color: var(--c-muted); margin-top: 5px; }
.meal-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin: 32px auto;
    max-width: 680px;
}
.meal-grid-item {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 6px;
}
.meal-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pricing-cta {
    margin-top: 40px;
    padding-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.pricing-cta .btn-pill {
    width: 100%;
    text-align: center;
}
@media (min-width: 640px) {
    .pricing-cta .btn-pill { width: calc(50% - 7px); }
}
.pricing-cta-note {
    font-size: 0.9rem;
    color: var(--c-muted);
    margin: 0;
    text-align: center;
    width: 100%;
}
@media (min-width: 640px) {
    .pricing-cta-note { width: calc(50% - 7px); }
}
.price-extras-inline {
    font-size: 0.88rem;
    color: var(--c-muted);
    margin: 16px 0 0;
}

/* ── Reviews ─────────────────────────────────────────────────── */
.google-reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 40px;
}
@media (min-width: 640px) {
    .google-reviews-grid { grid-template-columns: 1fr 1fr; }
}
.g-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r);
    padding: 16px;
    user-select: none;
}
.g-card--business { padding: 0; overflow: hidden; }
.g-business-photo { width: 100%; height: 140px; object-fit: cover; display: block; }
.g-business-info  { padding: 12px 16px 14px; }
.g-business-name  { font-weight: 600; font-size: 1rem; margin-bottom: 4px; }
.g-business-type  { font-size: 0.8rem; color: var(--c-muted); margin-top: 2px; }
.g-business-rating { display: flex; align-items: center; gap: 4px; font-size: 0.9rem; }
.g-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.g-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.g-meta       { flex: 1; min-width: 0; }
.g-name       { display: block; font-weight: 600; font-size: 0.85rem; }
.g-count      { display: block; font-size: 0.75rem; color: var(--c-muted); }
.g-dots       { color: var(--c-muted); font-size: 1.1rem; flex-shrink: 0; }
.g-stars      { color: #fbbc04; font-size: 0.85rem; margin-bottom: 8px; }
.g-text       { font-size: 0.85rem; line-height: 1.55; color: var(--c-text); margin: 0; }

.review-hidden { display: none !important; }

@keyframes reviewReveal {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.review-reveal {
    animation: reviewReveal 0.35s ease both;
    animation-delay: var(--delay, 0ms);
}

.load-more-wrap {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 24px 0 8px;
}
.reviews-toggle {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.9rem;
    color: var(--c-muted);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.reviews-toggle:hover { color: var(--c-text); }

.section-social-link {
    font-size: 0.88rem;
    color: var(--c-muted);
    margin-top: 16px;
    text-align: center;
}
.section-social-link a { color: var(--c-muted); text-decoration: underline; text-underline-offset: 3px; }
.section-social-link a:hover { color: var(--c-text); }


/* ── FAQ ─────────────────────────────────────────────────────── */
.faq-list {
    border-top: 1px solid var(--c-border);
    margin-bottom: 28px;
}
.faq-list details { border-bottom: 1px solid var(--c-border); }
.faq-list details > summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
    user-select: none;
    gap: 16px;
}
.faq-list details > summary::-webkit-details-marker { display: none; }
.faq-list details > summary::after {
    content: '+';
    flex-shrink: 0;
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--c-muted);
    line-height: 1;
}
.faq-list details[open] > summary::after { content: '−'; }
.faq-list details > summary:hover { color: var(--c-accent); }
.faq-answer {
    padding-bottom: 20px;
    font-size: 0.93rem;
    color: var(--c-muted);
    line-height: 1.7;
    max-width: 580px;
}

/* ── CTA section ─────────────────────────────────────────────── */
#aanmelden { padding-block: 48px; }
.cta-body {
    font-size: 1rem;
    opacity: 0.88;
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 28px;
}

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
    border-top: 1px solid var(--c-border);
    padding-block: 40px;
    font-size: 0.85rem;
    color: var(--c-muted);
}
.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-nav a:hover { color: var(--c-text); }
.footer-social { display: flex; flex-direction: column; gap: 8px; }
.footer-social a:hover { color: var(--c-text); }
.footer-bottom {
    border-top: 1px solid var(--c-border);
    padding-top: 20px;
    margin-top: 8px;
    font-size: 0.8rem;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between;
}

/* ── Page header (text-only — faq, over-mary, aanmelden) ────── */
.page-header {
    padding-block: 48px 36px;
    border-bottom: 1px solid var(--c-border);
}
.page-header h1 {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: clamp(1.9rem, 4.5vw, 2.8rem);
    line-height: 1.15;
    margin-top: 8px;
    margin-bottom: 0;
}
.page-header p {
    margin-top: 14px;
    font-size: 1rem;
    color: var(--c-muted);
    max-width: 480px;
    line-height: 1.65;
}

/* ── FAQ group ───────────────────────────────────────────────── */
.faq-group { margin-bottom: 48px; }
.faq-group-hidden { display: none; }
.faq-group-title {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--c-muted);
    padding-bottom: 14px;
    border-bottom: 1px solid var(--c-border);
    margin-bottom: 0;
}

/* ── About layout ────────────────────────────────────────────── */
.about-layout {
    display: flex;
    flex-direction: column;
    gap: 36px;
    margin-top: 8px;
}
.about-portrait {
    width: 100%;
    max-width: 260px;
    flex-shrink: 0;
}
.about-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--r);
    display: block;
}
.about-bio {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.about-bio p {
    font-size: 1rem;
    color: var(--c-muted);
    line-height: 1.75;
}
.about-bio .section-title { text-align: left; margin-bottom: 20px; }
.about-bio p:first-of-type { color: var(--c-text); font-size: 1.05rem; }
.cv-group-title {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--c-muted);
    margin-bottom: 12px;
    margin-top: 40px;
}
.cv-group-title:first-child { margin-top: 0; }
.cv-list { display: grid; grid-template-columns: 1fr; gap: 2px; }
.cv-row {
    display: flex;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--c-border);
    align-items: baseline;
}
.cv-row:last-child { border-bottom: none; }
.cv-period {
    font-size: 0.85rem;
    color: var(--c-muted);
    white-space: nowrap;
    flex-shrink: 0;
    width: 110px;
}
.cv-name { font-size: 0.95rem; color: var(--c-text); }
.cv-loc { color: var(--c-muted); font-size: 0.9rem; }
.cv-row--edu { flex-direction: column; gap: 2px; }
.cv-badges {
    display: flex;
    justify-content: center;
    margin-top: 16px;
    margin-bottom: 40px;
}
.cv-badge {
    height: auto;
    width: 100%;
}
@media (min-width: 1024px) {
    .cv-badge { width: 70%; }
}
html[data-theme="dark"] .cv-badge { filter: invert(1); }
.about-sig {
    margin-top: 28px;
    border-top: 1px solid var(--c-border);
    padding-top: 20px;
}
.about-signature {
    height: 108px;
    width: auto;
}
html[data-theme="dark"] .about-signature { filter: invert(1); }

/* ── Public form ─────────────────────────────────────────────── */
.form-notice {
    border-left: 3px solid var(--c-accent);
    padding: 10px 14px;
    margin-top: 16px;
    font-size: 0.95rem;
    color: var(--c-muted);
    background: var(--c-accent-light);
    border-radius: 0 6px 6px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.form-intro {
    font-size: 0.95rem;
    color: var(--c-muted);
    line-height: 1.65;
    margin-bottom: 8px;
}
.form-public {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
.form-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.form-field label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--c-muted);
}
.form-field input,
.form-field select,
.form-field textarea {
    font-family: var(--font-sans);
    font-size: 1rem;
    padding: 12px 14px;
    border: 1px solid var(--c-border);
    border-radius: 8px;
    background: var(--c-surface);
    color: var(--c-text);
    min-height: 48px;
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
}
.form-field textarea { resize: vertical; min-height: 100px; }
.form-help { font-size: 0.85rem; color: var(--c-muted); margin: 0; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--c-accent);
    box-shadow: 0 0 0 3px var(--c-accent-light);
}
.form-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237a7068' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
    cursor: pointer;
}
.form-field.required label::after { content: ' *'; color: var(--c-accent); }
.form-field.has-error input,
.form-field.has-error select { border-color: #a04040; }
.form-honeypot { display: none; }
.form-submit { padding-top: 8px; }
.form-submit .btn-pill { width: 100%; text-align: center; }

/* ── Form states ─────────────────────────────────────────────── */
.msg-success {
    background: var(--c-accent-light);
    border: 1px solid var(--c-accent);
    border-radius: var(--r);
    padding: 28px 24px;
    color: var(--c-accent);
}
.msg-success h2 {
    font-family: var(--font-serif);
    font-weight: normal;
    font-size: 1.4rem;
    margin-bottom: 10px;
}
.msg-success p { opacity: 0.90; line-height: 1.65; }
.msg-error {
    background: #fdf0f0;
    border: 1px solid #d9b8b8;
    border-radius: 8px;
    padding: 14px 18px;
    color: #a04040;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

/* ── Submit spinner overlay ──────────────────────────────────── */
.submit-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(250,249,246,0.85);
    z-index: 200;
    align-items: center;
    justify-content: center;
}
.submit-overlay.active { display: flex; }
.spinner {
    width: 36px; height: 36px;
    border: 3px solid var(--c-border);
    border-top-color: var(--c-accent);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── 640px ───────────────────────────────────────────────────── */
@media (min-width: 640px) {
    :root { --section-v: 88px; }

    .cv-list     { grid-template-columns: 1fr 1fr; gap: 2px 32px; }
    .usp-list    { flex-direction: row; gap: 32px; }
    .footer-inner { flex-direction: row; gap: 40px; }
    .footer-nav, .footer-social { flex: 1; }
    .form-row-2  { grid-template-columns: 1fr 1fr; }
    .form-submit .btn-pill { width: auto; }
    .about-layout { flex-direction: row; align-items: flex-start; }
    .about-portrait { width: 260px; }
}

/* ── 1024px ──────────────────────────────────────────────────── */
@media (min-width: 1024px) {
    :root { --section-v: 100px; }

    /* show full nav, hide hamburger */
    .nav-toggle { display: none; }
    .nav-links {
        display: flex !important;
        flex-direction: row;
        position: static;
        background: none;
        border: none;
        padding: 0;
        gap: 28px;
        align-items: center;

        /* reset mobile animation + shadow */
        max-height: none;
        overflow: visible;
        opacity: 1;
        pointer-events: auto;
        transition: none;
        box-shadow: none;
    }
    .nav-links li {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .nav-links a:not(.btn-pill):not(.nav-lang-toggle) {
        font-size: 0.88rem;
        padding: 0;
        border: none;
        display: inline;
    }
    .nav-lang {
        margin-top: 0;
        padding-top: 0;
        border-top: none;
    }
    .nav-links .btn-pill { margin-top: 0; }

    /* steps side by side */
    .steps { flex-direction: row; gap: 16px; }
    .step  { flex: 1; flex-direction: column; }
}

/* ── Dark mode ───────────────────────────────────────────────── */
.color-me { fill: var(--c-bg, white); }


html[data-theme="dark"] .hero-bg {
    background-image: url('../img/marymade-home-dark.jpg');
}

html[data-theme="dark"] {
    --c-bg:           #1a1a18;
    --c-surface:      #242422;
    --c-border:       #3a3832;
    --c-text:         #edeae4;
    --c-muted:        #9a9288;
    --c-accent:       #3d7a4a;
    --c-accent-hover: #4d8f5a;
    --c-accent-light: #132410;
    --c-ph:           #2a2824;
}

/* hero card — dark background, light text */
html[data-theme="dark"] .hero-card {
    background: rgba(26, 26, 24, 0.88);
}
html[data-theme="dark"] .hero-headline { color: #edeae4; }
html[data-theme="dark"] .hero-sub      { color: #9a9288; }
html[data-theme="dark"] .hero-by       { color: #9a9288; }
html[data-theme="dark"] .hero-stars    { color: #edeae4; }
html[data-theme="dark"] .hero-creds    { color: #edeae4; }
html[data-theme="dark"] .hero-sig      { filter: invert(1) brightness(0.85); }

/* buttons — primary needs white text on green; ghost needs visible border */
html[data-theme="dark"] .btn-primary { color: #fff; }
html[data-theme="dark"] .btn-ghost   { border-color: rgba(237,234,228,0.25); color: var(--c-text); }

/* nav lang — too bright */
html[data-theme="dark"] .nav-lang-toggle { color: var(--c-muted); }

/* ── Theme toggle ────────────────────────────────────────────── */
.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--c-muted);
    padding: 4px;
    display: flex;
    align-items: center;
    line-height: 1;
    flex-shrink: 0;
}
.theme-toggle:hover { color: var(--c-text); }
.theme-toggle svg { display: block; width: 17px; height: 17px; }
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }
html[data-theme="dark"] .theme-toggle .icon-sun  { display: block; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
html[data-theme="dark"] svg[aria-label="MaryMade"] { opacity: 0.90; }
