.contact-page {
    background: #f5c063;
    color: #0a1628;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    max-width: 100vw;
    overflow-x: clip;
}

.contact-shell {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 5.25rem 2rem 3.5rem;
    box-sizing: border-box;
}

.contact-header {
    margin-bottom: clamp(2rem, 4vw, 3rem);
    max-width: 52rem;
}

.contact-title {
    font-family: "Saira Stencil One", sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.25rem);
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1.02;
    margin: 0 0 0.5rem;
    color: #0a1628;
    text-transform: uppercase;
}

.contact-lead {
    margin: 0;
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    font-weight: 500;
    line-height: 1.55;
    color: rgba(10, 22, 40, 0.82);
    max-width: 38rem;
}

.contact-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(1.5rem, 3vw, 2.75rem);
    align-items: start;
}

.contact-panel {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 1.25rem;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    box-shadow: 0 12px 40px rgba(10, 22, 40, 0.1);
    border: 1px solid rgba(10, 22, 40, 0.06);
}

.contact-panel-title {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(10, 22, 40, 0.5);
    margin: 0 0 1.35rem;
}

.contact-panel-title--small {
    margin-bottom: 0.85rem;
}

.contact-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.contact-form {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.contact-form-row {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.contact-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #0a1628;
}

.contact-optional {
    font-weight: 500;
    color: rgba(10, 22, 40, 0.45);
    font-size: 0.75rem;
}

.contact-input,
.contact-textarea {
    width: 100%;
    box-sizing: border-box;
    font: inherit;
    font-size: 1rem;
    font-weight: 500;
    color: #0a1628;
    background: #fff;
    border: 2px solid rgba(10, 22, 40, 0.12);
    border-radius: 0.55rem;
    padding: 0.75rem 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-textarea {
    resize: vertical;
    min-height: 8rem;
    line-height: 1.5;
}

.contact-input:focus,
.contact-textarea:focus {
    outline: none;
    border-color: #0a1628;
    box-shadow: 0 0 0 3px rgba(10, 22, 40, 0.08);
}

.contact-input::placeholder,
.contact-textarea::placeholder {
    color: rgba(10, 22, 40, 0.35);
}

.contact-submit {
    margin-top: 0.35rem;
    align-self: flex-start;
    cursor: pointer;
    border: none;
    border-radius: 999px;
    padding: 0.95rem 2.25rem;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: #0a1628;
    color: #f5c063;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.contact-submit:hover {
    background: #bcff00;
    color: #0a1628;
    transform: translateY(-2px);
}

.contact-alert {
    padding: 1rem 1.15rem;
    border-radius: 0.65rem;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.45;
    margin-bottom: 0.5rem;
}

.contact-alert--success {
    background: rgba(188, 255, 0, 0.35);
    color: #0a1628;
    border: 1px solid rgba(10, 22, 40, 0.12);
}

.contact-alert--error {
    background: rgba(220, 80, 60, 0.15);
    color: #3d1510;
    border: 1px solid rgba(180, 60, 40, 0.25);
}

.contact-alert--notice {
    background: rgba(10, 22, 40, 0.06);
    color: rgba(10, 22, 40, 0.75);
    border: 1px solid rgba(10, 22, 40, 0.12);
}

.contact-form-fieldset {
    border: none;
    margin: 0;
    padding: 0;
    min-width: 0;
}

.contact-form--disabled .contact-input,
.contact-form--disabled .contact-textarea {
    opacity: 0.65;
    cursor: not-allowed;
}

.contact-form--disabled .contact-submit {
    opacity: 0.5;
    cursor: not-allowed;
}

.contact-form--disabled .contact-submit:hover {
    background: #0a1628;
    color: #f5c063;
    transform: none;
}

.contact-aside {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-panel--card {
    padding: 1.35rem 1.5rem;
}

.contact-card-name {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 0 0.2rem;
    letter-spacing: -0.02em;
    color: #0a1628;
}

.contact-card-role {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(10, 22, 40, 0.45);
    margin: 0 0 1rem;
}

.contact-chip {
    display: block;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    font-size: 0.88rem;
    font-weight: 600;
    color: #0a1628;
    text-decoration: none;
    padding: 0.45rem 0.85rem;
    margin-bottom: 0.45rem;
    margin-right: 0.45rem;
    background: rgba(245, 192, 99, 0.45);
    border-radius: 0.4rem;
    border: 1px solid rgba(10, 22, 40, 0.08);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.contact-chip:hover {
    background: #f5c063;
    border-color: rgba(10, 22, 40, 0.2);
}

.contact-panel--address {
    padding: 1.35rem 1.5rem 1.5rem;
}

.contact-address-text {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.65;
    margin: 0 0 1rem;
    color: rgba(10, 22, 40, 0.88);
}

.contact-map-link {
    font-size: 0.82rem;
    font-weight: 700;
    color: #0a1628;
    text-decoration: none;
    border-bottom: 2px solid rgba(10, 22, 40, 0.25);
    padding-bottom: 0.1rem;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.contact-map-link:hover {
    color: #000;
    border-bottom-color: #0a1628;
}

.contact-main-grid--info-only {
    grid-template-columns: 1fr;
    max-width: 36rem;
    margin-inline: auto;
}

.contact-aside--full {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
}

.contact-page footer {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .contact-main-grid {
        grid-template-columns: 1fr !important;
    }

    .contact-shell {
        margin-top: 85px !important;
        padding: 5rem 1.25rem 2.5rem !important;
    }
}
