/* =========================================================
   Ascot Graphics - Shared utility page CSS (prefix: au-)
   Used by: Privacy Policy, Successful Enquiry, 404
   ========================================================= */


/* =========================================================
   SECTION 1 - Shared banner hero
   Small chocolate gradient hero with pill nav clearance.
   Same visual language as Contact / BFD title areas.
   Used by all three utility pages.
   ========================================================= */

.au-hero {
    position: relative;
    padding: clamp(9rem, 15vw, 12rem) 0 clamp(2.5rem, 5vw, 3.5rem);
    background:
        linear-gradient(180deg, var(--charcoal) 0%, #4A3529 100%);
    overflow: hidden;
    isolation: isolate;
    text-align: center;
}
.au-hero::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 280px;
    height: 280px;
    background: var(--brand);
    border-radius: 50%;
    opacity: 0.12;
    z-index: 0;
}
.au-hero__inner {
    position: relative;
    z-index: 1;
}
.au-hero__eyebrow {
    display: block;
    color: var(--brand);
    margin-bottom: 0.85rem;
}
.au-hero__title {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 500;
    margin: 0 0 1.25rem;
}
.au-hero__title::after {
    content: "";
    display: block;
    width: 68px;
    height: 4px;
    background: var(--brand);
    margin: 1.25rem auto 0;
    border-radius: 2px;
}
.au-hero__lead {
    color: var(--on-charcoal);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 62ch;
    margin: 0 auto;
}


/* =========================================================
   SECTION 2 - Prose content
   Long-form readable text with proper hierarchy, spacing,
   and inline element styling. Used by Privacy Policy.
   ========================================================= */

.au-prose {
    padding-block: clamp(3rem, 6vw, 4.5rem);
}
.au-prose__inner {
    max-width: 760px;
    margin: 0 auto;
}
.au-prose h2 {
    font-size: clamp(1.35rem, 2.2vw, 1.65rem);
    letter-spacing: -0.01em;
    margin: 2.5rem 0 0.85rem;
    color: var(--charcoal);
    position: relative;
    padding-top: 1.5rem;
    border-top: 0.5px solid var(--grey-line);
}
.au-prose h2:first-of-type {
    border-top: 0;
    padding-top: 0;
    margin-top: 0;
}
.au-prose h3 {
    font-size: 1.1rem;
    margin: 1.5rem 0 0.5rem;
    color: var(--charcoal);
    font-weight: 500;
}
.au-prose p,
.au-prose li {
    color: var(--muted);
    line-height: 1.7;
    font-size: 1rem;
}
.au-prose p {
    margin: 0 0 1rem;
}
.au-prose ul,
.au-prose ol {
    margin: 0 0 1.25rem;
    padding-left: 1.35rem;
}
.au-prose ul li,
.au-prose ol li {
    margin-bottom: 0.4rem;
}
.au-prose ul li::marker {
    color: var(--brand);
}
.au-prose a {
    color: var(--charcoal);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    transition: color 0.2s var(--ease);
}
.au-prose a:hover {
    color: var(--brand);
}
.au-prose strong {
    color: var(--charcoal);
    font-weight: 500;
}
.au-prose__meta {
    padding: 1rem 1.25rem;
    background: var(--tint);
    border-radius: var(--radius);
    font-size: 0.92rem;
    color: var(--muted);
    margin-bottom: 2.5rem;
}
.au-prose__meta strong {
    color: var(--charcoal);
}


/* =========================================================
   SECTION 3 - Successful enquiry page
   Centred confirmation card with tick icon, next-steps copy,
   and CTAs back to home / to Our Work.
   ========================================================= */

.au-success {
    padding-block: clamp(3rem, 6vw, 4.5rem);
}
.au-success__card {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    padding: clamp(2rem, 5vw, 3.5rem);
    background: var(--white);
    border: 0.5px solid var(--grey-line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.au-success__icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--brand);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}
.au-success__card h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin: 0 0 1rem;
    letter-spacing: -0.015em;
    color: var(--charcoal);
}
.au-success__card p {
    color: var(--muted);
    line-height: 1.65;
    margin: 0 0 1rem;
    font-size: 1.05rem;
}
.au-success__nextsteps {
    text-align: left;
    background: var(--tint);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
}
.au-success__nextsteps h3 {
    font-family: var(--font-head);
    font-size: 0.9rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand);
    margin: 0 0 0.75rem;
    font-weight: 500;
}
.au-success__nextsteps ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.au-success__nextsteps li {
    color: var(--charcoal);
    font-size: 0.95rem;
    line-height: 1.5;
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
}
.au-success__nextsteps li i {
    color: var(--brand);
    margin-top: 0.35rem;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.au-success__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
    margin-top: 1.5rem;
}


/* =========================================================
   SECTION 4 - 404 page
   Big number, friendly message, options to key pages.
   ========================================================= */

.au-error {
    padding-block: clamp(3rem, 6vw, 4.5rem);
}
.au-error__inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.au-error__number {
    font-family: var(--font-head);
    font-size: clamp(4.5rem, 11vw, 7.5rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--brand);
    margin: 0 0 0.5rem;
    text-shadow: 0 4px 20px rgba(227, 30, 36, 0.15);
}
.au-error__title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    margin: 0 0 1rem;
    letter-spacing: -0.015em;
    color: var(--charcoal);
}
.au-error__lead {
    color: var(--muted);
    line-height: 1.65;
    font-size: 1.05rem;
    margin: 0 0 2.5rem;
}
.au-error__options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 640px;
    margin: 0 auto 2.5rem;
}
.au-error__option {
    background: var(--white);
    border: 0.5px solid var(--grey-line);
    border-radius: var(--radius);
    padding: 1.5rem 1.25rem;
    text-decoration: none;
    color: var(--charcoal);
    transition: all 0.25s var(--ease);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-sm);
}
.au-error__option:hover {
    transform: translateY(-3px);
    border-color: var(--brand);
    box-shadow: var(--shadow-md);
}
.au-error__option i {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--brand);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.au-error__option span {
    font-weight: 500;
    font-size: 0.95rem;
}
.au-error__actions {
    display: flex;
    justify-content: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}


/* =========================================================
   SECTION 5 - Responsive
   ========================================================= */

@media (max-width: 900px) {
    .au-hero {
        padding-top: clamp(7rem, 14vw, 9rem);
    }
    .au-error__options {
        grid-template-columns: 1fr;
        max-width: 340px;
    }
    .au-error__option {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
    }
}

@media (max-width: 640px) {
    .au-success__actions .btn,
    .au-error__actions .btn {
        width: 100%;
    }
}
