/**
 * Contact page — "Start a conversation" (page 62021 only).
 *
 * Markup: wp:html sections inside an alignfull .tsa-ct group in
 * templates/page-contact.html. The form is Gravity Form 82 rendered by the
 * GF block and restyled below. The quick-answers accordion uses native
 * <details>/<summary> — no JS.
 */

.tsa-ct {
    --ct-cream: #F6F1E7;
    --ct-paper: #FFFDF8;
    --ct-sand: #EDE5D3;
    --ct-pine: #12403F;
    --ct-pine-deep: #0C2E2D;
    --ct-teal: #009587;
    --ct-amber: #E39A3B;
    --ct-gold: #E9B96A;
    --ct-ink: #22312C;
    --ct-muted: rgba(34, 49, 44, 0.72);
    --ct-head-font: var(--tsa-font-display);
    --ct-body-font: var(--tsa-font-body);
    --ct-pad-x: clamp(20px, 4vw, 48px);
    background: var(--ct-cream);
    color: var(--ct-ink);
    font-family: var(--ct-body-font);
    overflow: hidden;
}

.tsa-ct ::selection {
    background: var(--ct-pine);
    color: var(--ct-cream);
}

.tsa-ct a {
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.tsa-ct h1,
.tsa-ct h2,
.tsa-ct h3 {
    font-family: var(--ct-head-font);
    font-weight: var(--tsa-font-display-weight, 800);
    color: var(--ct-pine);
    padding: 0;
    margin: 0;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.tsa-ct p {
    margin: 0;
}

.tsa-ct .tsa-ct-wrap {
    max-width: 1180px;
    margin: 0 auto;
}

.tsa-ct .tsa-ct-wrap--narrow {
    max-width: 820px;
}

.tsa-ct .tsa-ct-h2 {
    font-size: clamp(30px, 4vw, 46px);
}

.tsa-ct .tsa-ct-sub {
    margin-top: 14px;
    font-size: 17px;
    line-height: 1.65;
    color: var(--ct-muted);
    max-width: 62ch;
}

/* --------------------------------------------------------------- Eyebrow */

.tsa-ct .tsa-ct-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 12px;
    border-radius: 999px;
    background: rgba(18, 64, 63, 0.07);
    margin-bottom: 26px;
}

.tsa-ct .tsa-ct-eyebrow small {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ct-pine);
}

.tsa-ct .tsa-ct-eyebrow--light {
    background: rgba(246, 241, 231, 0.12);
}

.tsa-ct .tsa-ct-eyebrow--light small {
    color: var(--ct-cream);
}

.tsa-ct .tsa-ct-pulse {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--ct-teal);
    box-shadow: 0 0 0 0 rgba(0, 149, 135, 0.55);
    animation: tsa-ct-pulse 2.4s ease-out infinite;
}

@keyframes tsa-ct-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(0, 149, 135, 0.55); }
    70%  { box-shadow: 0 0 0 10px rgba(0, 149, 135, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 149, 135, 0); }
}

/* --------------------------------------------------------------- Buttons */

.tsa-ct .tsa-ct-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    border: 2px solid transparent;
}

.tsa-ct .tsa-ct-btn--pine {
    background: var(--ct-pine);
    color: var(--ct-cream);
}

.tsa-ct .tsa-ct-btn--pine:hover {
    background: var(--ct-amber);
    color: var(--ct-pine);
}

.tsa-ct .tsa-ct-btn--ghost {
    border-color: rgba(18, 64, 63, 0.3);
    color: var(--ct-pine);
}

.tsa-ct .tsa-ct-btn--ghost:hover {
    border-color: var(--ct-pine);
    background: var(--ct-pine);
    color: var(--ct-cream);
}

.tsa-ct .tsa-ct-btn--amber {
    background: var(--ct-amber);
    color: var(--ct-pine);
}

.tsa-ct .tsa-ct-btn--amber:hover {
    background: var(--ct-cream);
}

/* ------------------------------------------------------------------ Hero */

.tsa-ct .tsa-ct-hero {
    padding: calc(var(--wp--custom--header-height, 83px) + clamp(44px, 6vw, 78px)) var(--ct-pad-x) clamp(64px, 8vw, 96px);
    max-width: calc(1180px + 2 * var(--ct-pad-x));
    margin: 0 auto;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(36px, 5vw, 68px);
    align-items: center;
}

.tsa-ct .tsa-ct-hero h1 {
    font-size: clamp(38px, 5.6vw, 66px);
}

.tsa-ct .tsa-ct-hero h1 em {
    font-style: normal;
    color: var(--ct-teal);
}

.tsa-ct .tsa-ct-lede {
    margin-top: 22px;
    font-size: clamp(17px, 1.6vw, 19px);
    line-height: 1.65;
    color: var(--ct-muted);
    max-width: 54ch;
}

.tsa-ct .tsa-ct-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

/* Contact card */

.tsa-ct .tsa-ct-card {
    background: var(--ct-paper);
    border: 1px solid rgba(18, 64, 63, 0.1);
    border-radius: 26px;
    padding: clamp(26px, 3vw, 36px);
    box-shadow: 0 18px 46px rgba(18, 64, 63, 0.12);
    overflow: hidden;
}

.tsa-ct .tsa-ct-card__head {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ct-teal);
}

.tsa-ct .tsa-ct-details {
    margin: 22px 0 0;
    display: grid;
    gap: 18px;
}

.tsa-ct .tsa-ct-details dt {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(34, 49, 44, 0.5);
    margin-bottom: 5px;
}

.tsa-ct .tsa-ct-details dd {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: var(--ct-pine);
    font-weight: 600;
}

.tsa-ct .tsa-ct-details dd a {
    color: var(--ct-pine);
    border-bottom: 2px solid var(--ct-gold);
    word-break: break-word;
}

.tsa-ct .tsa-ct-details dd a:hover {
    color: var(--ct-teal);
    border-bottom-color: var(--ct-teal);
}

.tsa-ct .tsa-ct-social {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid rgba(18, 64, 63, 0.12);
    font-size: 14px;
}

.tsa-ct .tsa-ct-social span {
    color: rgba(34, 49, 44, 0.55);
    font-weight: 600;
}

.tsa-ct .tsa-ct-social a {
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(18, 64, 63, 0.07);
    color: var(--ct-pine);
    font-weight: 700;
}

.tsa-ct .tsa-ct-social a:hover {
    background: var(--ct-pine);
    color: var(--ct-cream);
}

.tsa-ct .tsa-ct-card__img {
    display: block;
    width: calc(100% + 2 * clamp(26px, 3vw, 36px));
    margin: clamp(26px, 3vw, 36px) calc(-1 * clamp(26px, 3vw, 36px)) calc(-1 * clamp(26px, 3vw, 36px));
    height: 190px;
    object-fit: cover;
    background: var(--ct-sand);
}

/* ---------------------------------------------------------------- Routes */

.tsa-ct .tsa-ct-routes {
    padding: clamp(64px, 8vw, 100px) var(--ct-pad-x);
    background: var(--ct-sand);
}

.tsa-ct .tsa-ct-routegrid {
    margin-top: clamp(34px, 4vw, 52px);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.tsa-ct .tsa-ct-route {
    position: relative;
    display: block;
    background: var(--ct-paper);
    border: 1px solid rgba(18, 64, 63, 0.1);
    border-radius: 22px;
    padding: clamp(24px, 2.6vw, 34px);
    color: var(--ct-ink);
}

.tsa-ct .tsa-ct-route:hover {
    transform: translateY(-4px);
    border-color: var(--ct-pine);
    box-shadow: 0 18px 38px rgba(18, 64, 63, 0.14);
}

.tsa-ct .tsa-ct-route__num {
    position: absolute;
    top: clamp(20px, 2.4vw, 28px);
    right: clamp(22px, 2.6vw, 32px);
    font-family: var(--ct-head-font);
    font-weight: var(--tsa-font-display-weight, 800);
    font-size: 34px;
    line-height: 1;
    color: rgba(18, 64, 63, 0.12);
}

.tsa-ct .tsa-ct-route h3 {
    font-size: clamp(19px, 1.9vw, 23px);
    line-height: 1.25;
    padding-right: 52px;
}

.tsa-ct .tsa-ct-route p {
    margin-top: 12px;
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--ct-muted);
}

.tsa-ct .tsa-ct-route__go {
    display: inline-block;
    margin-top: 20px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ct-teal);
}

.tsa-ct .tsa-ct-route__go::after {
    content: " \2192";
}

/* ------------------------------------------------------------ Form block */

.tsa-ct .tsa-ct-form {
    padding: clamp(68px, 9vw, 110px) var(--ct-pad-x);
    background: var(--ct-pine);
    background-image: radial-gradient(circle at 12% 18%, rgba(0, 149, 135, 0.35), transparent 45%),
                      radial-gradient(circle at 88% 82%, rgba(227, 154, 59, 0.18), transparent 48%);
}

.tsa-ct .tsa-ct-form__inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(36px, 5vw, 70px);
    align-items: start;
}

.tsa-ct .tsa-ct-form__aside h2 {
    color: var(--ct-cream);
    font-size: clamp(30px, 3.6vw, 42px);
}

.tsa-ct .tsa-ct-form__aside > p {
    margin-top: 18px;
    font-size: 17px;
    line-height: 1.65;
    color: rgba(246, 241, 231, 0.8);
}

.tsa-ct .tsa-ct-promises {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.tsa-ct .tsa-ct-promises li {
    position: relative;
    padding-left: 30px;
    font-size: 16px;
    line-height: 1.5;
    color: rgba(246, 241, 231, 0.92);
}

.tsa-ct .tsa-ct-promises li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 14px;
    height: 8px;
    border-left: 2.5px solid var(--ct-gold);
    border-bottom: 2.5px solid var(--ct-gold);
    transform: rotate(-45deg);
}

.tsa-ct .tsa-ct-aside-note {
    margin-top: 32px;
    padding: 22px 24px;
    border-radius: 18px;
    background: rgba(246, 241, 231, 0.09);
    border: 1px solid rgba(246, 241, 231, 0.16);
}

.tsa-ct .tsa-ct-aside-note strong {
    display: block;
    font-family: var(--ct-head-font);
    font-weight: var(--tsa-font-display-weight, 800);
    font-size: 17px;
    color: var(--ct-cream);
    margin-bottom: 8px;
}

.tsa-ct .tsa-ct-aside-note p {
    font-size: 15.5px;
    line-height: 1.6;
    color: rgba(246, 241, 231, 0.8);
}

.tsa-ct .tsa-ct-aside-note a {
    color: var(--ct-gold);
    border-bottom: 1px solid rgba(233, 185, 106, 0.5);
    word-break: break-word;
}

.tsa-ct .tsa-ct-aside-note a:hover {
    color: var(--ct-cream);
    border-bottom-color: var(--ct-cream);
}

.tsa-ct .tsa-ct-formcard {
    background: var(--ct-paper);
    border-radius: 26px;
    padding: clamp(26px, 3.5vw, 42px);
    box-shadow: 0 22px 54px rgba(6, 30, 29, 0.28);
}

/* Gravity Form 82 restyle — the theme's global GF rules use !important,
   so these must match that strength. */

.tsa-ct .tsa-ct-formcard .gform_wrapper .gfield_label,
.tsa-ct .tsa-ct-formcard .gform_wrapper legend {
    color: #12403F !important;
    font-family: var(--ct-body-font) !important;
}

.tsa-ct .tsa-ct-formcard .gform_wrapper .gfield_required_text {
    color: #C77E22 !important;
}

.tsa-ct .tsa-ct-formcard .gform_wrapper .gfield_description {
    color: rgba(34, 49, 44, 0.65) !important;
}

.tsa-ct .tsa-ct-formcard .gform_wrapper input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]):not([type="hidden"]),
.tsa-ct .tsa-ct-formcard .gform_wrapper select,
.tsa-ct .tsa-ct-formcard .gform_wrapper textarea {
    background-color: #F6F1E7 !important;
    color: #12403F !important;
    border: 1.5px solid rgba(18, 64, 63, 0.2) !important;
    border-radius: 12px !important;
}

.tsa-ct .tsa-ct-formcard .gform_wrapper input:focus,
.tsa-ct .tsa-ct-formcard .gform_wrapper select:focus,
.tsa-ct .tsa-ct-formcard .gform_wrapper textarea:focus {
    border-color: #12403F !important;
}

.tsa-ct .tsa-ct-formcard .gform_wrapper input::placeholder,
.tsa-ct .tsa-ct-formcard .gform_wrapper textarea::placeholder {
    color: rgba(18, 64, 63, 0.5) !important;
    opacity: 1 !important;
}

.tsa-ct .tsa-ct-formcard .gform_wrapper .gform_button {
    background-color: #12403F !important;
    color: #F6F1E7 !important;
    border-radius: 999px !important;
}

.tsa-ct .tsa-ct-formcard .gform_wrapper .gform_button:hover {
    background-color: #E39A3B !important;
    color: #12403F !important;
    opacity: 1 !important;
}

.tsa-ct .tsa-ct-formcard .gform_wrapper .gform_confirmation_message {
    font-family: var(--ct-head-font);
    font-weight: var(--tsa-font-display-weight, 800);
    color: #12403F !important;
    font-size: 20px;
    line-height: 1.4;
}

/* -------------------------------------------------------- Quick answers */

.tsa-ct .tsa-ct-answers {
    padding: clamp(64px, 8vw, 100px) var(--ct-pad-x);
}

.tsa-ct .tsa-ct-faq {
    border-bottom: 1px solid rgba(18, 64, 63, 0.16);
}

.tsa-ct .tsa-ct-faq:first-of-type {
    border-top: 1px solid rgba(18, 64, 63, 0.16);
    margin-top: clamp(28px, 3.5vw, 44px);
}

.tsa-ct .tsa-ct-faq summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 44px 22px 0;
    position: relative;
    font-family: var(--ct-head-font);
    font-weight: var(--tsa-font-display-weight, 800);
    font-size: clamp(17px, 1.8vw, 21px);
    line-height: 1.35;
    color: var(--ct-pine);
}

.tsa-ct .tsa-ct-faq summary::-webkit-details-marker {
    display: none;
}

.tsa-ct .tsa-ct-faq summary::after {
    content: "+";
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 26px;
    line-height: 1;
    color: var(--ct-teal);
    transition: transform 0.2s ease;
}

.tsa-ct .tsa-ct-faq[open] summary::after {
    content: "\2212";
}

.tsa-ct .tsa-ct-faq > div {
    padding: 0 44px 24px 0;
}

.tsa-ct .tsa-ct-faq > div p {
    font-size: 16.5px;
    line-height: 1.7;
    color: var(--ct-muted);
}

.tsa-ct .tsa-ct-faq a {
    color: var(--ct-pine);
    font-weight: 600;
    border-bottom: 2px solid var(--ct-gold);
}

.tsa-ct .tsa-ct-faq a:hover {
    color: var(--ct-teal);
    border-bottom-color: var(--ct-teal);
}

/* ---------------------------------------------------------------- Closer */

.tsa-ct .tsa-ct-closer {
    padding: clamp(56px, 7vw, 88px) var(--ct-pad-x);
    background: var(--ct-pine-deep);
    text-align: center;
}

.tsa-ct .tsa-ct-closer__inner {
    max-width: 720px;
    margin: 0 auto;
}

.tsa-ct .tsa-ct-closer h2 {
    color: var(--ct-cream);
    font-size: clamp(27px, 3.4vw, 40px);
}

.tsa-ct .tsa-ct-closer p {
    margin-top: 16px;
    font-size: 17px;
    line-height: 1.6;
    color: rgba(246, 241, 231, 0.75);
}

.tsa-ct .tsa-ct-closer .tsa-ct-btn {
    margin-top: 30px;
}

/* ------------------------------------------------------------ Responsive */

@media (prefers-reduced-motion: reduce) {
    .tsa-ct .tsa-ct-pulse {
        animation: none;
    }

    .tsa-ct .tsa-ct-route:hover {
        transform: none;
    }
}

@media (max-width: 960px) {
    .tsa-ct .tsa-ct-hero,
    .tsa-ct .tsa-ct-form__inner {
        grid-template-columns: 1fr;
    }

    .tsa-ct .tsa-ct-card {
        max-width: 560px;
    }
}

@media (max-width: 720px) {
    .tsa-ct .tsa-ct-routegrid {
        grid-template-columns: 1fr;
    }

    .tsa-ct .tsa-ct-route h3 {
        padding-right: 48px;
    }

    .tsa-ct .tsa-ct-hero__actions .tsa-ct-btn {
        flex: 1 1 100%;
    }
}

/* Box 03 with two quiz buttons (Nov 2026): a card, not a link, so no lift on hover. */
.tsa-ct .tsa-ct-route--two:hover {
    transform: none;
    border-color: rgba(18, 64, 63, 0.1);
    box-shadow: none;
}

.tsa-ct .tsa-ct-route__btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.tsa-ct .tsa-ct-route__btns .tsa-ct-btn {
    padding: 12px 22px;
    font-size: 15px;
}
