/* Herbal Remedy Source 3.4.21 — Legendary Contact */

.page-contact-legendary {
    --contact-night: #062f38;
    --contact-night-2: #0a4d56;
    --contact-green: #0c7a78;
    --contact-mint: #dff5ec;
    --contact-lime: #d9f04b;
    --contact-coral: #ef6f5b;
    --contact-violet: #675d9b;
    --contact-paper: #f8f8f2;
    --contact-white: #fffefb;
    --contact-line: rgba(11, 38, 48, .14);
    --contact-shadow: 0 34px 100px rgba(4, 49, 56, .15);
}

.page-contact-legendary .site-header {
    box-shadow: 0 15px 45px rgba(4, 49, 56, .06);
}

.contact-world {
    position: relative;
    isolation: isolate;
    background:
        linear-gradient(rgba(11, 38, 48, .028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11, 38, 48, .028) 1px, transparent 1px),
        var(--contact-paper);
    background-size: 72px 72px;
}

.contact-hero {
    position: relative;
    min-height: 650px;
    display: grid;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 76% 22%, rgba(217, 240, 75, .16), transparent 24rem),
        radial-gradient(circle at 14% 100%, rgba(103, 93, 155, .42), transparent 34rem),
        linear-gradient(125deg, #052b34 0%, #064752 48%, #0a6e6f 100%);
}

.contact-hero::before,
.contact-hero::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.contact-hero::before {
    inset: 0;
    opacity: .17;
    background:
        linear-gradient(90deg, transparent 49.8%, rgba(255,255,255,.22) 50%, transparent 50.2%),
        linear-gradient(transparent 49.8%, rgba(255,255,255,.15) 50%, transparent 50.2%);
    background-size: 92px 92px;
    mask-image: linear-gradient(to right, transparent, #000 22%, #000 100%);
}

.contact-hero::after {
    width: 880px;
    height: 880px;
    right: -455px;
    top: -420px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 50%;
    box-shadow:
        0 0 0 70px rgba(255,255,255,.02),
        0 0 0 140px rgba(255,255,255,.018),
        0 0 0 210px rgba(255,255,255,.014);
}

.contact-hero__orb {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.22);
    pointer-events: none;
}

.contact-hero__orb::before,
.contact-hero__orb::after {
    content: "";
    position: absolute;
    border-radius: inherit;
    border: inherit;
}

.contact-hero__orb--one {
    width: 170px;
    height: 170px;
    left: 8%;
    top: 13%;
    opacity: .42;
}

.contact-hero__orb--one::before { inset: 27px; }
.contact-hero__orb--one::after { inset: 57px; background: rgba(217,240,75,.2); }

.contact-hero__orb--two {
    width: 96px;
    height: 96px;
    left: 48%;
    bottom: 8%;
    opacity: .3;
}

.contact-hero__orb--two::before { inset: 19px; }
.contact-hero__orb--two::after { inset: 36px; background: rgba(255,255,255,.25); }

.contact-hero__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(360px, .65fr);
    gap: clamp(54px, 8vw, 120px);
    align-items: end;
    padding-block: clamp(90px, 10vw, 142px);
}

.contact-hero__copy { max-width: 810px; }

.contact-hero__eyebrow {
    margin-bottom: 26px;
    color: rgba(255,255,255,.77);
}

.contact-hero__eyebrow i {
    background: var(--contact-lime);
    box-shadow: 0 0 0 6px rgba(217,240,75,.12);
}

.contact-hero h1 {
    max-width: 900px;
    margin: 0;
    font: 400 clamp(58px, 7vw, 108px)/.88 var(--hht-serif, Georgia, serif);
    letter-spacing: -.065em;
    text-wrap: balance;
}

.contact-hero h1 em {
    color: var(--contact-lime);
    font-weight: 400;
}

.contact-hero__copy > p {
    max-width: 720px;
    margin: 34px 0 0;
    color: rgba(255,255,255,.74);
    font-size: clamp(17px, 1.35vw, 21px);
    line-height: 1.72;
}

.contact-hero__signals {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 42px;
}

.contact-hero__signals span {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 15px;
    border: 1px solid rgba(255,255,255,.17);
    border-radius: 999px;
    background: rgba(255,255,255,.055);
    color: rgba(255,255,255,.75);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.contact-hero__signals b { color: var(--contact-lime); }

.contact-hero__card {
    position: relative;
    padding: 32px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.055));
    box-shadow: 0 35px 100px rgba(0,0,0,.18);
    backdrop-filter: blur(18px) saturate(130%);
}

.contact-hero__card::before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    right: 24px;
    top: 24px;
    border-radius: 50%;
    background: var(--contact-lime);
    box-shadow: 0 0 0 8px rgba(217,240,75,.1), 0 0 26px rgba(217,240,75,.7);
}

.contact-hero__card-kicker {
    display: block;
    margin-bottom: 42px;
    color: rgba(255,255,255,.55);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.contact-hero__card strong {
    display: block;
    overflow-wrap: anywhere;
    color: #fff;
    font: 400 clamp(23px, 2.1vw, 34px)/1.12 var(--hht-serif, Georgia, serif);
    letter-spacing: -.035em;
}

.contact-hero__card p {
    margin: 22px 0 28px;
    color: rgba(255,255,255,.69);
    font-size: 14px;
    line-height: 1.72;
}

.contact-hero__card-line {
    display: flex;
    align-items: center;
    gap: 11px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.15);
    color: rgba(255,255,255,.56);
    font-size: 10px;
    font-weight: 760;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.contact-hero__card-line i {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #6ee7a8;
    box-shadow: 0 0 0 5px rgba(110,231,168,.1);
}

.contact-stage {
    position: relative;
    z-index: 3;
    padding-top: clamp(70px, 8vw, 112px);
}

.contact-stage::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 210px;
    background: linear-gradient(to bottom, rgba(12,122,120,.08), transparent);
    pointer-events: none;
}

.contact-stage__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
    gap: clamp(28px, 4.5vw, 68px);
    align-items: start;
}

.contact-form-shell {
    border: 1px solid var(--contact-line);
    border-radius: 34px;
    overflow: hidden;
    background: var(--contact-white);
    box-shadow: var(--contact-shadow);
}

.contact-form-shell__head {
    min-height: 150px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    padding: 34px clamp(28px, 4vw, 54px);
    border-bottom: 1px solid var(--contact-line);
    background:
        radial-gradient(circle at 88% 20%, rgba(217,240,75,.3), transparent 9rem),
        linear-gradient(135deg, #e3f7ef, #fffefb 62%);
}

.contact-form-shell__head span {
    display: block;
    margin-bottom: 9px;
    color: var(--contact-green);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.contact-form-shell__head h2 {
    margin: 0;
    font: 400 clamp(38px, 4.4vw, 64px)/.98 var(--hht-serif, Georgia, serif);
    letter-spacing: -.045em;
}

.contact-form-shell__head > b {
    width: 52px;
    height: 52px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--contact-night);
    color: var(--contact-lime);
    font-size: 25px;
}

.contact-form {
    position: relative;
    display: grid;
    gap: 25px;
    padding: clamp(28px, 4vw, 54px);
}

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

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

.contact-field label,
.contact-field__label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 9px;
    color: var(--contact-night);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.contact-field label span {
    color: var(--contact-coral);
    font-size: 9px;
}

.contact-field__label-row label { margin: 0; }

.contact-field__label-row output {
    color: #73868a;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .04em;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    min-height: 56px;
    border: 1px solid rgba(11,38,48,.18);
    border-radius: 14px;
    background: #fbfcf8;
    color: var(--contact-night);
    font: 500 15px/1.5 var(--hht-sans, sans-serif);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease, transform .2s ease;
}

.contact-field input,
.contact-field select { padding: 0 16px; }

.contact-field select {
    appearance: none;
    padding-right: 44px;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--contact-night) 50%),
        linear-gradient(135deg, var(--contact-night) 50%, transparent 50%);
    background-position:
        calc(100% - 20px) 24px,
        calc(100% - 15px) 24px;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

.contact-field textarea {
    min-height: 245px;
    padding: 17px 18px;
    resize: vertical;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder { color: #93a09e; }

.contact-field input:hover,
.contact-field select:hover,
.contact-field textarea:hover {
    border-color: rgba(12,122,120,.5);
    background: #fff;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    outline: none;
    border-color: var(--contact-green);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(12,122,120,.11), 0 11px 30px rgba(4,49,56,.06);
}

.contact-field > small {
    display: block;
    margin: 7px 2px 0;
    color: #75878a;
    font-size: 11px;
}

.contact-field > em {
    display: block;
    margin: 7px 2px 0;
    color: #a83f38;
    font-size: 11px;
    font-style: normal;
    font-weight: 750;
}

.contact-field.has-error input,
.contact-field.has-error select,
.contact-field.has-error textarea {
    border-color: #bd5148;
    background: #fff7f5;
}

.contact-form__submit {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: center;
    margin-top: 2px;
    padding-top: 26px;
    border-top: 1px solid var(--contact-line);
}

.contact-form__submit p {
    max-width: 560px;
    margin: 0;
    color: #6b7e82;
    font-size: 11px;
    line-height: 1.65;
}

.contact-form__submit button {
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 0 22px 0 27px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--contact-night), var(--contact-green));
    color: #fff;
    box-shadow: 0 16px 38px rgba(6,76,84,.24);
    cursor: pointer;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.contact-form__submit button b {
    width: 29px;
    height: 29px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--contact-lime);
    color: var(--contact-night);
    font-size: 16px;
}

.contact-form__submit button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 45px rgba(6,76,84,.3);
    filter: saturate(115%);
}

.contact-form__submit button:disabled {
    cursor: wait;
    opacity: .72;
    transform: none;
}

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

.contact-notice {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 17px;
    margin: 30px clamp(28px, 4vw, 54px) 0;
    padding: 21px 22px;
    border-radius: 18px;
}

.contact-notice > span {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 21px;
    font-weight: 900;
}

.contact-notice strong {
    display: block;
    margin-bottom: 4px;
    font: 400 24px/1.15 var(--hht-serif, Georgia, serif);
}

.contact-notice p { margin: 0; font-size: 13px; }

.contact-notice--success {
    border: 1px solid rgba(20,126,91,.23);
    background: #e7f8ef;
    color: #135940;
}

.contact-notice--success > span { background: #1b815c; color: #fff; }

.contact-notice--error {
    border: 1px solid rgba(182,67,61,.23);
    background: #fff0ed;
    color: #85332f;
}

.contact-notice--error > span { background: #b6433d; color: #fff; }

.contact-rail {
    position: sticky;
    top: 118px;
    display: grid;
    gap: 18px;
}

.contact-rail__section {
    position: relative;
    padding: 30px;
    border: 1px solid var(--contact-line);
    border-radius: 26px;
    overflow: hidden;
    background: rgba(255,254,251,.86);
    box-shadow: 0 18px 54px rgba(4,49,56,.07);
    backdrop-filter: blur(12px);
}

.contact-rail__number {
    position: absolute;
    right: 22px;
    top: 18px;
    color: rgba(11,38,48,.15);
    font: 400 44px/1 var(--hht-serif, Georgia, serif);
}

.contact-rail__section > small {
    display: block;
    margin-bottom: 30px;
    color: var(--contact-green);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.contact-rail__section h3 {
    max-width: 270px;
    margin: 0 0 20px;
    font: 400 32px/1.03 var(--hht-serif, Georgia, serif);
    letter-spacing: -.035em;
}

.contact-rail__section p {
    margin: 0;
    color: #66797e;
    font-size: 13px;
}

.contact-rail__section > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    color: var(--contact-night);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .07em;
    text-decoration: none;
    text-transform: uppercase;
}

.contact-rail__section > a b { color: var(--contact-coral); }

.contact-rail__section ol {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-rail__section li {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3px;
    padding: 16px 0;
    border-top: 1px solid rgba(255,255,255,.13);
}

.contact-rail__section li b { color: #fff; font-size: 13px; }
.contact-rail__section li span { color: rgba(255,255,255,.55); font-size: 11px; }

.contact-rail__section--dark {
    border-color: rgba(255,255,255,.08);
    background:
        radial-gradient(circle at 100% 0, rgba(217,240,75,.13), transparent 13rem),
        linear-gradient(145deg, #062f38, #0a535d);
    color: #fff;
}

.contact-rail__section--dark .contact-rail__number { color: rgba(255,255,255,.12); }
.contact-rail__section--dark > small { color: var(--contact-lime); }

@media (max-width: 1080px) {
    .contact-hero__grid {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .contact-hero__card {
        max-width: 600px;
    }

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

    .contact-rail {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .contact-hero { min-height: auto; }

    .contact-hero__grid {
        gap: 48px;
        padding-block: 76px 82px;
    }

    .contact-hero h1 {
        font-size: clamp(48px, 14vw, 78px);
    }

    .contact-form__row,
    .contact-form__submit,
    .contact-rail {
        grid-template-columns: 1fr;
    }

    .contact-form__submit button { width: 100%; }

    .contact-form-shell__head {
        min-height: 132px;
        align-items: center;
    }

    .contact-rail__section { min-height: 0; }
}

@media (max-width: 560px) {
    .contact-world { background-size: 44px 44px; }

    .contact-hero__grid,
    .contact-stage__grid { width: min(calc(100% - 30px), 1320px); }

    .contact-hero__signals { display: grid; grid-template-columns: 1fr; }
    .contact-hero__signals span { justify-content: flex-start; }

    .contact-hero__card,
    .contact-form-shell,
    .contact-rail__section { border-radius: 22px; }

    .contact-hero__card { padding: 25px; }

    .contact-form-shell__head,
    .contact-form { padding-inline: 22px; }

    .contact-form-shell__head > b { display: none; }

    .contact-form-shell__head h2 { font-size: 41px; }

    .contact-notice {
        grid-template-columns: 38px 1fr;
        margin-inline: 22px;
        padding: 17px;
    }

    .contact-notice > span {
        width: 38px;
        height: 38px;
    }

    .contact-field textarea { min-height: 220px; }
}

@media (prefers-reduced-motion: reduce) {
    .contact-form__submit button,
    .contact-field input,
    .contact-field select,
    .contact-field textarea { transition: none; }
}
