/*
 * Release 1.7G.1Q.1D.6B.3 — 2026-11-23 17:06:06 PT
 * Desktop Hero follows native 1672:941 artwork ratio.
 * Remove previous 800px minimum-height ceiling.
 * Reset aspect ratio at existing 900px breakpoint.
 * Preserve tablet/mobile sizing and image positioning.
 * Preserve Section 2 spacing and all other page rules.
 * No PHP, shared CSS or submission contract changes.
 */

/*
 * AlexanderKaine.com — WEB-3.7 Contact Page
 * Release 1.7G.1Q.1D.1 — Isolated staging visual reconciliation
 * Updated: 2026-11-23 PT
 *
 * Change notes:
 * - Reuse the frozen destination 1320px container and responsive gutter variables.
 * - Preserve the approved cinematic hero image with a lighter, text-focused overlay.
 * - Compose the message introduction and existing form into one bordered workspace.
 * - Left-align the exploration introduction and widen the three-card composition.
 * - Preserve existing field, consent, disabled-button, focus and reduced-motion contracts.
 * Release 1.7G.1Q.1D.3B — 2026-11-23 15:47:42 PT
 * - Add responsive name/email identity grid.
 * - Preserve all other page-owned visual rules.
 * Scope: page-owned CSS only; no shared styles, PHP, submission, or deployment changes.
 */

.ak-contact-page {
    --ak-contact-bg: #111315;
    --ak-contact-panel: #1b1d1e;
    --ak-contact-gold: #c9a775;
    --ak-contact-text: #f0ece5;
    --ak-contact-muted: #c4beb5;
    --ak-contact-line: rgba(201, 167, 117, .22);
    background: var(--ak-contact-bg);
    color: var(--ak-contact-text);
}

.ak-contact-page .ak-contact-container {
    width: min(calc(100% - (2 * var(--ak-d-gutter))), var(--ak-d-container-wide));
    margin-inline: auto;
}

.ak-contact-page .ak-contact-eyebrow {
    margin: 0 0 22px;
    color: var(--ak-contact-gold);
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.ak-contact-page h1,
.ak-contact-page h2,
.ak-contact-page h3 {
    color: var(--ak-contact-text);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
}

.ak-contact-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: 600px;
    aspect-ratio: 1672 / 941;
    overflow: hidden;
    background: #151413;
}

.ak-contact-hero__image {
    position: absolute;
    z-index: -2;
    inset: 0;
    background-image:
        linear-gradient(90deg,
            rgba(10, 11, 12, .68) 0%,
            rgba(10, 11, 12, .38) 38%,
            rgba(10, 11, 12, .04) 76%),
        url("../../images/contact/contact-hero-unsent-letter.png");
    background-position: center, center;
    background-size: cover, cover;
    background-repeat: no-repeat;
}

.ak-contact-hero__content {
    position: relative;
    padding-block: clamp(110px, 11vw, 170px);
}

.ak-contact-hero h1 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(3rem, 5.4vw, 5.8rem);
    line-height: 1.08;
    letter-spacing: -.035em;
    text-wrap: balance;
    text-shadow: 0 2px 20px rgba(0, 0, 0, .3);
}

.ak-contact-hero__intro {
    max-width: 610px;
    margin: 30px 0 0;
    color: #eee7de;
    font-size: clamp(1rem, 1.35vw, 1.16rem);
    line-height: 1.85;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .4);
}

.ak-contact-message {
    padding-block: clamp(76px, 9vw, 132px);
}

.ak-contact-message__grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: clamp(36px, 5vw, 84px);
    align-items: start;
    padding: clamp(32px, 5vw, 76px);
    border: 1px solid var(--ak-contact-line);
    background: var(--ak-contact-panel);
    box-sizing: border-box;
}

.ak-contact-message__intro h2,
.ak-contact-explore__heading h2 {
    margin: 0 0 28px;
    font-size: clamp(2.7rem, 4vw, 4.4rem);
    line-height: 1.14;
    text-wrap: balance;
}

.ak-contact-message__intro p:not(.ak-contact-eyebrow),
.ak-contact-explore__heading > p:not(.ak-contact-eyebrow) {
    color: var(--ak-contact-muted);
    line-height: 1.9;
    font-size: 1.05rem;
}

.ak-contact-form-panel {
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.ak-contact-form h3 {
    margin: 0 0 12px;
    font-size: 2rem;
}

.ak-contact-form__note,
.ak-contact-form__inactive {
    color: var(--ak-contact-muted);
    font-size: .88rem;
    line-height: 1.6;
}

.ak-contact-form__identity {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 22px;
}

.ak-contact-form__field {
    margin-top: 26px;
}

.ak-contact-form__field label,
.ak-contact-form__categories legend {
    display: block;
    margin-bottom: 11px;
    color: var(--ak-contact-text);
    font-size: .92rem;
}

.ak-contact-form__field label span,
.ak-contact-form__categories legend span {
    color: var(--ak-contact-gold);
}

.ak-contact-form__field input,
.ak-contact-form__field textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    border: 1px solid rgba(240, 236, 229, .22);
    border-radius: 2px;
    background: #111315;
    color: var(--ak-contact-text);
    font: inherit;
    line-height: 1.5;
}

.ak-contact-form__field textarea {
    min-height: 170px;
    resize: vertical;
}

.ak-contact-form__categories {
    margin: 28px 0 0;
    padding: 0;
    border: 0;
}

.ak-contact-form__categories label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 14px;
    color: var(--ak-contact-muted);
    font-size: .93rem;
    line-height: 1.5;
}

.ak-contact-form__categories input,
.ak-contact-form__consent input {
    margin-top: 4px;
    accent-color: var(--ak-contact-gold);
}

.ak-contact-form__consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 26px;
    color: var(--ak-contact-muted);
    font-size: .87rem;
    line-height: 1.65;
}

.ak-contact-form__submit {
    width: 100%;
    margin-top: 28px;
    padding: 17px 24px;
    border: 1px solid var(--ak-contact-gold);
    background: var(--ak-contact-gold);
    color: #171717;
    font: inherit;
    font-weight: 700;
    letter-spacing: .04em;
}

.ak-contact-form__submit:disabled {
    cursor: not-allowed;
    opacity: .55;
}

.ak-contact-page :is(a, input, textarea, button):focus-visible {
    outline: 3px solid #f0cb8d;
    outline-offset: 4px;
}

.ak-contact-explore {
    padding-block: clamp(80px, 9vw, 140px);
    border-top: 1px solid var(--ak-contact-line);
    background: #17191a;
}

.ak-contact-explore__heading {
    max-width: 880px;
    margin: 0 0 clamp(36px, 5vw, 64px);
    text-align: left;
}

.ak-contact-explore__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 2vw, 30px);
}

.ak-contact-card {
    display: block;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--ak-contact-line);
    background: #202122;
    color: var(--ak-contact-text);
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease;
}

.ak-contact-card:hover {
    transform: translateY(-4px);
    border-color: var(--ak-contact-gold);
}

.ak-contact-card__image {
    display: block;
    aspect-ratio: 1.48;
    background-color: #282522;
    background-position: center;
    background-size: cover;
}

.ak-contact-card__image--book {
    background-image: url("../../images/contact/contact-card-eighth-order.png");
}

.ak-contact-card__image--cooper {
    background-image: url("../../images/contact/contact-card-jack-cooper.png");
}

.ak-contact-card__image--story {
    background-image: url("../../images/contact/contact-card-behind-story.png");
}

.ak-contact-card__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: clamp(22px, 2.2vw, 32px);
}

.ak-contact-card__body strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.48rem;
    font-weight: 400;
}

.ak-contact-card__body > span {
    color: var(--ak-contact-gold);
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .ak-contact-hero {
        min-height: 620px;
        aspect-ratio: auto;
    }

    .ak-contact-hero__image {
        background-position: center, 58% center;
    }

    .ak-contact-message__grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .ak-contact-explore__grid {
        gap: 16px;
    }

    .ak-contact-card__body {
        padding: 21px;
    }
}

@media (max-width: 640px) {
    .ak-contact-form__identity {
        grid-template-columns: 1fr;
    }

    .ak-contact-hero {
        min-height: 580px;
        align-items: flex-end;
    }

    .ak-contact-hero__image {
        background-image:
            linear-gradient(0deg,
                rgba(10, 11, 12, .84) 0%,
                rgba(10, 11, 12, .4) 48%,
                rgba(10, 11, 12, .08) 100%),
            url("../../images/contact/contact-hero-unsent-letter.png");
        background-position: center, 62% center;
        background-size: cover, cover;
    }

    .ak-contact-hero__content {
        padding-block: 100px 58px;
    }

    .ak-contact-hero h1 {
        font-size: clamp(2.55rem, 10vw, 3.8rem);
    }

    .ak-contact-message__grid {
        padding: 28px 20px;
        gap: 36px;
    }

    .ak-contact-explore__grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ak-contact-card {
        transition: none;
    }

    .ak-contact-card:hover {
        transform: none;
    }
}


/* WEB-3.8 Release 6.4C — scoped editorial accents; existing compositions retained. */
.ak-contact-page .ak-contact-message__intro > .ak-contact-eyebrow,
.ak-contact-page .ak-contact-explore__heading > .ak-contact-eyebrow {
  display: inline-flex; align-items: center; gap: 18px; max-width: 100%;
}
.ak-contact-page .ak-contact-message__intro > .ak-contact-eyebrow::after,
.ak-contact-page .ak-contact-explore__heading > .ak-contact-eyebrow::after {
  content: ""; display: block; flex: 0 1 64px; min-width: 20px; height: 2px; background: var(--ak-contact-gold);
}
@media (forced-colors: active) {
.ak-contact-page .ak-contact-message__intro > .ak-contact-eyebrow::after,
.ak-contact-page .ak-contact-explore__heading > .ak-contact-eyebrow::after {
  background: CanvasText; forced-color-adjust: none;
}
}
@media print {
.ak-contact-page .ak-contact-message__intro > .ak-contact-eyebrow::after,
.ak-contact-page .ak-contact-explore__heading > .ak-contact-eyebrow::after {
  background: #555;
}
}


/*
 * WEB-3.8 Release 7.0C.5B.4C
 * 2026-11-29 PT
 * Dedicated Contact success and validation states.
 * Existing shared header scroll-padding contract retained.
 */

.ak-contact-page .ak-contact-success {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 20px;
    min-width: 0;
    padding: clamp(24px, 4vw, 52px);
    border: 1px solid var(--ak-contact-gold);
    background: var(--ak-contact-bg);
    text-align: center;
    overflow-wrap: anywhere;
    scroll-margin-top: 16px;
    box-sizing: border-box;
}

.ak-contact-page .ak-contact-success:focus-visible {
    outline: 3px solid #f0cb8d;
    outline-offset: 4px;
}

.ak-contact-page .ak-contact-success__icon {
    display: block;
    width: 72px;
    height: 72px;
    color: var(--ak-contact-gold);
}

.ak-contact-page .ak-contact-success__eyebrow {
    margin: 0;
    color: var(--ak-contact-gold);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.ak-contact-page .ak-contact-success__rule {
    width: 64px;
    height: 2px;
    background: var(--ak-contact-gold);
}

.ak-contact-page .ak-contact-success__message {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.ak-contact-page .ak-contact-success__message h3 {
    margin: 0;
    font-size: clamp(1.85rem, 3vw, 2.8rem);
    line-height: 1.2;
    text-wrap: balance;
}

.ak-contact-page .ak-contact-success__message p {
    margin: 0;
    color: var(--ak-contact-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.ak-contact-page .ak-contact-success__actions {
    display: grid;
    justify-items: center;
    gap: 12px;
    width: 100%;
    margin-top: 8px;
}

.ak-contact-page .ak-contact-success__actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    max-width: 100%;
    padding: 12px 20px;
    box-sizing: border-box;
    text-align: center;
    line-height: 1.5;
    font-weight: 600;
}

.ak-contact-page .ak-contact-success__primary {
    border: 1px solid var(--ak-contact-gold);
    background: var(--ak-contact-gold);
    color: #171717;
    text-decoration: none;
}

.ak-contact-page .ak-contact-success__primary:hover {
    background: var(--ak-contact-text);
    color: #171717;
}

.ak-contact-page .ak-contact-success__secondary {
    color: var(--ak-contact-gold);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.ak-contact-page .ak-contact-success__secondary:hover {
    color: var(--ak-contact-text);
}

.ak-contact-page .ak-contact-form__notice {
    margin: 20px 0;
    padding: 16px 18px;
    border: 1px solid #e8a69b;
    border-inline-start-width: 3px;
    background: #30201e;
    color: #ffe0d9;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.ak-contact-page .ak-contact-form__error {
    display: block;
    margin-top: 8px;
    color: #ffb9ac;
    font-size: .88rem;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.ak-contact-page .ak-contact-form [aria-invalid="true"] {
    border-color: #e8a69b;
}

@media (max-width: 600px) {
    .ak-contact-page .ak-contact-success {
        gap: 16px;
        padding: 24px 16px;
    }

    .ak-contact-page .ak-contact-success__actions a {
        width: 100%;
        padding-inline: 12px;
    }
}

@media (forced-colors: active) {
    .ak-contact-page .ak-contact-success,
    .ak-contact-page .ak-contact-success__primary,
    .ak-contact-page .ak-contact-form__notice {
        border-color: CanvasText;
    }

    .ak-contact-page .ak-contact-success__rule {
        background: CanvasText;
        forced-color-adjust: none;
    }

    .ak-contact-page .ak-contact-form__error {
        color: CanvasText;
    }

    .ak-contact-page .ak-contact-success:focus-visible {
        outline-color: Highlight;
    }
}

@media print {
    .ak-contact-page .ak-contact-success,
    .ak-contact-page .ak-contact-success__message p,
    .ak-contact-page .ak-contact-success__message h3,
    .ak-contact-page .ak-contact-success__eyebrow,
    .ak-contact-page .ak-contact-success__icon {
        background: #fff;
        color: #000;
    }

    .ak-contact-page .ak-contact-success {
        border-color: #555;
        break-inside: avoid;
    }

    .ak-contact-page .ak-contact-success__actions {
        display: none;
    }
}
