/*
    Holding page — the public page a Webfix domain shows before its website goes live,
    and on parked / registration-only domains. Rendered by Views/Holding/Index.cshtml.

    Standalone on purpose: this page loads no template CSS and no webfix.css, because it must
    render for a client who has no template chosen yet. The client's colours arrive as
    --holding-primary / --holding-secondary, set inline by the view.
*/

.holding-body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: #1f2937;
    /* A whisper of the client's own colour, so the page feels theirs rather than generic. */
    background:
        radial-gradient(1200px 600px at 50% -10%, color-mix(in srgb, var(--holding-primary) 12%, transparent), transparent),
        #f8fafc;
}

.holding-card {
    width: 100%;
    max-width: 32rem;
    text-align: center;
    background: #fff;
    border-radius: 1rem;
    padding: 3rem 2rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 12px 32px rgba(15, 23, 42, .08);
    /* The brand colour appears as a deliberate accent, never as a full-bleed background:
       we cannot know whether it is readable behind text. */
    border-top: 4px solid var(--holding-primary);
}

.holding-logo {
    max-width: 180px;
    max-height: 80px;
    width: auto;
    height: auto;
    margin-bottom: 1.75rem;
}

/* Fallback when the client has no logo yet. */
.holding-wordmark {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: .02em;
    color: var(--holding-primary);
    margin-bottom: 1.75rem;
}

.holding-title {
    margin: 0 0 .75rem;
    font-size: 1.75rem;
    line-height: 1.25;
    font-weight: 650;
}

.holding-intro {
    margin: 0;
    color: #4b5563;
    line-height: 1.6;
}

.holding-contact {
    margin-top: 2.25rem;
    padding-top: 1.75rem;
    border-top: 1px solid #e5e7eb;
}

.holding-contact-label {
    display: block;
    font-size: .8125rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #9ca3af;
    margin-bottom: .75rem;
}

.holding-contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.5rem;
    justify-content: center;
}

.holding-contact-links a {
    color: var(--holding-primary);
    text-decoration: none;
    font-weight: 550;
}

.holding-contact-links a:hover,
.holding-contact-links a:focus-visible {
    text-decoration: underline;
}

.holding-footer {
    margin-top: 2rem;
    font-size: .8125rem;
    color: #9ca3af;
}

@media (max-width: 480px) {
    .holding-card { padding: 2.25rem 1.25rem; }
    .holding-title { font-size: 1.5rem; }
}

/* Visitors browsing in dark mode get a dark page; the brand accent carries over unchanged. */
@media (prefers-color-scheme: dark) {
    .holding-body {
        color: #e5e7eb;
        background:
            radial-gradient(1200px 600px at 50% -10%, color-mix(in srgb, var(--holding-primary) 22%, transparent), transparent),
            #0b1220;
    }

    .holding-card {
        background: #111827;
        box-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .45);
    }

    .holding-intro { color: #9ca3af; }
    .holding-contact { border-top-color: #1f2937; }
}

/* Respect a reduced-motion preference: nothing animates here, but keep the promise explicit
   for anything added later. */
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
}
