/**
 * Auria — Brand Templates
 * Shared CSS for standalone full-page layouts: 404, Coming Soon.
 * Depends on: tokens.css
 */

.auria-brand-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(2rem, 5vw, 4rem);
    background: linear-gradient(165deg, var(--color-primary) 0%, var(--color-primary-light) 45%, var(--color-primary-deep) 100%);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

/* Subtle pattern overlay */
.auria-brand-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(201, 163, 46, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(201, 163, 46, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.auria-brand-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 34rem;
    text-align: center;
}

/* Logo */
.auria-brand-card .custom-logo-link {
    display: inline-block;
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
    line-height: 0;
}

.auria-brand-card .custom-logo-link img,
.auria-brand-card img.custom-logo {
    max-height: 5rem;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.auria-brand-text-logo {
    display: inline-block;
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
    font-family: var(--font-secondary, Georgia, serif);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--color-white, #fff);
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: color var(--transition-fast, 150ms ease);
}

.auria-brand-text-logo:hover { color: var(--color-secondary, #C9A32E); }

/* Gold rule */
.auria-brand-rule {
    display: block;
    width: 3.5rem;
    height: 3px;
    background: linear-gradient(90deg, #C9A32E, #d4b13f);
    border-radius: 9999px;
    margin: 1.5rem auto;
}

/* 404 large code */
.auria-brand-code {
    display: block;
    font-family: var(--font-secondary, Georgia, serif);
    font-size: clamp(5rem, 18vw, 9rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.04em;
    background: linear-gradient(180deg, #d4b13f 0%, #C9A32E 60%, rgba(201,163,46,0.5) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.25rem;
}

.auria-brand-eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-secondary, #C9A32E);
    margin-bottom: 0.5rem;
}

.auria-brand-heading {
    font-family: var(--font-secondary, Georgia, serif);
    font-size: clamp(1.75rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 0 1rem;
}

.auria-brand-lead {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 2rem;
}

/* Search form */
.auria-brand-search {
    width: 100%;
    max-width: 22rem;
    margin: 0 auto 1.5rem;
}

.auria-brand-search .search-form {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.auria-brand-search .search-field {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0.65rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.375rem;
    color: #ffffff;
    font-size: 1rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    width: auto;
}

.auria-brand-search .search-field::placeholder { color: rgba(255, 255, 255, 0.4); }

.auria-brand-search .search-field:focus {
    outline: none;
    border-color: #C9A32E;
    box-shadow: 0 0 0 3px rgba(201, 163, 46, 0.2);
}

.auria-brand-search .search-submit {
    flex-shrink: 0;
    padding: 0.65rem 1.25rem;
    background: linear-gradient(135deg, #C9A32E 0%, #d4b13f 100%);
    color: #121B42;
    border: none;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    transition: filter 0.15s ease;
}

.auria-brand-search .search-submit:hover { filter: brightness(1.08); }

/* Actions */
.auria-brand-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.auria-brand-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.375rem;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    cursor: pointer;
}

.auria-brand-btn--primary {
    background: linear-gradient(135deg, #C9A32E 0%, #d4b13f 100%);
    color: #121B42;
    box-shadow: 0 4px 16px rgba(201, 163, 46, 0.35);
}

.auria-brand-btn--primary:hover {
    filter: brightness(1.06);
    box-shadow: 0 6px 22px rgba(201, 163, 46, 0.5);
    color: #121B42;
}

.auria-brand-btn--ghost {
    background: transparent;
    border-color: rgba(201, 163, 46, 0.55);
    color: rgba(255, 255, 255, 0.88);
}

.auria-brand-btn--ghost:hover {
    border-color: #C9A32E;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}
