:root {
    --bg-body: #f4f4ec;
    --bg-card: #fcf4ec;
    --border: #ececec;
    --heading: #2b2b2b;
    --text: #3a3a3a;
    --accent: #c3b463;
    --accent-hover: #d0c171;
    --accent-dark: #b4a551;
    --shadow: 0 10px 30px rgba(43, 43, 43, 0.06);
    --radius-xl: 32px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-body);
    color: var(--text);
    font-family: Georgia, 'Times New Roman', serif;
    padding: 40px 20px;
    gap: 40px;
}

/* ── Logo ────────────────────────────────────────────────── */
.logo img {
    display: block;
    width: min(260px, 60vw);
    height: auto;
    margin: 0 auto;
}

/* ── Main card ───────────────────────────────────────────── */
.card {
    width: min(640px, 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--bg-card);
    box-shadow: var(--shadow);
    padding: 40px 36px;
    text-align: center;
}

.label {
    display: inline-block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 18px;
}

.card h1 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    color: var(--heading);
    line-height: 1.2;
    margin-bottom: 16px;
}

.card p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text);
    max-width: 480px;
    margin: 0 auto;
}

/* ── Divider ─────────────────────────────────────────────── */
.divider {
    width: 48px;
    height: 1px;
    background: var(--accent);
    margin: 28px auto;
    opacity: 0.5;
}

/* ── Instagram CTA ───────────────────────────────────────── */
.instagram-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    padding: 13px 24px;
    border: 1px solid var(--accent-dark);
    border-radius: 999px;
    background: var(--accent-hover);
    color: var(--heading);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.instagram-cta:hover {
    background: #ddce7f;
    transform: translateY(-2px);
}

.instagram-cta svg {
    width: 18px;
    height: 18px;
    fill: var(--heading);
    flex-shrink: 0;
}

.instagram-handle {
    display: block;
    margin-top: 14px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.85rem;
    color: var(--accent);
    letter-spacing: 0.05em;
}

/* ── Footer note ─────────────────────────────────────────── */
.footer-note {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.8rem;
    color: var(--accent);
    opacity: 0.7;
    letter-spacing: 0.05em;
}

@media (max-width: 480px) {
    .card {
        padding: 28px 20px;
    }
}

/* ── 404 page (maintenance/404.php) ───────────────────────────── */

.container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

.not-found-main {
    width: 100%;
}

.not-found-section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 48px 0;
}

.not-found-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 28px;
}

.not-found-number {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    user-select: none;
}

.nf-4 {
    font-size: clamp(4.5rem, 14vw, 10rem);
    font-weight: 800;
    color: var(--heading);
    letter-spacing: -0.04em;
    opacity: 0.14;
}

.nf-bloom {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 -10px;
    animation: nf-spin 28s linear infinite;
}

.nf-bloom svg {
    width: clamp(90px, 18vw, 150px);
    height: clamp(90px, 18vw, 150px);
    filter: drop-shadow(0 8px 24px rgba(195, 180, 99, 0.28));
}

@keyframes nf-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.not-found-body {
    width: min(640px, 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--bg-card);
    box-shadow: var(--shadow);
    padding: 40px 36px;
}

.not-found-title {
    margin: 0 0 16px;
    color: var(--heading);
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    line-height: 1.2;
}

.not-found-copy {
    margin: 0;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text);
}

.button-row.not-found-actions {
    display: flex;
    justify-content: center;
    margin-top: 22px;
}

.button-row.not-found-actions .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 24px;
    border: 1px solid var(--accent-dark);
    border-radius: 999px;
    background: var(--accent-hover);
    color: var(--heading);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.button-row.not-found-actions .button:hover {
    background: #ddce7f;
    transform: translateY(-2px);
}

@media (max-width: 480px) {
    .not-found-body {
        padding: 28px 20px;
    }
}