/* =========================================================
   ABOUT
   ========================================================= */

.aboutContent {
    display: grid;
    grid-template-columns: 300px 1fr;
    align-items: center;

    gap: 55px;

    max-width: 950px;
    margin: auto;
}

.authorPhotoWrap {
    width: 300px;

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 6px;

    background: #0d120e;

    box-shadow: var(--shadow);
}

.authorPhoto {
    display: block;

    width: 100%;
    height: auto;

    object-fit: cover;
}

.authorBio {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.authorAmazonButton {
    margin-top: 5px;
}

.aboutContent p {
    margin-bottom: 20px;

    color: #ccc4b2;

    font-size: 1.08rem;
}


/* =========================================================
   CONTACT
   ========================================================= */

.contactSection {
    background:
        linear-gradient(
            rgba(10, 15, 11, 0.96),
            rgba(6, 9, 7, 0.98)
        );
}

.contactForm {
    max-width: 700px;
    margin: auto;
    padding: 35px;

    border: 1px solid var(--border);

    background: var(--bg-panel);
    box-shadow: var(--shadow);
}

.contactForm label {
    display: block;
    margin-bottom: 22px;

    color: var(--gold-light);

    font-size: 0.88rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contactForm input,
.contactForm textarea {
    width: 100%;

    margin-top: 8px;
    padding: 13px 14px;

    border: 1px solid rgba(201, 166, 91, 0.28);

    background: rgba(255, 255, 255, 0.035);
    color: var(--cream);

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.contactForm input:focus,
.contactForm textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 166, 91, 0.08);
}

.contactForm textarea {
    resize: vertical;
}

/* =================================================
   CONTACT FORM SPAM TRAP
   ================================================= */

.contactTrap {
    position: absolute;

    left: -10000px;
    top: auto;

    width: 1px;
    height: 1px;

    overflow: hidden;
}


/* =================================================
   CONTACT FORM STATUS
   ================================================= */

.contactFormStatus {
    margin: 15px 0 0;

    color: var(--cream);
}

.contactFormStatus.is-success {
    color: var(--gold-light);
}

.contactFormStatus.is-error {
    color: #e49b8c;
}


/* =========================================================
   MODAL
   ========================================================= */

.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 25px;

    overflow-y: auto;
    overscroll-behavior: contain;

    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(6px);
}

.modal.open {
    display: flex;
}

.modalContent {
    position: relative;

    width: min(650px, 100%);

    max-height: calc(100vh - 50px);
    max-height: calc(100dvh - 50px);

    overflow-y: auto;

    padding: 45px;

    border: 1px solid var(--border);

    background:
        linear-gradient(
            145deg,
            #1d281f,
            #0e140f
        );

    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}

.modalContent h2 {
    margin-bottom: 15px;

    color: var(--gold-light);
    font-size: 2rem;
}

.modalContent p {
    color: var(--muted);
}

.modalClose {
    position: absolute;
    right: 18px;
    top: 12px;

    border: 0;

    background: transparent;
    color: var(--cream);

    font-size: 2rem;
    cursor: pointer;
}

.modalClose:hover {
    color: var(--gold-light);
}


/* =========================================================
   FOOTER
   ========================================================= */

.siteFooter {
    padding: 32px 8%;

    border-top: 1px solid var(--border);

    background: #060906;
    color: #918b7e;

    text-align: center;
    font-size: 0.9rem;
}


