/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    height: 100%;
    background: #080604;
    color: #E8D9BB;
    font-family: 'Cormorant Garamond', Georgia, serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── Page ── */
.pp-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 46%, #181008 0%, #080604 62%);
}

/* ── Viewport frame ── */
.pp-page::before {
    content: '';
    position: fixed;
    inset: 20px;
    border: 1px solid rgba(244, 168, 39, 0.14);
    pointer-events: none;
    z-index: 100;
    animation: pp-fade 2.2s 0.8s ease both;
}

/* ── Content ── */
.pp-center {
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 2rem 3.5rem;
}

/* ── Animations ── */
@keyframes pp-rise {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes pp-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.pp-logo      { animation: pp-rise 1s 0.5s  cubic-bezier(.22,.61,.36,1) both; }
.pp-rule      { animation: pp-rise 1s 0.9s  cubic-bezier(.22,.61,.36,1) both; }
.pp-tagline   { animation: pp-rise 1s 1.05s cubic-bezier(.22,.61,.36,1) both; }
.pp-tagline-2 { animation: pp-rise 1s 1.2s  cubic-bezier(.22,.61,.36,1) both; }
.pp-footer    { animation: pp-rise 1s 1.4s  cubic-bezier(.22,.61,.36,1) both; }

/* ── Logo block ── */
.pp-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.1rem;
    margin-bottom: 2.6rem;
}

.pp-logo-seal {
    width: clamp(150px, 28vw, 220px);
    height: clamp(150px, 28vw, 220px);
    animation: pp-seal-glow 6s 3s ease-in-out infinite;
}

@keyframes pp-seal-glow {
    0%, 100% { filter: drop-shadow(0 0 0px  rgba(244, 168, 39, 0.0)); }
    50%       { filter: drop-shadow(0 0 26px rgba(244, 168, 39, 0.30)); }
}

.pp-logo-wordmark {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.9rem, 5.8vw, 3.8rem);
    font-weight: 400;
    letter-spacing: 0.2em;
    line-height: 1;
    color: #E8D9BB;
}

.pp-logo-accent { color: #F4A827; }

.pp-logo-sub {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.64rem;
    letter-spacing: 0.44em;
    text-transform: uppercase;
    color: #3E3525;
    margin-top: 0.15rem;
}

/* ── Ornamental rule ── */
.pp-rule {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: min(240px, 52vw);
    margin-bottom: 2rem;
}

.pp-rule::before {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(244, 168, 39, 0.45));
}

.pp-rule::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to left, transparent, rgba(244, 168, 39, 0.45));
}

.pp-gem {
    color: #F4A827;
    font-size: 0.5rem;
    opacity: 0.6;
    flex-shrink: 0;
}

/* ── Tagline ── */
.pp-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.2rem, 3.2vw, 1.75rem);
    font-weight: 300;
    font-style: italic;
    color: #A8936C;
    letter-spacing: 0.04em;
    line-height: 1.4;
    margin-bottom: 0.6rem;
}

.pp-tagline-2 {
    font-family: 'Cinzel', serif;
    font-size: clamp(0.75rem, 1.8vw, 1rem);
    font-weight: 400;
    letter-spacing: 0.38em;
    color: #F4A827;
    opacity: 0.7;
}

/* ── Footer ── */
.pp-footer {
    position: absolute;
    bottom: 2.2rem;
    font-size: 0.58rem;
    letter-spacing: 0.2em;
    color: #252018;
    text-transform: uppercase;
    z-index: 1;
}

/* ── Blazor error boundary ── */
.blazor-error-boundary {
    background: #120808;
    padding: 1rem;
    color: #F4A827;
}

.blazor-error-boundary::after {
    content: "An error has occurred.";
}
