/* Contact page: styles scoped to contact.html only */

/* Shared page reset and typography */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.contact-page {
    --contact-primary: #244A63;
    --contact-deep: #203F56;
    --contact-pale: #E6F0F2;
    --contact-off-white: #FAFAF7;
    --contact-ivory: #F5F1E8;
    --contact-linen: #F2F0E9;
    --contact-ink: var(--contact-deep);
    --contact-muted: #52616a;
    --contact-line: rgba(32, 63, 86, .16);
    --contact-hero-text: #FAFAF7;
    min-height: 100vh;
    color: var(--contact-ink);
    background: var(--contact-linen);
}

.contact-header {
    position: relative;
    z-index: 10;
    min-height: 74px;
    padding: 0 clamp(24px, 4.8vw, 76px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border-bottom: 1px solid var(--contact-line);
    background: var(--contact-off-white);
}

.contact-header-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.contact-brand {
    color: var(--contact-primary);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: .15em;
    text-decoration: none;
    white-space: nowrap;
}

.contact-nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(15px, 2.1vw, 32px);
}

.contact-nav-links a {
    position: relative;
    padding: 28px 0 24px;
    border-bottom: 2px solid transparent;
    color: var(--contact-primary);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0;
    text-decoration: none;
    white-space: nowrap;
}

.contact-nav-links a:hover,
.contact-nav-links a[aria-current="page"] {
    border-bottom-color: var(--contact-primary);
    color: var(--contact-deep);
}

 .contact-brand:focus-visible,
.contact-nav-links a:focus-visible,
.contact-footer a:focus-visible {
    outline: 2px solid var(--contact-pale);
    outline-offset: 4px;
}

.contact-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(42px, 5vw, 62px) clamp(24px, 4.8vw, 76px);
    color: var(--contact-hero-text);
    background: var(--contact-deep);
}

.contact-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: none;
    margin: 0 auto;
}

.contact-eyebrow,
.contact-section-label {
    margin: 0 0 18px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .2em;
    line-height: 1.5;
    text-transform: uppercase;
}

.contact-eyebrow {
    color: rgba(250, 250, 247, .78);
}

.contact-hero h1 {
    max-width: 1050px;
    margin: 0;
    /*color: var(--left-text);*/
    color: var(--contact-hero-text);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(44px, 5.4vw, 76px);
    font-weight: 600;
    letter-spacing: -.025em;
    line-height: .98;
}

.contact-hero-copy {
    max-width: 760px;
    margin: 18px 0 0;
    color: rgba(250, 250, 247, .92);
    font-size: clamp(15px, 1.5vw, 21px);
    line-height: 1.55;
}

.contact-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
    gap: clamp(36px, 6vw, 84px);
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: clamp(40px, 4.2vw, 54px) clamp(24px, 4.8vw, 76px);
}

.contact-email-section,
.contact-details-section {
    min-width: 0;
}

.contact-section-label {
    margin-bottom: 10px;
    color: var(--contact-primary);
    font-size: 9px;
    letter-spacing: .17em;
}

.contact-email-section h2,
.contact-details-section h2 {
    margin: 0 0 10px;
    color: var(--contact-primary);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(34px, 4vw, 46px);
    font-weight: 600;
    letter-spacing: -.015em;
    line-height: 1.05;
}

.contact-section-intro {
    max-width: 48ch;
    margin: 0 0 26px;
    color: #414b50;
    font-size: 13px;
    line-height: 1.8;
}

.contact-email-cta {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-top: 4px;
    color: var(--contact-primary);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: color 180ms ease, transform 180ms ease;
}
.contact-email-cta svg {
    width: 36px;
    height: 36px;
    color: var(--contact-primary);
    flex: 0 0 auto;
}
.contact-email-cta:hover {
    color: var(--contact-primary);
    transform: translateX(3px);
}
.contact-email-arrow {
    color: var(--contact-primary);
    font-size: 19px;
}
.contact-desk-illustration {
    width: 100%;
    max-width: 590px;
    margin: 36px 0 0;
}
.contact-desk-illustration svg {
    display: block;
    width: 100%;
    height: auto;
}
.illustration-line {
    fill: none;
    stroke: var(--contact-primary);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.illustration-wash {
    stroke: none;
}
.illustration-wash-warm {
    fill: rgba(245, 241, 232, .9);
}
.illustration-wash-blue {
    fill: rgba(230, 240, 242, .95);
}

.contact-form-field {
    display: grid;
    gap: 7px;
}

.contact-form-field label {
    color: var(--contact-primary);
    font-size: 12px;
    font-weight: 600;
}

.contact-form-field label span {
    color: #9b6a35;
}

.contact-form-field input,
.contact-form-field textarea {
    width: 100%;
    min-width: 0;
    border: 1px solid var(--contact-line);
    border-radius: 2px;
    padding: 12px 13px;
    color: var(--contact-ink);
    background: var(--contact-linen);
    font: inherit;
    font-size: 13px;
    line-height: 1.5;
    transition: border-color 180ms ease, background-color 180ms ease;
}

.contact-form-field textarea {
    min-height: 132px;
    resize: vertical;
}

.contact-form-field input:focus,
.contact-form-field textarea:focus {
    border-color: var(--contact-primary);
    outline: 2px solid rgba(230, 240, 242, .8);
    background: var(--contact-off-white);
}

.contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 48px;
    margin-top: 2px;
    border: 1px solid var(--contact-primary);
    border-radius: 2px;
    padding: 12px 18px;
    color: var(--contact-hero-text);
    background: var(--contact-primary);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.contact-submit:hover {
    color: var(--contact-primary);
    background: transparent;
    transform: translateY(-1px);
}

.contact-form-note {
    margin: 0;
    color: #52616a;
    font-size: 11px;
    line-height: 1.6;
}

.contact-details-section {
    border-left: 1px solid var(--contact-line);
    padding-left: clamp(28px, 4vw, 54px);
}

.contact-details-section .contact-section-intro {
    margin-bottom: 22px;
}

.contact-links {
    display: grid;
}

.contact-link {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) 16px;
    align-items: center;
    gap: 13px;
    min-width: 0;
    padding: 9px 0;
    color: inherit;
    text-decoration: none;
    transition: color 180ms ease, padding 180ms ease;
}

.contact-link[href]:hover {
    padding-left: 4px;
    color: var(--contact-primary);
}
/*
.contact-link-icon {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    color: var(--contact-primary);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 24px;
    line-height: 1;
}*/


.contact-link-icon {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    color: var(--contact-primary);
    line-height: 1;
}

.contact-link-icon svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: currentColor;
}


.contact-link-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.contact-link-title {
    color: var(--contact-primary);
    font-size: 12px;
    font-weight: 600;
}

.contact-link-value {
    overflow-wrap: anywhere;
    color: #414b50;
    font-size: 12px;
    line-height: 1.5;
}

.contact-link-arrow {
    justify-self: end;
    color: var(--contact-primary);
    font-size: 15px;
    opacity: 0;
    transition: opacity 180ms ease, transform 180ms ease;
}

.contact-link[href]:hover .contact-link-arrow {
    opacity: 1;
    transform: translate(2px, -2px);
}

.contact-link-pending .contact-link-value {
    /*color: var(--muted);*/
    color: var(--contact-muted);
    font-style: italic;
}

.contact-footer {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 12px clamp(24px, 4.8vw, 76px);
    border-top: 1px solid var(--contact-line);
    color: #52616a;
    /*background: var(--paper);*/
    background: var(--contact-off-white);
}

.contact-footer p {
    margin: 0;
    color: #52616a;
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.contact-footer a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--contact-deep);
    text-decoration: none;
    font: 500 15px "Cormorant Garamond", Georgia, serif;
}

.contact-footer a span {
    font: 20px/1 Inter, sans-serif;
}
.contact-footer a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

@media (max-width: 800px) {
    .contact-main {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .contact-details-section {
        border-top: 1px solid var(--contact-line);
        border-left: 0;
        padding: 36px 0 0;
    }
}

@media (max-width: 900px) {
    .contact-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        padding-top: 18px;
    }

    .contact-nav-links {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
        overflow-x: auto;
    }

    .contact-nav-links a {
        padding: 10px 0 13px;
        font-size: 10px;
    }
}

@media (max-width: 640px) {
    .contact-header {
        padding-right: 20px;
        padding-left: 20px;
    }

    .contact-brand {
        font-size: 19px;
    }

    .contact-nav-links {
        justify-content: space-between;
        gap: 10px;
    }

    .contact-nav-links a {
        font-size: 9px;
    }

    .contact-hero {
        padding: 46px 24px 42px;
    }

    .contact-desk-illustration {
        margin-top: 34px;
    }

    .contact-hero-inner {
        width: 100%;
        max-width: none;
        padding: 0;
    }

    .contact-hero h1 {
        font-size: clamp(42px, 11vw, 58px);
    }

    .contact-hero-copy {
        margin-top: 18px;
        font-size: 15px;
        line-height: 1.55;
    }

    .contact-main {
        padding: 42px 24px;
    }

    .contact-email-section h2,
    .contact-details-section h2 {
        font-size: 38px;
    }

    .contact-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        padding: 18px 24px;
    }
}



/* Mobile header and hero align with the Let's Collab responsive reference.
   Scoped to contact selectors and mobile widths only. */
@media (max-width: 900px) {
    .contact-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        padding: 18px clamp(24px, 4.8vw, 76px) 0;
    }
    .contact-header-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
    .contact-brand {
        font-size: 20px;
        letter-spacing: .15em;
    }
    .contact-nav-links {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }
    .contact-nav-links a {
        padding: 10px 0 13px;
        font-size: 10px;
    }
}
@media (max-width: 640px) {
    .contact-hero {
        padding: 46px clamp(24px, 4.8vw, 76px) 42px;
    }
    .contact-hero-inner {
        width: 100%;
        max-width: none;
        padding: 0;
    }
    .contact-hero h1 {
        font-size: clamp(42px, 11vw, 58px);
        line-height: .98;
    }
    .contact-hero-copy {
        margin-top: 18px;
        font-size: 15px;
        line-height: 1.55;
    }
}
@media (max-width: 380px) {
    .contact-brand { font-size: 17px; }
    .contact-nav-links { gap: 8px; }
    .contact-nav-links a { font-size: 9px; }
}
