/* ===================================================================
   Design tokens — single source of truth
   =================================================================== */
:root {
    /* Brand palette (terracotta) — matches ClientProfile Accent #b5745a */
    --primary: #b5745a;
    --primary-hover: #9c5e46;
    --primary-light: #d49a82;
    --primary-dark: #2b2b2b;
    --accent: #b5745a;
    --accent-hover: #9c5e46;
    /* Neutrals */
    --heading-color: #2b2b2b;
    --bg-light: #fafafa;
    --bg-white: #fff;
    --text-main: #222;
    --text-secondary: #444;
    --text-muted: #666;
    /* Effects */
    --shadow: 0 4px 24px rgba(0,0,0,0.07);
    --shadow-hover: 0 6px 24px rgba(0,0,0,0.13);
    --radius: 12px;
    --radius-lg: 16px;
    --transition: 0.2s;
    /* Layout system */
    --content-max: 1150px; /* single source of truth for page width */
    --gutter: 1.5rem; /* horizontal page padding */
    --section-gap: 4rem; /* vertical rhythm between sections */
    /* Fonts */
    /* Fonts (system stacks — no external requests) */
    --font-main: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-serif: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-script: 'Segoe Script', 'Brush Script MT', cursive;
}

/* ===================================================================
   Base
   =================================================================== */
html, body {
    font-family: var(--font-main);
    background: var(--bg-light);
    color: var(--text-main);
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-main);
    font-family: var(--font-main);
    font-weight: 700;
    margin-bottom: 1rem;
}

a, .about-link {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition);
    font-weight: 600;
}

    a:hover, .about-link:hover {
        color: var(--accent-hover);
        text-decoration: underline;
    }

h1:focus {
    outline: none;
}

.content {
    padding-top: 1.1rem;
}

img {
    max-width: 100%;
}

/* ===================================================================
   Framework defaults (used by Blazor / EditForm validation — keep)
   =================================================================== */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus,
.form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpeDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI26My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTEuNDE2IDI5MSA9NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTcuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDg2IDY2LjAxODMsIDI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTcuNTA6IDkyLjI4MzcgMjYxLjA4MSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred.";
    }

/* ===================================================================
   Buttons — unified, identical style for ALL buttons/CTAs
   =================================================================== */

/* Shared base: shape, sizing, weight, transitions */
.btn,
.btn-primary,
.btn-brand-lg,
.cta-btn,
.cta-btn-primary,
.cta-btn-secondary {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color var(--transition), color var(--transition),
                border-color var(--transition), box-shadow var(--transition),
                transform 0.15s ease;
}

/* Shared hover lift */
.btn:hover,
.cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-hover);
    text-decoration: none;
}

/* PRIMARY (filled brand terracotta) */
.btn-primary,
.btn-brand-lg,
.cta-btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

    .btn-primary:hover, .btn-primary:focus, .btn-primary:active,
    .btn-brand-lg:hover,
    .cta-btn-primary:hover {
        background: var(--primary-hover);
        border-color: var(--primary-hover);
        color: #fff;
    }

/* SECONDARY (neutral) */
.btn-secondary,
.btn-outline-secondary,
.cta-btn-secondary {
    background: #f1f3f5;
    color: var(--text-secondary);
    border-color: #ced4da;
    backdrop-filter: none;
}

    .btn-secondary:hover,
    .btn-outline-secondary:hover,
    .cta-btn-secondary:hover {
        background: #e9ecef;
        border-color: var(--primary);
        color: var(--primary);
    }

/* Disabled state */
.btn:disabled, .btn.disabled,
.cta-btn:disabled, .cta-btn.disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ===================================================================
   Forms
   =================================================================== */
.form-label {
    font-weight: 500;
    color: var(--text-secondary);
}

.form-control,
input:not([type=checkbox]):not([type=radio]),
textarea {
    margin-bottom: 0.7rem;
    padding: 0.6rem 1rem;
    box-sizing: border-box;
}

    input:not([type=checkbox]):not([type=radio]):focus,
    textarea:focus {
        outline: none;
        border-color: var(--accent);
        box-shadow: 0 0 0 2px rgba(176, 141, 87, 0.15);
    }

    /* Native HTML5 validation (e.g. type=email) turns the border red after interaction. */
    input:not([type=checkbox]):not([type=radio]):user-invalid,
    textarea:user-invalid {
        border-color: #e50000;
    }

        input:not([type=checkbox]):not([type=radio]):user-invalid:focus,
        textarea:user-invalid:focus {
            border-color: #e50000;
            box-shadow: 0 0 0 2px rgba(229, 0, 0, 0.15);
        }

.alert {
    font-size: 1.1rem;
    border-radius: 8px;
    margin-top: 1.5rem;
}

/* ===================================================================
   Cards / shared containers
   =================================================================== */
.card, .about-section, .contact-container, .gallery-container {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 2.5rem 2rem;
    margin: 0 auto 2.5rem auto;
    max-width: 1200px;
}

/* Minimal padding for admin cards only */
.admin-uploads .card {
    padding: 0.75rem 1rem;
}

.admin-uploads .card-header,
.admin-uploads .card-body {
    padding: 0.5rem 0.75rem;
}

/* ===================================================================
   Pricing page
   =================================================================== */
.pricing-intro {
    text-align: center;
    max-width: 640px;
    margin-inline: auto;
}

.pricing-subtitle {
    text-align: center;
    margin-top: var(--section-gap);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--heading-color);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    max-width: 760px;
    margin-inline: auto;
}

.price-card {
    position: relative;
    background: var(--bg-white);
    border: 1px solid #eee;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem 1.75rem;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
}

.price-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.price-card.is-featured {
    border-color: var(--primary);
    box-shadow: 0 8px 28px rgba(176,141,87,0.18);
}

.price-card-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
}

.price-card-title {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.price-card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.price-card-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.4rem;
}

.price-now {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.price-year {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.price-card-prev {
    margin-top: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.addon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    max-width: 900px;
    margin-inline: auto;
}

.addon-card {
    background: var(--bg-white);
    border: 1px solid #eee;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem 1rem;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
}

.addon-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.addon-icon {
    font-size: 1.75rem;
    display: block;
    margin-bottom: 0.5rem;
}

.addon-name {
    font-weight: 700;
    color: var(--heading-color);
}

.addon-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
}

.addon-price {
    margin-top: 0.75rem;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
}

.pricing-travel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    max-width: 640px;
    margin: 2rem auto 0;
    padding: 1rem 1.25rem;
    background: var(--bg-light);
    border: 1px dashed var(--primary-light);
    border-radius: var(--radius);
    color: var(--text-secondary);
}

.pricing-cta {
    text-align: center;
    max-width: 640px;
    margin: 2rem auto 0;
}

.pricing-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    max-width: 640px;
    margin: 0.75rem auto 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}

    .pricing-disclaimer .addon-icon {
        margin-bottom: 0;
        font-size: 1.1rem;
        line-height: 1.4;
    }

.footnote-ref {
    color: var(--primary);
    font-weight: 700;
    margin-left: 0.1rem;
}

/* ===================================================================
   Checkboxes (global, brand-styled)
   =================================================================== */
input[type="checkbox"],
.form-check-input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 1.15rem;
    height: 1.15rem;
    margin: 0 0.15rem 0 0;
    padding: 0;
    vertical-align: middle;
    border: 2px solid #adb5bd;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    flex: 0 0 auto;
    position: relative;
    transition: background-color var(--transition), border-color var(--transition);
}

    input[type="checkbox"]:hover,
    .form-check-input[type="checkbox"]:hover {
        border-color: var(--primary);
    }

    input[type="checkbox"]:focus-visible,
    .form-check-input[type="checkbox"]:focus-visible {
        outline: none;
        box-shadow: 0 0 0 2px rgba(176, 141, 87, 0.25);
    }

    /* Checked: brand fill + white tick */
    input[type="checkbox"]:checked,
    .form-check-input[type="checkbox"]:checked {
        background: var(--primary);
        border-color: var(--primary);
    }

        input[type="checkbox"]:checked::after,
        .form-check-input[type="checkbox"]:checked::after {
            content: "";
            position: absolute;
            left: 4px;
            top: 1px;
            width: 4px;
            height: 8px;
            border: solid #fff;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
        }

    /* Disabled */
    input[type="checkbox"]:disabled,
    .form-check-input[type="checkbox"]:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

/* ===================================================================
   Horizontal NavMenu (public) — desktop-first, mobile overrides
   =================================================================== */

/* Container */
.nav-horizontal {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Links row — VISIBLE by default (desktop) */
.nav-horizontal .nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-left: auto;
}

.nav-horizontal .nav-link {
    color: #333;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
}
.nav-horizontal .nav-link:hover,
.nav-horizontal .nav-link.active {
    color: var(--primary);
}

/* Hamburger — hidden on desktop */
.navbar-toggle-horizontal {
    display: none;
    background: transparent;
    border: none;
    color: #333;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 0;
}


@media (max-width: 805px) {
    .nav-horizontal {
        position: relative;
    }

    /* Show the hamburger */
    .navbar-toggle-horizontal {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Collapse the links into a full-width dropdown */
    .nav-horizontal .nav {
        display: none;
        flex-direction: column;
        align-items: stretch;
        margin-left: 0;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid #eee;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
        padding: 0.5rem 0;
        z-index: 1040;
    }

    /* Reveal when toggled */
    .nav-horizontal.open .nav {
        display: flex;
    }

    .nav-horizontal .nav-item {
        width: 100%;
    }

    .nav-horizontal .nav-link {
        display: block;
        width: 100%;
        padding: 0.75rem 1.5rem;
        color: #333 !important;   /* beat any Bootstrap navbar text color */
    }
    .nav-horizontal .nav-link:hover,
    .nav-horizontal .nav-link.active {
        background: #f6f1e7;
        color: var(--primary) !important;
    }

    /* Remove inner container padding so the panel reaches the edges */
    .nav-horizontal .container-fluid {
        padding: 0;
        position: static;
    }
}

/* ===================================================================
   Hero (Home)
   =================================================================== */
.hero-section {
    position: relative;
    overflow: hidden;
    box-sizing: border-box; /* padding stays inside the width */
    width: 100%; /* never wider than its container */
    max-width: 1280px; /* cap on large screens */
    margin: 1.5rem auto; /* centered */
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    /* Width leads; height follows the 3:2 image ratio (no forced min-height) */
    aspect-ratio: 3 / 2;
    display: flex;
    align-items: flex-end; /* content sits at the bottom */
    justify-content: flex-start; /* ...left */
    padding: 3rem;
    /*max-width: 1024px;*/
    /* ...but never taller than the viewport (minus header + top/bottom margin) */
    /*max-height: calc(100dvh - 160px);*/
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
    pointer-events: none;
    background-color: var(--bg-light); /* was #000 — neutral letterbox fill */
    border-radius: inherit;
}

.hero-slide.is-active {
    opacity: 1;
}

/* Image replaces the old background-image */
.hero-slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;   /* was background-size: contain */
    object-position: center;
    user-select: none;
    -webkit-user-drag: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.02); /* very light darkening */
    pointer-events: none; /* overlay is decorative too */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    text-align: left;
}

.hero-title {
    color: #fff;
    font-size: 1.75rem;   /* matches the pre-carousel size in your screenshot */
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

/* Prevent long words (e.g. "Photography") from clipping on narrow screens */
.hero-title {
    overflow-wrap: break-word;
    hyphens: auto;
}

/* ===================================================================
   Features (Home)
   =================================================================== */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}

.feature-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .feature-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
    }

.feature-icon {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
}

.feature-card h3 {
    font-family: var(--font-serif);
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
    color: var(--heading-color);
}

.feature-card p {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

/* ===================================================================
   Gallery Preview (Home)
   =================================================================== */
.gallery-preview {
    max-width: 1200px;
    margin: 0 auto 4rem;
    padding: 0 1.5rem;
    text-align: center;
}

.gallery-preview-title {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 2rem;
    position: relative;
}

    .gallery-preview-title::after {
        content: "";
        display: block;
        width: 60px;
        height: 3px;
        background: var(--primary);
        margin: 0.75rem auto 0;
        border-radius: 2px;
    }

.gallery-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 1.25rem;
}

.gallery-preview-item {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.gallery-preview-img {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.4s ease;
    user-select: none;
}

    .gallery-preview-img:hover {
        transform: scale(1.05);
    }

.gallery-status {
    color: #777;
    font-size: 1.1rem;
    padding: 2rem 0;
}

.gallery-preview-cta {
    margin-top: 2.5rem;
}

.gallery-preview-link {
    text-align: center;
    margin-top: 0.5rem;
}

.gallery-preview-link a,
.hero-slide-link a {
    font-weight: 600;
    color: var(--primary);
}

/* ===================================================================
   About
   =================================================================== */
.about-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 2.5rem 1.5rem 2rem 1.5rem;
    margin-bottom: 2.5rem;
    gap: 2.5rem;
}

.about-photo {
    width: 220px;
    height: 220px;
    border-radius: var(--radius-lg);   /* soft square, not a circle */
    object-fit: contain;               /* show the whole logo, no cropping */
    padding: 1rem;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    border: 1px solid #eee;
    transition: box-shadow var(--transition);
}

    .about-photo:hover {
        box-shadow: 0 6px 24px rgba(0,0,0,0.18);
    }

.about-intro {
    max-width: 500px;
}

.about-name {
    font-family: var(--font-script);
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-light);
    letter-spacing: 1px;
}

.about-tagline {
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 1.2rem;
    font-weight: 500;
}

.about-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: var(--heading-color);
    letter-spacing: 0.5px;
}

.about-text {
    font-size: 1.13rem;
    color: var(--text-secondary);
    margin-bottom: 1.1rem;
    line-height: 1.7;
}

.about-section hr {
    margin: 2rem 0;
    border: none;
    border-top: 1.5px solid #eee;
}

.about-links {
    margin-top: 1.5rem;
}

.about-list {
    padding-left: 1.2rem;
    margin-bottom: 1.1rem;
}

    .about-list li {
        margin-bottom: 0.7rem;
        font-size: 1.13rem;
        color: var(--text-secondary);
    }

    /* Smaller screens: stack photo on top */
    @media (max-width: 768px) {
        .about-hero {
            flex-direction: column;
        }

        .about-photo {
            width: 180px;
            height: 180px;
        }

        .about-name {
            font-size: 1.8rem;
        }
    }

    /* Mobile: full-width sections */
    @media (max-width: 480px) {
        .about-hero,
        .about-section {
            padding-left: 1rem;
            padding-right: 1rem;
        }

        .about-text {
            font-size: 1rem;
        }
    }

/* ===================================================================
   Contact
   =================================================================== */
.contact-header, .about-header {
    text-align: center;
    margin-bottom: 2rem;
}

/* ===================================================================
   Gallery (full gallery page)
   =================================================================== */
.gallery-container {
    /* width/max-width/margin/padding now come from .page-container */
    background: #fafafa;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding-block: 2rem;   /* keep vertical padding inside the surface */
}

.gallery-title {
    font-family: var(--font-serif);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--heading-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    background: var(--bg-white);
    transition: transform var(--transition), box-shadow var(--transition);
}

    .gallery-item:hover {
        transform: scale(1.03);
        box-shadow: var(--shadow-hover);
    }

.gallery-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    transition: filter var(--transition);
    user-select: none;
    pointer-events: auto;
}

.gallery-item:hover .gallery-img {
    filter: brightness(0.92) contrast(1.08);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(34,34,34,0.65);
    color: #fff;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

/* ===================================================================
   Hero / Gallery pill CTAs (anchors styled as buttons)
   =================================================================== */
.cta-btn {
    display: inline-block;
    padding: 0.85rem 1.9rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 999px;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

    .cta-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
        text-decoration: none;
    }

.cta-btn-primary {
    background-color: var(--primary);
    color: #fff;
}

    .cta-btn-primary:hover {
        background-color: var(--primary-hover);
        color: #fff;
    }

.cta-btn-secondary {
    background-color: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
}

    .cta-btn-secondary:hover {
        background-color: rgba(255, 255, 255, 0.22);
        color: #fff;
    }
/* ===================================================================
   Responsive adjustments (About / Gallery)
   =================================================================== */
@media (max-width: 900px) {
    .about-hero, .card, .about-section, .contact-container, .gallery-container {
        padding: 1.5rem 0.5rem;
    }

    .about-name {
        font-size: 1.5rem;
    }

    .gallery-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 600px) {
    .about-hero {
        flex-direction: column;
        gap: 1.2rem;
    }

    .about-photo {
        width: 140px;
        height: 140px;
    }

    .gallery-img {
        height: 180px;
    }
}

.protected-img { position: relative; display: inline-block; }
.protected-img .img-shield {
    position: absolute;
    inset: 0;
    /* transparent layer intercepts right-click / drag / long-press */
}
.protected-img img {
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
}

.hero-section:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: -3px;
}

/* CTA row */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: -1rem;   /* was 3.25rem */
}

/* Prev/next arrows on the sides (out of the content flow) */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    line-height: 1;
    color: #fff;
    background: rgba(0, 0, 0, 0.35);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color var(--transition);
}

    .hero-nav:hover {
        background: rgba(0, 0, 0, 0.6);
    }

.hero-prev {
    left: 1rem;
}

.hero-next {
    right: 1rem;
}

/* Play + dots pinned to the bottom center, above content */
/* Carousel controls hidden for now */
.hero-controls {
    display: none !important; /* hiding the this for now */
    position: absolute;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.35rem 0.85rem;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 999px;
}

.hero-play {
    display: flex;
    display: none !important; /* hiding the this for now */
    align-items: center;
    justify-content: center;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0.15rem 0.35rem;
}

.hero-dots {
    display: flex;
    display: none !important; /* hiding the this for now */
    align-items: center;
    gap: 0.5rem;
}

.hero-dot {
    display: none !important; /* hiding the this for now */
    width: 0.7rem;
    height: 0.7rem;
    padding: 0;
    border-radius: 50%;
    border: 1px solid #fff;
    background: transparent;
    cursor: pointer;
    transition: background-color var(--transition);
}

    .hero-dot.is-active {
        background: #fff;
    }


/* Reusable floating panel used by nav dropdowns */
.dropdown-panel {
    background: var(--panel-bg);
    border: var(--panel-border);
    border-radius: var(--panel-radius);
    box-shadow: var(--panel-shadow);
    padding: 0.5rem 0;
    z-index: var(--panel-z);
}

.hero-nav {
      display: none;
  }

/* ===================================================================
   Prepare (checklist)
   =================================================================== */
.prepare {
    max-width: 900px;
    margin: 0 auto 4rem;
    padding: 0 1.5rem;
}

.prepare-header {
    text-align: center;
    margin: 2rem 0 2.5rem;
}

.prepare-intro {
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 640px;
    margin: 0 auto;
}

.prepare-list {
    list-style: none;
    counter-reset: prep;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1.25rem;
}

.prepare-item {
    counter-increment: prep;
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem 1.5rem 1.5rem 4rem;
    position: relative;
}

    .prepare-item::before {
        content: counter(prep);
        position: absolute;
        left: 1rem;
        top: 1.4rem;
        width: 2rem;
        height: 2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--primary);
        color: #fff;
        font-weight: 700;
        border-radius: 50%;
    }

    .prepare-item h2 {
        font-size: 1.15rem;
        color: var(--heading-color);
        margin: 0 0 0.5rem;
    }

    .prepare-item p {
        margin: 0;
        color: var(--text-secondary);
        line-height: 1.6;
    }

.prepare-note {
    text-align: center;
    font-style: italic;
    color: var(--text-muted);
    margin: 2rem 0;
}

.prepare-cta {
    text-align: center;
}

.contact-prepare-note {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* ============================================================
   Shared nav icon glyphs (used by both horizontal & vertical nav)
   Base .bi sizing/color lives in each nav's scoped CSS.
   Dark fill here; the vertical nav's brightness(0) filter recolors it.
   ============================================================ */
.bi-house-door-fill-nav-menu {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%232b2b2b' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%232b2b2b' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.bi-lock-nav-menu {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%232b2b2b' class='bi bi-lock' viewBox='0 0 16 16'%3E%3Cpath d='M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2zM5 8h6a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}

.bi-shield-lock-nav-menu {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%232b2b2b' class='bi bi-shield-lock' viewBox='0 0 16 16'%3E%3Cpath d='M5.338 1.59a61 61 0 0 0-2.837.856.48.48 0 0 0-.328.39c-.554 4.157.726 7.19 2.253 9.188a10.7 10.7 0 0 0 2.287 2.233c.346.244.652.42.893.533q.180.085.293.118a1 1 0 0 0 .101.025 1 1 0 0 0 .1-.025q.114-.034.294-.118c.24-.113.547-.29.893-.533a10.7 10.7 0 0 0 2.287-2.233c1.527-1.997 2.807-5.031 2.253-9.188a.48.48 0 0 0-.328-.39c-.651-.213-1.75-.56-2.837-.855C9.552 1.29 8.531 1.067 8 1.067c-.53 0-1.552.223-2.662.524zM5.072.56C6.157.265 7.31 0 8 0s1.843.265 2.928.56c1.11.3 2.229.655 2.887.87a1.54 1.54 0 0 1 1.044 1.262c.596 4.477-.787 7.795-2.465 9.99a11.8 11.8 0 0 1-2.517 2.453 7 7 0 0 1-1.048.625c-.28.132-.581.24-.829.24s-.548-.108-.829-.24a7 7 0 0 1-1.048-.625 11.8 11.8 0 0 1-2.517-2.453C1.42 11.234.036 7.916.632 3.44A1.54 1.54 0 0 1 1.678 2.18c.658-.214 1.777-.57 2.887-.87z'/%3E%3Cpath d='M9.5 6.5a1.5 1.5 0 0 1-1 1.415l.385 1.99a.5.5 0 0 1-.491.595h-.788a.5.5 0 0 1-.49-.595l.384-1.99a1.5 1.5 0 1 1 2.5-1.415z'/%3E%3C/svg%3E");
}

.bi-person-nav-menu {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%232b2b2b' class='bi bi-person' viewBox='0 0 16 16'%3E%3Cpath d='M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4Zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10Z'/%3E%3C/svg%3E");
}

.bi-person-badge-nav-menu {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%232b2b2b' class='bi bi-person-badge' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3zM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0z'/%3E%3Cpath d='M4.5 0A2.5 2.5 0 0 0 2 2.5V14a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2.5A2.5 2.5 0 0 0 11.5 0h-7zM3 2.5A1.5 1.5 0 0 1 4.5 1h7A1.5 1.5 0 0 1 13 2.5v10.795a4.2 4.2 0 0 0-.776-.492C11.392 12.387 10.063 12 8 12s-3.392.387-4.224.803a4.2 4.2 0 0 0-.776.492V2.5z'/%3E%3C/svg%3E");
}

.bi-person-fill-nav-menu {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%232b2b2b' class='bi bi-person-fill' viewBox='0 0 16 16'%3E%3Cpath d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3Zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E");
}

.bi-gear-nav-menu {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%232b2b2b' class='bi bi-gear-fill' viewBox='0 0 16 16'%3E%3Cpath d='M9.405 1.05c-.413-1.4-2.397-1.4-2.81 0l-.1.34a1.464 1.464 0 0 1-2.105.872l-.31-.17c-1.283-.698-2.686.705-1.987 1.987l.169.311c.446.82.023 1.841-.872 2.105l-.34.1c-1.4.413-1.4 2.397 0 2.81l.34.1a1.464 1.464 0 0 1 .872 2.105l-.17.31c-.698 1.283.705 2.686 1.987 1.987l.311-.169a1.464 1.464 0 0 1 2.105.872l.1.34c.413 1.4 2.397 1.4 2.81 0l.1-.34a1.464 1.464 0 0 1 2.105-.872l.31.17c1.283.698 2.686-.705 1.987-1.987l-.169-.311a1.464 1.464 0 0 1 .872-2.105l.34-.1c1.4-.413 1.4-2.397 0-2.81l-.34-.1a1.464 1.464 0 0 1-.872-2.105l.17-.31c.698-1.283-.705-2.686-1.987-1.987l-.311.169a1.464 1.464 0 0 1-2.105-.872l-.1-.34zM8 10.93a2.929 2.929 0 1 1 0-5.86 2.929 2.929 0 0 1 0 5.858z'/%3E%3C/svg%3E");
}

.bi-person-gear-nav-menu {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%232b2b2b' class='bi bi-person-gear' viewBox='0 0 16 16'%3E%3Cpath d='M11 5a3 3 0 1 1-6 0 3 3 0 0 1 6 0M8 7a2 2 0 1 0 0-4 2 2 0 0 0 0 4m.256 7a4.5 4.5 0 0 1-.229-1.004H3c.001-.246.154-.986.832-1.664C4.484 10.68 5.711 10 8 10q.39 0 .74.025c.226-.341.496-.65.804-.918Q8.844 9.002 8 9c-5 0-6 3-6 4s1 1 1 1zm3.63-4.54c.18-.613 1.048-.613 1.229 0l.043.148a.64.64 0 0 0 .921.382l.136-.074c.561-.306 1.175.308.87.869l-.075.136a.64.64 0 0 0 .382.92l.149.045c.612.18.612 1.048 0 1.229l-.15.043a.64.64 0 0 0-.38.921l.074.136c.305.561-.309 1.175-.87.87l-.136-.075a.64.64 0 0 0-.92.382l-.045.149c-.18.612-1.048.612-1.229 0l-.043-.15a.64.64 0 0 0-.921-.38l-.136.074c-.561.305-1.175-.309-.87-.87l.075-.136a.64.64 0 0 0-.382-.92l-.148-.045c-.613-.18-.613-1.048 0-1.229l.148-.043a.64.64 0 0 0 .382-.921l-.074-.136c-.306-.561.308-1.175.869-.87l.136.075a.64.64 0 0 0 .92-.382zM14 12.5a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0'/%3E%3C/svg%3E");
}

.bi-images-nav-menu {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%232b2b2b' class='bi bi-images' viewBox='0 0 16 16'%3E%3Cpath d='M4.502 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3'/%3E%3Cpath d='M14.002 13a2 2 0 0 1-2 2h-10a2 2 0 0 1-2-2V5A2 2 0 0 1 2 3a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v10zM14 2H4a1 1 0 0 0-1 1h9.002a2 2 0 0 1 2 2v7A1 1 0 0 0 15 12V3a1 1 0 0 0-1-1M2.002 4a1 1 0 0 0-1 1v8l2.646-2.354a.5.5 0 0 1 .63-.062l2.66 1.773 3.71-3.71a.5.5 0 0 1 .577-.094l1.777 1.947V5a1 1 0 0 0-1-1z'/%3E%3C/svg%3E");
}

/* ============================================================
   Collapsed sidebar rail — driven by the persistent <html> class
   ============================================================ */
@media (min-width: 641px) {
    html.sidebar-collapsed .sidebar {
        width: 64px;
        overflow: hidden;
    }

    html.sidebar-collapsed .sidebar .sidebar-header {
        justify-content: center;
        padding-left: 0;
        padding-right: 0;
    }

    html.sidebar-collapsed .sidebar .sidebar-header-label {
        display: none;
    }

    html.sidebar-collapsed .sidebar .sidebar-chevron {
        margin-left: 0.4rem;
        transform: rotate(-45deg);   /* points right = expand */
    }

    html.sidebar-collapsed .sidebar .nav-link {
        justify-content: center;
        gap: 0;
        font-size: 0;
        white-space: nowrap;
    }
}

.btn-xs {
    font-size: .72rem;
    padding: .15rem .45rem;
    line-height: 1.2;
}

/* --- Manage Images action icons (mask-based so they follow button color) --- */
.mi-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: currentColor;
    -webkit-mask: no-repeat center / contain;
    mask: no-repeat center / contain;
    vertical-align: -2px;
}

/* Edit (pencil) */
.mi-edit {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M12.146.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1 0 .708l-10 10a.5.5 0 0 1-.168.11l-5 2a.5.5 0 0 1-.65-.65l2-5a.5.5 0 0 1 .11-.168zM11.207 2.5 13.5 4.793 14.793 3.5 12.5 1.207zm1.586 3L10.5 3.207 4 9.707V10h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.293z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M12.146.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1 0 .708l-10 10a.5.5 0 0 1-.168.11l-5 2a.5.5 0 0 1-.65-.65l2-5a.5.5 0 0 1 .11-.168zM11.207 2.5 13.5 4.793 14.793 3.5 12.5 1.207zm1.586 3L10.5 3.207 4 9.707V10h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.293z'/%3E%3C/svg%3E");
}

/* Delete (trash) */
.mi-delete {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5m2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5m3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0z'/%3E%3Cpath d='M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4zM2.5 3h11V2h-11z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5m2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5m3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0z'/%3E%3Cpath d='M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4zM2.5 3h11V2h-11z'/%3E%3C/svg%3E");
}

/* Watermark – filled droplet (already watermarked) */
.mi-watermark {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 16a6 6 0 0 0 6-6c0-1.655-1.122-2.904-2.632-4.5C9.516 3.667 8.416 2.167 8 0 7.583 2.167 6.483 3.667 4.632 5.5 3.122 7.096 2 8.345 2 10a6 6 0 0 0 6 6'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 16a6 6 0 0 0 6-6c0-1.655-1.122-2.904-2.632-4.5C9.516 3.667 8.416 2.167 8 0 7.583 2.167 6.483 3.667 4.632 5.5 3.122 7.096 2 8.345 2 10a6 6 0 0 0 6 6'/%3E%3C/svg%3E");
}

/* Watermark – outline droplet (not yet watermarked) */
.mi-watermark-empty {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M7.21.8C7.69.295 8 0 8 0q.164.544.371 1.038c.812 1.946 2.073 3.35 3.197 4.6C12.878 7.096 14 8.345 14 10a6 6 0 0 1-12 0C2 6.668 5.58 2.517 7.21.8m.413 1.021A31 31 0 0 0 5.794 3.99c-.726.95-1.436 2.008-1.96 3.07C3.304 8.133 3 9.138 3 10a5 5 0 0 0 10 0c0-1.201-.796-2.157-2.181-3.7l-.03-.032C9.75 5.11 8.5 3.72 7.623 1.82z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M7.21.8C7.69.295 8 0 8 0q.164.544.371 1.038c.812 1.946 2.073 3.35 3.197 4.6C12.878 7.096 14 8.345 14 10a6 6 0 0 1-12 0C2 6.668 5.58 2.517 7.21.8m.413 1.021A31 31 0 0 0 5.794 3.99c-.726.95-1.436 2.008-1.96 3.07C3.304 8.133 3 9.138 3 10a5 5 0 0 0 10 0c0-1.201-.796-2.157-2.181-3.7l-.03-.032C9.75 5.11 8.5 3.72 7.623 1.82z'/%3E%3C/svg%3E");
}

/* Card action toolbar */
.card-actions {
    border-top: 1px solid #eee;
}

.card-actions-spacer {
    flex: 1 1 auto;      /* pushes edit/delete to the right */
    border-right: 1px solid #eee;
    align-self: stretch;
    margin: 0 0.25rem;
}

.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: #fff;
    color: var(--text-secondary);
    cursor: pointer;
    transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s;
}

.icon-btn:hover {
    background: #f6f1e7;
    border-color: var(--primary);
    color: var(--primary);
}

.icon-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.25);
}

.icon-btn:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.icon-btn-primary:hover { border-color: var(--primary); color: var(--primary); }
.icon-btn-warn { color: #b8860b; border-color: #e6c200; }        /* "needs watermark" */
.icon-btn-danger:hover { background: #fdecec; border-color: #dc3545; color: #dc3545; }

/* Reorder – arrow up */
.mi-arrow-up {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8 15a.5.5 0 0 0 .5-.5V2.707l3.146 3.147a.5.5 0 0 0 .708-.708l-4-4a.5.5 0 0 0-.708 0l-4 4a.5.5 0 0 0 .708.708L7.5 2.707V14.5a.5.5 0 0 0 .5.5'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8 15a.5.5 0 0 0 .5-.5V2.707l3.146 3.147a.5.5 0 0 0 .708-.708l-4-4a.5.5 0 0 0-.708 0l-4 4a.5.5 0 0 0 .708.708L7.5 2.707V14.5a.5.5 0 0 0 .5.5'/%3E%3C/svg%3E");
}

/* Reorder – arrow down */
.mi-arrow-down {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8 1a.5.5 0 0 1 .5.5v11.793l3.146-3.147a.5.5 0 0 1 .708.708l-4 4a.5.5 0 0 1-.708 0l-4-4a.5.5 0 0 1 .708-.708L7.5 13.293V1.5A.5.5 0 0 1 8 1'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8 1a.5.5 0 0 1 .5.5v11.793l3.146-3.147a.5.5 0 0 1 .708.708l-4 4a.5.5 0 0 1-.708 0l-4-4a.5.5 0 0 1 .708-.708L7.5 13.293V1.5A.5.5 0 0 1 8 1'/%3E%3C/svg%3E");
}

/* ===================================================================
   Layout primitives — use on EVERY page for consistency
   =================================================================== */

/* Centered, width-capped page container */
.page-container {
    width: 100%;
    max-width: var(--content-max);
    margin-inline: auto;
    padding-inline: var(--gutter);
    box-sizing: border-box;
}

/* Consistent vertical spacing between stacked sections */
.section {
    margin-block: var(--section-gap);
}

/* One heading style for all page/section titles */
.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 2.2vw, 1.75rem);  /* was clamp(1.6rem, 3vw, 2.25rem) */
    font-weight: 700;
    color: var(--heading-color);
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

/* Left-aligned variant (e.g., legal / long-form pages) */
.section-title--left {
    text-align: left;
}
.section-title--left::after {
    margin-inline: 0;
}

/* Unified surface/card */
.surface {
    background: var(--bg-white);
    border: 1px solid #eee;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem;
}

/* Consistent body copy */
.prose {
    color: var(--text-secondary);
    line-height: 1.7;
}
.prose p { margin: 0 0 1rem; }

.features,
.gallery-preview,
.prepare,
.legal { max-width: var(--content-max); }

.page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Let the main content area grow to fill leftover space,
   pushing the footer to the bottom on short pages. */
.page > .page-body {
    flex: 1 0 auto;
}

.page > footer {
    flex-shrink: 0;
}

/* ===================================================================
   Legal documents — formal, professional styling
   (applies to Privacy, Terms, Service Terms, Cookie Policy, Copyright)
   =================================================================== */
.legal {
    max-width: 820px;              /* comfortable reading measure */
    margin-inline: auto;
    color: var(--text-secondary);
    counter-reset: legal-section;  /* auto-number the sections */
}

/* Muted "Last updated" line with a divider under the title */
.legal .legal-updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: -0.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #eee;
}

/* Refined, auto-numbered section headings (smaller than the page title) */
.legal h3 {
    counter-increment: legal-section;
    font-family: var(--font-main);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--heading-color);
    margin: 2rem 0 0.6rem;
}
.legal h3::before {
    content: counter(legal-section) ". ";
    color: var(--primary);
    font-weight: 700;
}

/* Body copy rhythm */
.legal p {
    line-height: 1.7;
    margin: 0 0 1rem;
}

/* Let the section counter drive numbering; hide the <ol>'s native
   markers so ServiceTerms doesn't double-number. */
.legal ol.legal-list {
    list-style: none;
    padding-left: 0;
}
.legal ol.legal-list > li {
    margin-bottom: 1.5rem;
}

/* Nested detail bullets inside a section keep normal bullets */
.legal ul,
.legal ol.legal-list ul {
    list-style: disc;
    line-height: 1.7;
    padding-left: 1.25rem;
    margin: 0.4rem 0 1rem;
}
.legal li { margin-bottom: 0.4rem; }

/* On-brand links */
.legal a { color: var(--primary); }
.legal a:hover { color: var(--primary-hover); }



/* Mobile: scale the hero heading down so it no longer gets cut off */
@media (max-width: 562px) {
    /* Small screens: keep everything clear of the CTAs */
    .hero-section {
        padding: 1.5rem 1rem 2.5rem;
    }

    .hero-nav {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 1.4rem;
    }

    .hero-title {
        font-size: 1.00rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    /* Smaller, tighter CTA pills on phones */
    .cta-btn-hero {
        padding: 0.6rem 1.5rem;
        font-size: 0.8rem;
    }

    /* Let the hero buttons sit a bit closer together */
    .hero-actions {
        gap: 0.75rem;
    }
}

/* Mobile: scale the hero heading down so it no longer gets cut off */
@media (max-width: 400px) {
    /* Small screens: keep everything clear of the CTAs */

    /* Smaller, tighter CTA pills on phones */
    .cta-btn-hero {
        padding: 0.6rem 0.8rem;
        font-size: 0.7rem;
    }
}

@media (max-width: 300px) {
    /* Small screens: keep everything clear of the CTAs */

    /* Smaller, tighter CTA pills on phones */
    .cta-btn-hero {
        padding: 0.6rem 0.8rem;
        font-size: 0.5rem;
    }
}

.gallery-preview-media {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: inherit;
}