:root {
    --contact-bg: #061521;
    --contact-bg-deep: #03101a;
    --contact-panel: #0a1a27;
    --contact-panel-soft: #0d202f;
    --contact-text: #f3efe5;
    --contact-muted: #9db0be;
    --contact-gold: #d6a94f;
    --contact-line: rgba(255,255,255,.10);
    --contact-line-gold: rgba(214,169,79,.34);
}

* {
    box-sizing: border-box;
}

html {
    background: var(--contact-bg);
}

body.contact-public-body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(
            circle at 82% 9%,
            rgba(39,86,115,.20),
            transparent 31rem
        ),
        var(--contact-bg);
    color: var(--contact-text);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        sans-serif;
}

.contact-public-body a {
    color: inherit;
    text-decoration: none;
}

.contact-public-body button,
.contact-public-body input,
.contact-public-body select,
.contact-public-body textarea {
    font: inherit;
}

.contact-shell {
    width: min(1240px, calc(100% - 56px));
    margin: 0 auto;
}

.contact-hero {
    position: relative;
    min-height: 660px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom:
        1px solid var(--contact-line);
}

.contact-hero::before {
    content: "";
    position: absolute;
    width: 570px;
    height: 570px;
    right: -110px;
    top: 22px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(214,169,79,.08),
            transparent 63%
        );
    pointer-events: none;
}

.contact-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns:
        minmax(0,1.45fr)
        minmax(300px,.65fr);
    gap: clamp(50px,8vw,130px);
    align-items: end;
    padding:
        clamp(100px,11vw,155px)
        0
        clamp(74px,8vw,110px);
}

.contact-kicker {
    display: inline-block;
    color: var(--contact-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .23em;
}

.contact-hero-copy h1 {
    max-width: 800px;
    margin: 18px 0 25px;
    font-family:
        "Playfair Display",
        Georgia,
        serif;
    font-size: clamp(58px,7.8vw,112px);
    font-weight: 400;
    line-height: .91;
    letter-spacing: -.045em;
}

.contact-hero-copy h1 em,
.contact-context h2 em,
.contact-form-head h2 em,
.contact-success h2 em {
    color: var(--contact-gold);
    font-style: normal;
}

.contact-lead {
    max-width: 650px;
    margin: 0;
    color: var(--contact-muted);
    font-size: clamp(16px,1.5vw,20px);
    line-height: 1.75;
}

.contact-paths {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 35px;
}

.contact-paths span {
    padding: 9px 13px;
    border:
        1px solid var(--contact-line);
    border-radius: 999px;
    color: #c1ccd3;
    font-size: 11px;
    letter-spacing: .03em;
}

.contact-hero-note {
    padding:
        0
        0
        12px
        30px;
    border-left:
        1px solid var(--contact-line-gold);
}

.contact-note-index {
    color: var(--contact-gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
}

.contact-hero-note blockquote {
    margin: 22px 0 17px;
    font-family:
        "Playfair Display",
        Georgia,
        serif;
    font-size: 24px;
    line-height: 1.45;
    font-weight: 400;
}

.contact-hero-note p {
    margin: 0;
    color: var(--contact-muted);
    font-size: 12px;
    line-height: 1.75;
}

.contact-hero-orbit {
    position: absolute;
    width: 550px;
    height: 550px;
    right: -125px;
    top: 60px;
    opacity: .62;
    pointer-events: none;
}

.orbit {
    position: absolute;
    inset: 0;
    border:
        1px solid rgba(214,169,79,.14);
    border-radius: 50%;
}

.orbit-b {
    inset: 95px;
    border-color:
        rgba(135,172,194,.12);
}

.orbit-dot {
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--contact-gold);
    box-shadow:
        0 0 24px rgba(214,169,79,.6);
}

.dot-a {
    top: 79px;
    left: 92px;
}

.dot-b {
    right: 95px;
    bottom: 87px;
}

.contact-main-section {
    padding:
        clamp(70px,8vw,120px)
        0
        clamp(90px,10vw,145px);
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.012),
            transparent 30%
        );
}

.contact-content-grid {
    display: grid;
    grid-template-columns:
        minmax(280px,.72fr)
        minmax(0,1.38fr);
    gap: clamp(45px,7vw,105px);
    align-items: start;
}

.contact-context {
    position: sticky;
    top: 110px;
}

.contact-context h2 {
    margin: 14px 0 18px;
    font-family:
        "Playfair Display",
        Georgia,
        serif;
    font-size: clamp(36px,4vw,54px);
    line-height: 1.06;
    font-weight: 400;
}

.contact-context > p {
    margin: 0;
    color: var(--contact-muted);
    font-size: 13px;
    line-height: 1.8;
}

.contact-context-list {
    margin-top: 37px;
    border-top:
        1px solid var(--contact-line);
}

.contact-context-list article {
    display: grid;
    grid-template-columns:
        38px
        minmax(0,1fr);
    gap: 15px;
    padding: 20px 0;
    border-bottom:
        1px solid var(--contact-line);
}

.contact-context-list article > strong {
    color: var(--contact-gold);
    font-family:
        "Playfair Display",
        Georgia,
        serif;
    font-size: 14px;
    font-weight: 400;
}

.contact-context-list h3 {
    margin: 0 0 5px;
    font-size: 13px;
    font-weight: 600;
}

.contact-context-list p {
    margin: 0;
    color: var(--contact-muted);
    font-size: 11px;
    line-height: 1.65;
}

.contact-form-card,
.contact-success {
    padding:
        clamp(28px,4vw,52px);
    border:
        1px solid var(--contact-line);
    border-radius: 22px;
    background:
        linear-gradient(
            145deg,
            rgba(13,32,47,.96),
            rgba(7,22,34,.96)
        );
    box-shadow:
        0 28px 80px rgba(0,0,0,.20);
}

.contact-form-head {
    padding-bottom: 28px;
    border-bottom:
        1px solid var(--contact-line);
}

.contact-form-head h2,
.contact-success h2 {
    max-width: 700px;
    margin: 12px 0 13px;
    font-family:
        "Playfair Display",
        Georgia,
        serif;
    font-size: clamp(32px,4vw,49px);
    line-height: 1.07;
    font-weight: 400;
}

.contact-form-head p,
.contact-success p {
    max-width: 620px;
    margin: 0;
    color: var(--contact-muted);
    font-size: 12px;
    line-height: 1.8;
}

.contact-form {
    display: grid;
    gap: 20px;
    margin-top: 29px;
}

.contact-field-row {
    display: grid;
    grid-template-columns:
        repeat(2,minmax(0,1fr));
    gap: 17px;
}

.contact-field {
    display: block;
}

.contact-field > span {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    color: #cad4da;
    font-size: 11px;
    font-weight: 600;
}

.contact-field > span b {
    color: var(--contact-gold);
}

.contact-field > span small {
    color: #6f8493;
    font-size: 9px;
    font-weight: 400;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    border:
        1px solid rgba(255,255,255,.11);
    border-radius: 11px;
    outline: none;
    background:
        rgba(3,15,24,.72);
    color: var(--contact-text);
    transition:
        border-color .18s ease,
        background .18s ease,
        box-shadow .18s ease;
}

.contact-field input,
.contact-field select {
    min-height: 50px;
    padding: 0 14px;
}

.contact-field textarea {
    resize: vertical;
    min-height: 175px;
    padding: 14px;
    line-height: 1.65;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: #5e7281;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color:
        rgba(214,169,79,.64);
    background:
        rgba(3,15,24,.92);
    box-shadow:
        0 0 0 3px rgba(214,169,79,.07);
}

.field-hint {
    display: block;
    margin-top: 7px;
    color: #6f8493;
    font-size: 9px;
}

.privacy-check {
    display: grid;
    grid-template-columns:
        auto
        minmax(0,1fr);
    gap: 11px;
    align-items: start;
    padding:
        17px
        0
        2px;
}

.privacy-check input {
    width: 17px;
    height: 17px;
    margin: 1px 0 0;
    accent-color: var(--contact-gold);
}

.privacy-check span {
    color: var(--contact-muted);
    font-size: 10px;
    line-height: 1.6;
}

.contact-form-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 9px;
}

.contact-form-submit p {
    margin: 0;
    color: #6f8493;
    font-size: 9px;
}

.contact-button {
    min-height: 51px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
    cursor: pointer;
}

.contact-button-primary {
    border:
        1px solid var(--contact-gold);
    background: var(--contact-gold);
    color: #07131c;
}

.contact-button-primary:hover {
    filter: brightness(1.06);
}

.contact-button-secondary {
    border:
        1px solid var(--contact-line-gold);
    background: transparent;
    color: var(--contact-gold);
}

.contact-errors {
    margin-top: 24px;
    padding: 15px 17px;
    border:
        1px solid rgba(218,124,124,.28);
    border-radius: 11px;
    background:
        rgba(218,124,124,.07);
    color: #e8b0b0;
}

.contact-errors strong {
    display: block;
    margin-bottom: 7px;
    font-size: 11px;
}

.contact-errors ul {
    margin: 0;
    padding-left: 18px;
}

.contact-errors li {
    margin: 4px 0;
    font-size: 10px;
    line-height: 1.55;
}

.contact-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.contact-success {
    min-height: 470px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.contact-success-mark {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin-bottom: 26px;
    border:
        1px solid var(--contact-line-gold);
    border-radius: 50%;
    color: var(--contact-gold);
    font-size: 20px;
}

.contact-success-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.contact-footer {
    border-top:
        1px solid var(--contact-line);
    background: var(--contact-bg-deep);
}

.contact-footer-inner {
    min-height: 125px;
    display: grid;
    grid-template-columns:
        1fr
        auto
        auto;
    gap: 34px;
    align-items: center;
}

.contact-footer-inner > div strong,
.contact-footer-inner > div span {
    display: block;
}

.contact-footer-inner > div strong {
    font-family:
        "Playfair Display",
        Georgia,
        serif;
    font-size: 15px;
    letter-spacing: .05em;
}

.contact-footer-inner > div span {
    margin-top: 4px;
    color: #708493;
    font-size: 9px;
}

.contact-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-footer nav a,
.contact-footer-inner > span {
    color: #8295a3;
    font-size: 10px;
}

.contact-footer nav a:hover {
    color: var(--contact-gold);
}

@media (max-width: 900px) {
    .contact-shell {
        width:
            min(
                100% - 38px,
                760px
            );
    }

    .contact-hero {
        min-height: auto;
    }

    .contact-hero-grid {
        grid-template-columns: 1fr;
        gap: 52px;
        padding:
            112px
            0
            72px;
    }

    .contact-hero-copy h1 {
        max-width: 700px;
        font-size:
            clamp(
                54px,
                11vw,
                84px
            );
    }

    .contact-hero-note {
        max-width: 600px;
    }

    .contact-content-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .contact-context {
        position: static;
    }

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

    .contact-footer-inner {
        grid-template-columns: 1fr;
        gap: 16px;
        padding:
            30px
            0;
    }
}

@media (max-width: 600px) {
    .contact-shell {
        width:
            calc(100% - 32px);
    }

    .contact-hero-grid {
        padding:
            96px
            0
            58px;
    }

    .contact-hero-copy h1 {
        margin-top: 13px;
        font-size:
            clamp(
                48px,
                15vw,
                68px
            );
        line-height: .94;
    }

    .contact-lead {
        font-size: 15px;
        line-height: 1.7;
    }

    .contact-paths {
        gap: 6px;
        margin-top: 27px;
    }

    .contact-paths span {
        padding:
            7px
            10px;
        font-size: 9px;
    }

    .contact-hero-note {
        padding-left: 18px;
    }

    .contact-hero-note blockquote {
        font-size: 20px;
    }

    .contact-hero-orbit {
        width: 420px;
        height: 420px;
        right: -230px;
        top: 80px;
    }

    .contact-main-section {
        padding:
            58px
            0
            76px;
    }

    .contact-context h2 {
        font-size: 38px;
    }

    .contact-context-list {
        grid-template-columns: 1fr;
    }

    .contact-form-card,
    .contact-success {
        padding: 24px 19px;
        border-radius: 16px;
    }

    .contact-form-head h2,
    .contact-success h2 {
        font-size: 35px;
    }

    .contact-field-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-form-submit {
        align-items: stretch;
        flex-direction: column;
    }

    .contact-form-submit .contact-button {
        width: 100%;
    }

    .contact-form-submit p {
        text-align: center;
    }

    .contact-success {
        min-height: 420px;
    }

    .contact-success-actions {
        width: 100%;
        flex-direction: column;
    }

    .contact-success-actions .contact-button {
        width: 100%;
    }

    .contact-footer nav {
        gap:
            10px
            17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
