.faq-page,
.contact-page {
    overflow: clip;
    color: #111;
    background: #fff;
}

.faq-page h1,
.faq-page h2,
.contact-page h1,
.contact-page h2,
.contact-page h3 {
    margin-top: 0;
    font-family: var(--nyx-display);
    font-weight: 400;
}

.faq-kicker {
    margin: 0 0 1rem;
    color: #d8b900;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
}

.faq-hero,
.contact-hero {
    padding-block: clamp(9rem, 13vw, 12rem) clamp(5rem, 8vw, 8rem);
    color: #fff;
    background: radial-gradient(circle at 84% 22%, rgba(244, 217, 0, .2), transparent 26%), #050505;
}

.faq-hero-grid,
.contact-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, .65fr);
    align-items: end;
    gap: clamp(2.5rem, 8vw, 8rem);
}

.faq-hero h1,
.contact-hero h1 {
    margin: 0;
    font-size: clamp(4rem, 7vw, 7.8rem);
    line-height: .96;
}

.contact-hero h1 {
    font-size: clamp(2.2rem, 3vw, 3.15rem);
    line-height: 1;
}

.faq-hero h1 {
    font-size: clamp(2.2rem, 3vw, 3.15rem);
    line-height: 1;
}

.faq-hero h1 span,
.contact-hero h1 span {
    color: var(--nyx-yellow);
}

.faq-hero-copy,
.contact-hero-grid > div:last-child {
    display: grid;
    align-content: end;
    gap: 1.6rem;
    padding-bottom: .5rem;
}

.faq-hero-copy p,
.contact-hero-grid > div:last-child p {
    margin: 0;
    color: #d1d1d1;
    font-size: 1.15rem;
    line-height: 1.45;
}

.contact-hero-grid > div:last-child a:not(.home-button) {
    width: fit-content;
    color: var(--nyx-yellow);
    border-bottom: 1px solid currentColor;
    font-weight: 700;
    text-decoration: none;
}

.faq-directory {
    padding-block: clamp(4rem, 7vw, 7rem);
}

.faq-jump-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: clamp(4rem, 7vw, 7rem);
    border-block: 1px solid #aaa;
}

.faq-jump-links a {
    display: grid;
    min-height: 8rem;
    align-content: space-between;
    padding: 1.3rem;
    color: #111;
    border-right: 1px solid #aaa;
    font-weight: 700;
    text-decoration: none;
    transition: color 160ms ease, background 160ms ease;
}

.faq-jump-links a:last-child {
    border-right: 0;
}

.faq-jump-links a:hover,
.faq-jump-links a:focus-visible {
    color: #111;
    background: var(--nyx-yellow);
}

.faq-jump-links span {
    font-family: var(--nyx-display);
    font-size: 1.8rem;
    font-weight: 400;
}

.faq-group {
    display: grid;
    grid-template-columns: minmax(260px, .62fr) minmax(0, 1.38fr);
    gap: clamp(2.5rem, 7vw, 7rem);
    padding-block: clamp(3rem, 5vw, 5rem);
    border-top: 1px solid #aaa;
    scroll-margin-top: 7rem;
}

.faq-group > header {
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr);
    align-content: start;
    gap: 1rem;
}

.faq-group > header > span {
    color: #d8b900;
    font: 400 1.8rem/1 var(--nyx-display);
}

.faq-group h2 {
    margin-bottom: 1rem;
    font-size: clamp(2.2rem, 3vw, 3.15rem);
    line-height: 1;
}

.faq-group header p {
    max-width: 28rem;
    margin: 0;
    color: #666;
    line-height: 1.45;
}

.faq-list.editorial-faq {
    border-top: 5px solid var(--nyx-yellow);
}

.faq-list.editorial-faq details {
    border-color: #b9b9b9;
}

.faq-list.editorial-faq details[open] {
    background: #f5f5f2;
}

.faq-list.editorial-faq summary {
    padding: 1.35rem 3.5rem 1.35rem 1rem;
    color: #111;
    font-size: 1.08rem;
    line-height: 1.3;
}

.faq-list .faq-answer {
    padding: 0 1rem 1.4rem;
}

.faq-list.editorial-faq .faq-answer p {
    padding: 0;
    margin: 0 0 .8rem;
    color: #555;
    font-size: 1rem;
    line-height: 1.55;
}

.faq-list.editorial-faq .faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-contact-cta {
    padding-block: clamp(4.5rem, 8vw, 8rem);
    color: #fff;
    background: #050505;
}

.faq-contact-cta .section-shell,
.contact-help .section-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .75fr);
    align-items: end;
    gap: clamp(2.5rem, 8vw, 8rem);
}

.faq-contact-cta h2,
.contact-help h2 {
    margin: 0;
    font-size: clamp(2.2rem, 3vw, 3.15rem);
    line-height: 1;
}

.faq-contact-cta .section-shell > div:last-child,
.contact-help .section-shell > div:last-child {
    display: grid;
    gap: 1.5rem;
}

.faq-contact-cta p,
.contact-help p {
    margin: 0;
    line-height: 1.5;
}

.faq-contact-cta p {
    color: #ccc;
}

.faq-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
}

.contact-form-section {
    padding-block: clamp(4.5rem, 8vw, 8rem);
    background: #f1f1ef;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: minmax(280px, .65fr) minmax(0, 1.35fr);
    gap: clamp(3rem, 8vw, 8rem);
}

.contact-form-grid > header h2,
.contact-offices h2 {
    margin-bottom: 1rem;
    font-size: clamp(2.2rem, 3vw, 3.15rem);
    line-height: 1;
}

.contact-form-grid > header > p:not(.faq-kicker) {
    color: #5f5f5f;
    line-height: 1.5;
}

.contact-form-grid dl {
    margin: 2.5rem 0 0;
    border-top: 1px solid #aaa;
}

.contact-form-grid dl div {
    display: grid;
    gap: .3rem;
    padding-block: 1rem;
    border-bottom: 1px solid #aaa;
}

.contact-form-grid dt {
    font-size: .95rem;
    text-transform: uppercase;
}

.contact-form-grid dd {
    margin: 0;
    font-weight: 700;
}

.contact-form-grid dd a {
    color: #111;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
    padding: clamp(1.5rem, 3vw, 3rem);
    background: #fff;
    border-top: 5px solid var(--nyx-yellow);
}

.contact-form label {
    display: grid;
    gap: .5rem;
    min-width: 0;
    font-size: .95rem;
    font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    min-height: 3.6rem;
    padding: .85rem 1rem;
    color: #111;
    background: #fff;
    border: 1px solid #999;
    border-radius: 0;
    font: inherit;
    font-weight: 400;
}

.contact-form textarea {
    min-height: 12rem;
    resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #111;
    outline: 3px solid rgba(244, 217, 0, .55);
    outline-offset: 1px;
}

.contact-wide,
.contact-message {
    grid-column: 1 / -1;
}

.contact-submit {
    display: flex;
    justify-content: flex-end;
}

.contact-message {
    padding: .8rem 1rem;
    margin: 0;
    background: #eee;
}

.contact-message.is-success {
    background: #dcefdc;
}

.contact-message.is-danger {
    background: #f5d9d9;
}

.contact-honeypot {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.contact-recaptcha {
    min-height: 78px;
}

.contact-offices {
    padding-block: clamp(4.5rem, 8vw, 8rem);
    background: var(--nyx-yellow);
}

.contact-offices > .section-shell > header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .7fr);
    align-items: end;
    margin-bottom: clamp(2.5rem, 5vw, 5rem);
}

.contact-offices .faq-kicker {
    color: #111;
}

.contact-office-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-block: 1px solid #111;
}

.contact-office-grid article {
    display: grid;
    align-content: start;
    gap: 1rem;
    min-height: 28rem;
    padding: clamp(1.5rem, 3vw, 3rem);
    border-right: 1px solid #111;
}

.contact-office-grid article:last-child {
    border-right: 0;
}

.contact-office-grid article > span {
    font-weight: 700;
    text-transform: uppercase;
}

.contact-office-grid h3 {
    margin: 1rem 0 0;
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1;
}

.contact-office-grid p {
    max-width: 34rem;
    margin: 0;
    line-height: 1.55;
}

.contact-office-grid a {
    width: fit-content;
    padding-bottom: .3rem;
    margin-top: auto;
    color: #111;
    border-bottom: 1px solid #111;
    font-weight: 700;
    text-decoration: none;
}

.contact-help {
    padding-block: clamp(4.5rem, 8vw, 8rem);
}

.contact-help .faq-kicker {
    color: #d8b900;
}

@media (max-width: 900px) {
    .faq-hero-grid,
    .contact-hero-grid,
    .faq-group,
    .faq-contact-cta .section-shell,
    .contact-help .section-shell,
    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .faq-jump-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .faq-jump-links a:nth-child(2) {
        border-right: 0;
    }

    .faq-jump-links a:nth-child(-n+2) {
        border-bottom: 1px solid #aaa;
    }

    .contact-office-grid article {
        min-height: 25rem;
    }
}

@media (max-width: 640px) {
    .faq-hero,
    .contact-hero {
        padding-block: 7rem 4rem;
    }

    .faq-hero h1 {
        font-size: clamp(2.2rem, 10vw, 3.15rem);
    }

    .contact-hero h1 {
        font-size: clamp(2.2rem, 10vw, 3.15rem);
    }

    .faq-page h2,
    .contact-page h2 {
        font-size: clamp(1.9rem, 8vw, 2.6rem);
    }

    .faq-jump-links,
    .contact-form,
    .contact-office-grid {
        grid-template-columns: 1fr;
    }

    .faq-jump-links a,
    .faq-jump-links a:nth-child(2) {
        min-height: 6.5rem;
        border-right: 0;
        border-bottom: 1px solid #aaa;
    }

    .faq-jump-links a:last-child {
        border-bottom: 0;
    }

    .faq-group > header {
        grid-template-columns: 2.4rem minmax(0, 1fr);
    }

    .contact-office-grid article {
        min-height: 0;
        border-right: 0;
        border-bottom: 1px solid #111;
    }

    .contact-office-grid article:last-child {
        border-bottom: 0;
    }

    .contact-submit {
        justify-content: stretch;
    }

    .contact-submit .home-button {
        width: 100%;
    }
}
