

.theme-contact-main {
    --theme-contact-accent-primary: var(--theme-accent-primary);
    --theme-contact-accent-primary-soft: var(--theme-accent-primary-soft);
    --theme-contact-accent-highlight: var(--theme-accent-highlight);
    --theme-contact-accent-highlight-soft: var(--theme-accent-highlight-soft);
    --theme-contact-accent-secondary: var(--theme-accent-secondary);
    --theme-contact-accent-secondary-soft: var(--theme-accent-secondary-soft);
    min-height: 100vh;
    color: var(--theme-text-soft);
    background: radial-gradient(circle at 10% 10%,rgb(var(--theme-accent-primary-rgb) / .045),transparent 28rem),radial-gradient(circle at 90% 12%,rgb(var(--theme-accent-secondary-rgb) / .04),transparent 27rem),var(--theme-background);
}

.theme-contact-hero {
    position: relative;
    overflow: hidden;
    padding: 54px 0 46px;
    border-bottom: 1px solid rgb(var(--theme-accent-highlight-rgb) / .22);
    background: radial-gradient(ellipse at 50% 0,rgb(var(--theme-accent-primary-rgb) / .055),transparent 32rem),linear-gradient(180deg,var(--theme-section-4),var(--theme-section-2));
}

.theme-contact-hero::before {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(116deg,transparent 0 26%,rgb(var(--theme-accent-highlight-rgb) / .028) 26.15%,transparent 26.4% 72%,rgb(var(--theme-accent-secondary-rgb) / .018) 72.15%,transparent 72.4%);
    content: "";
}

.theme-contact-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-inline: 30px;
    text-align: center;
}

.theme-contact-hero-icon {
    width: 25px;
    height: 25px;
    margin-bottom: 11px;
    color: var(--theme-contact-accent-secondary);
}

.theme-contact-hero-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.theme-contact-hero h1 {
    margin: 0;
    color: var(--theme-contact-accent-secondary-soft);
    font-family: var(--theme-serif,Georgia,serif);
    font-size: clamp(42px,5vw,64px);
    font-weight: 400;
    line-height: 1.05;
}

.theme-contact-hero-line {
    position: relative;
    width: 132px;
    height: 1px;
    margin-top: 18px;
    background: linear-gradient(90deg,transparent,var(--theme-contact-accent-highlight),transparent);
}

.theme-contact-hero-line::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 7px;
    height: 7px;
    border: 1px solid var(--theme-contact-accent-highlight);
    background: var(--theme-section-2);
    transform: translate(-50%,-50%) rotate(45deg);
    content: "";
}

.theme-contact-hero p {
    margin: 16px 0 0;
    color: var(--theme-muted);
    font-size: 11px;
    letter-spacing: .07em;
}

.theme-contact-shell {
    display: grid;
    gap: 20px;
    max-width: 1040px;
    padding: 48px 30px 84px;
}

.theme-contact-intro,
.theme-contact-panel {
    border: 1px solid rgb(var(--theme-accent-highlight-rgb) / .3);
    border-radius: 12px;
    background: radial-gradient(circle at 100% 0,rgb(var(--theme-accent-secondary-rgb) / .025),transparent 22rem),rgb(var(--theme-section-3-rgb) / .78);
}

.theme-contact-intro {
    padding: 28px 30px;
}

.theme-contact-panel {
    padding: 32px 30px;
}

.theme-contact-section-heading {
    display: flex;
    align-items: center;
    gap: 13px;
}

.theme-contact-section-icon {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    color: var(--theme-contact-accent-secondary);
}

.theme-contact-section-icon--highlight {
    color: var(--theme-contact-accent-highlight);
}

.theme-contact-section-icon svg {
    width: 27px;
    height: 27px;
}

.theme-contact-kicker {
    margin: 0 0 4px;
    color: var(--theme-contact-accent-primary);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .15em;
}

.theme-contact-section-heading h2 {
    margin: 0;
    color: var(--theme-contact-accent-highlight-soft);
    font-family: var(--theme-serif,Georgia,serif);
    font-size: clamp(23px,3vw,30px);
    font-weight: 500;
}

.theme-contact-panel .theme-contact-section-heading h2 {
    color: var(--theme-contact-accent-secondary-soft);
}

.theme-contact-intro-copy {
    max-width: 760px;
    margin: 20px 0 0;
    color: var(--theme-muted);
    font-size: 13px;
    line-height: 1.9;
}

.theme-contact-notice {
    display: grid;
    grid-template-columns: 32px minmax(0,1fr);
    gap: 13px;
    margin-top: 24px;
    padding: 18px 20px;
    border: 1px solid rgb(var(--theme-accent-primary-rgb) / .28);
    border-radius: 8px;
    background: rgb(var(--theme-accent-primary-rgb) / .025);
}

.theme-contact-notice-icon {
    width: 28px;
    color: var(--theme-contact-accent-primary);
}

.theme-contact-notice-icon svg {
    display: block;
    width: 100%;
    height: auto;
}

.theme-contact-notice strong {
    color: var(--theme-contact-accent-primary-soft);
    font-family: var(--theme-serif,Georgia,serif);
    font-size: 15px;
}

.theme-contact-notice ul {
    margin: 10px 0 0;
    padding-left: 18px;
    color: var(--theme-muted);
    font-size: 11px;
    line-height: 1.8;
}

.theme-contact-notice li::marker {
    color: var(--theme-contact-accent-highlight);
}

.theme-contact-response {
    display: none;
    margin-top: 25px;
    padding: 14px 16px;
    border: 1px solid transparent;
    border-radius: 8px;
    outline: 0;
    font-size: 12px;
    line-height: 1.65;
}

.theme-contact-response.is-success,
.theme-contact-response.is-error {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.theme-contact-response.is-success {
    border-color: rgb(var(--theme-accent-primary-rgb) / .32);
    color: var(--theme-contact-accent-primary-soft);
    background: rgb(var(--theme-accent-primary-rgb) / .035);
}

.theme-contact-response.is-error {
    border-color: rgb(var(--theme-accent-secondary-rgb) / .34);
    color: var(--theme-text-dim);
    background: rgb(var(--theme-accent-secondary-rgb) / .04);
}

.theme-contact-response p {
    margin: 0;
}

.theme-contact-response-icon {
    display: grid;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 800;
}

.theme-contact-form {
    position: relative;
    display: grid;
    gap: 23px;
    margin-top: 28px;
}

.theme-contact-field {
    min-width: 0;
}

.theme-contact-field>label {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 9px;
    color: var(--theme-text-soft);
    font-size: 12px;
    font-weight: 600;
}

.theme-contact-field>label small {
    display: inline-flex;
    min-height: 19px;
    align-items: center;
    padding: 2px 6px;
    border: 1px solid rgb(var(--theme-accent-secondary-rgb) / .32);
    border-radius: 4px;
    color: var(--theme-contact-accent-secondary-soft);
    font-size: 8px;
    font-weight: 800;
}

.theme-contact-control {
    position: relative;
}

.theme-contact-control-icon {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 14px;
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
    color: var(--theme-contact-accent-primary);
    pointer-events: none;
    transform: translateY(-50%);
}

.theme-contact-control-icon--highlight {
    color: var(--theme-contact-accent-highlight);
}

.theme-contact-control-icon svg {
    width: 19px;
    height: 19px;
}

.theme-contact-form input,
.theme-contact-form select,
.theme-contact-form textarea {
    width: 100%;
    border: 1px solid rgb(var(--theme-accent-highlight-rgb) / .3);
    border-radius: 6px;
    color: var(--theme-text-soft);
    background: rgb(var(--theme-section-1-rgb) / .82);
    font: inherit;
    outline: 0;
    transition: border-color 160ms ease,box-shadow 160ms ease,background 160ms ease;
}

.theme-contact-form input {
    min-height: 50px;
    padding: 0 14px 0 45px;
}

.theme-contact-form select {
    min-height: 50px;
    padding: 0 46px 0 14px;
    appearance: none;
}

.theme-contact-form textarea {
    min-height: 220px;
    padding: 15px 16px 38px;
    line-height: 1.75;
    resize: vertical;
}

.theme-contact-form input::placeholder,
.theme-contact-form textarea::placeholder {
    color: var(--theme-muted-deep);
}

.theme-contact-form input:focus,
.theme-contact-form select:focus,
.theme-contact-form textarea:focus {
    border-color: rgb(var(--theme-accent-primary-rgb) / .58);
    background: rgb(var(--theme-accent-primary-rgb) / .018);
    box-shadow: 0 0 0 3px rgb(var(--theme-accent-primary-rgb) / .05);
}

.theme-contact-form [aria-invalid="true"] {
    border-color: rgb(var(--theme-accent-secondary-rgb) / .68);
}

.theme-contact-select-wrap,
.theme-contact-textarea-wrap {
    position: relative;
}

.theme-contact-select-icon {
    position: absolute;
    top: 50%;
    right: 14px;
    width: 18px;
    height: 18px;
    color: var(--theme-contact-accent-highlight);
    pointer-events: none;
    transform: translateY(-50%);
}

.theme-contact-select-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.theme-contact-character-count {
    position: absolute;
    right: 13px;
    bottom: 11px;
    color: var(--theme-muted-deep);
    font-size: 9px;
}

.theme-contact-field-help,
.theme-contact-field-error {
    margin: 7px 0 0;
    font-size: 9px;
    line-height: 1.55;
}

.theme-contact-field-help {
    color: var(--theme-muted-deep);
}

.theme-contact-field-error {
    min-height: 1em;
    color: var(--theme-contact-accent-secondary-soft);
}

.theme-contact-submit-note {
    display: grid;
    grid-template-columns: 24px minmax(0,1fr);
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid rgb(var(--theme-accent-highlight-rgb) / .2);
    border-radius: 7px;
    background: rgb(var(--theme-accent-highlight-rgb) / .02);
    color: var(--theme-muted);
    font-size: 10px;
    line-height: 1.7;
}

.theme-contact-submit-note>span {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border: 1px solid rgb(var(--theme-accent-highlight-rgb) / .45);
    border-radius: 50%;
    color: var(--theme-contact-accent-highlight);
    font-family: var(--theme-serif,Georgia,serif);
}

.theme-contact-submit-note p {
    margin: 0;
}

.theme-contact-submit-note a {
    color: var(--theme-contact-accent-highlight-soft);
    text-decoration: underline;
    text-decoration-color: rgb(var(--theme-accent-highlight-rgb) / .35);
    text-underline-offset: 3px;
}

.theme-contact-submit {
    display: grid;
    grid-template-columns: 1fr auto;
    width: min(100%,440px);
    min-height: 54px;
    align-items: center;
    justify-self: center;
    padding: 0 18px 0 28px;
    border: 1px solid rgb(var(--theme-accent-secondary-rgb) / .64);
    border-radius: 7px;
    color: var(--theme-text);
    background: linear-gradient(100deg,rgb(var(--theme-accent-secondary-rgb) / .4),rgb(var(--theme-accent-secondary-rgb) / .2) 54%,rgb(var(--theme-accent-highlight-rgb) / .11));
    cursor: pointer;
    font-family: var(--theme-serif,Georgia,serif);
    font-size: 14px;
    font-weight: 600;
    transition: border-color 160ms ease,background 160ms ease,transform 160ms ease;
}

.theme-contact-submit:hover {
    border-color: rgb(var(--theme-accent-highlight-rgb) / .72);
    background: linear-gradient(100deg,rgb(var(--theme-accent-secondary-rgb) / .48),rgb(var(--theme-accent-secondary-rgb) / .23) 54%,rgb(var(--theme-accent-highlight-rgb) / .16));
    transform: translateY(-1px);
}

.theme-contact-submit:disabled {
    cursor: wait;
    opacity: .62;
    transform: none;
}

.theme-contact-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width:680px) {
    .theme-contact-hero {
        padding: 42px 0 38px;
    }

    .theme-contact-hero-inner,
    .theme-contact-shell {
        padding-inline: 16px;
    }

    .theme-contact-hero h1 {
        font-size: 40px;
    }

    .theme-contact-shell {
        padding-top: 34px;
        padding-bottom: 58px;
    }

    .theme-contact-intro,
    .theme-contact-panel {
        padding: 23px 18px;
        border-radius: 10px;
    }

    .theme-contact-section-heading {
        gap: 10px;
    }

    .theme-contact-section-icon {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }

    .theme-contact-section-icon svg {
        width: 24px;
        height: 24px;
    }

    .theme-contact-intro-copy {
        font-size: 13px;
    }

    .theme-contact-notice {
        grid-template-columns: 27px minmax(0,1fr);
        padding: 16px 14px;
    }

    .theme-contact-form {
        gap: 21px;
    }

    .theme-contact-form input,
    .theme-contact-form select {
        min-height: 52px;
        font-size: 16px;
    }

    .theme-contact-form textarea {
        min-height: 210px;
        font-size: 16px;
    }

    .theme-contact-submit {
        width: 100%;
        min-height: 56px;
    }
}



.theme-contact-form select {
    color: var(--theme-text);
    background-color: var(--theme-section-1);
    color-scheme: dark;
}

.theme-contact-form select option {
    color: var(--theme-text-soft);
    background-color: var(--theme-section-4);
}

.theme-contact-form select option:checked {
    color: var(--theme-contact-accent-secondary-soft);
    background-color: var(--theme-panel-contrast);
    font-weight: 700;
}

.theme-contact-form select option:hover,
.theme-contact-form select option:focus {
    color: var(--theme-contact-accent-highlight-soft);
    background-color: var(--theme-panel-raised);
}

.theme-contact-form select option:disabled {
    color: var(--theme-muted-deep);
    background-color: var(--theme-section-2);
}

.theme-contact-form select:focus,
.theme-contact-form select:focus-visible {
    border-color: rgb(var(--theme-accent-primary-rgb) / 0.72);
    box-shadow:
        0 0 0 3px rgb(var(--theme-accent-primary-rgb) / 0.07),
        0 0 22px rgb(var(--theme-accent-primary-rgb) / 0.035);
}

.theme-contact-response-icon .theme-icon { width: 12px; height: 12px; }
.theme-contact-submit-note > span .theme-icon { width: 15px; height: 15px; }
.theme-contact-submit .theme-icon { width: 15px; height: 15px; }


.theme-contact-hero h1 { font-size: clamp(36px, 4.1vw, 52px); line-height: 1.22; }
.theme-contact-kicker,
.theme-contact-field > label small,
.theme-contact-character-count,
.theme-contact-field-help,
.theme-contact-field-error,
.theme-contact-submit-note { font-size: 11px; line-height: 1.55; }
@media (max-width: 680px) {
    .theme-contact-hero h1 { font-size: 34px; }
}

@media (min-width: 961px) {
    .theme-contact-hero h1 { font-size: clamp(38px, 4.1vw, 54px); }
    .theme-contact-kicker,
    .theme-contact-field > label small,
    .theme-contact-character-count,
    .theme-contact-field-help,
    .theme-contact-field-error,
    .theme-contact-submit-note { font-size: 12px; }
}
