/**
 * /coming-solo/ (Nov 2026). Markup: page content (wp:html), template templates/page-coming-solo.html.
 * Enqueued on that page only by inc/review-fixes.php. Colours and type follow contact.css.
 */

.tsa-solo {
    --solo-cream: #F6F1E7;
    --solo-paper: #FFFDF8;
    --solo-pine: #12403F;
    --solo-amber: #E39A3B;
    --solo-ink: #22312C;
    --solo-muted: rgba(34, 49, 44, 0.72);
    --solo-pad-x: clamp(20px, 4vw, 48px);
    background: var(--solo-cream);
    color: var(--solo-ink);
    font-family: var(--tsa-font-body);
    overflow: hidden;
}

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

.tsa-solo h2 {
    font-size: clamp(28px, 3.6vw, 42px);
}

.tsa-solo p {
    margin: 0;
    font-size: 17px;
    line-height: 1.65;
}

.tsa-solo a {
    text-decoration: none;
}

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

.tsa-solo .tsa-solo-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tsa-solo .tsa-solo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 28px;
    border: 2px solid transparent;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

.tsa-solo .tsa-solo-btn--fill:hover,
.tsa-solo .tsa-solo-btn--fill:focus-visible {
    background: var(--solo-pine);
    color: var(--solo-cream);
}

.tsa-solo .tsa-solo-btn--line {
    border-color: rgba(18, 64, 63, 0.35);
    color: var(--solo-pine);
}

.tsa-solo .tsa-solo-btn--line:hover,
.tsa-solo .tsa-solo-btn--line:focus-visible {
    border-color: var(--solo-pine);
    background: var(--solo-pine);
    color: var(--solo-cream);
}

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

.tsa-solo .tsa-solo-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: max(520px, calc(100svh - 120px)); /* the site header sits above, not over it */
    padding: 40px var(--solo-pad-x) clamp(36px, 6vw, 72px);
    overflow: hidden; /* the parallax photo is moved and scaled: keep it inside the hero */
    isolation: isolate;
}

.tsa-solo .tsa-solo-hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 30% 35%;
    transform: scale(1.1);
    will-change: transform;
}

/* Scrim behind the text only (bottom half), not a wash over the photo. Same box as the photo. */
.tsa-solo .tsa-solo-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(12, 46, 45, 0) 45%, rgba(12, 46, 45, 0.78));
    pointer-events: none;
}

.tsa-solo .tsa-solo-hero__panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.tsa-solo .tsa-solo-hero h1 {
    max-width: 14ch;
    margin-bottom: 26px;
    font-size: clamp(40px, 6.4vw, 84px);
    color: #fff;
}

.tsa-solo .tsa-solo-hero .tsa-solo-btn--line {
    border-color: rgba(255, 255, 255, 0.8);
    color: #fff;
}

.tsa-solo .tsa-solo-hero .tsa-solo-btn--line:hover,
.tsa-solo .tsa-solo-hero .tsa-solo-btn--line:focus-visible {
    border-color: #fff;
    background: #fff;
    color: var(--solo-pine);
}

/* ----------------------------------------------------------------- Sections */

.tsa-solo .tsa-solo-sec {
    max-width: calc(1180px + 2 * var(--solo-pad-x));
    margin: 0 auto;
    padding: clamp(56px, 8vw, 104px) var(--solo-pad-x) 0;
}

.tsa-solo .tsa-solo-intro {
    padding-top: clamp(40px, 6vw, 72px);
}

.tsa-solo .tsa-solo-lede {
    max-width: 30ch;
    font-family: var(--tsa-font-display);
    font-size: clamp(24px, 2.8vw, 34px);
    font-weight: 700;
    line-height: 1.3;
    color: var(--solo-pine);
}

.tsa-solo .tsa-solo-split {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: clamp(32px, 6vw, 88px);
    align-items: center;
}

.tsa-solo .tsa-solo-split--flip {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
}

.tsa-solo .tsa-solo-split__copy h2 + p {
    margin-top: 16px;
}

.tsa-solo .tsa-solo-split__copy p + h2 {
    margin-top: 40px;
}

.tsa-solo .tsa-solo-split__img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 22px;
}

.tsa-solo .tsa-solo-split:not(.tsa-solo-split--flip) .tsa-solo-split__img {
    aspect-ratio: 1;
}

.tsa-solo .tsa-solo-steps ol {
    display: grid;
    gap: 22px;
    max-width: 760px;
    margin: 28px 0 0;
    padding: 0 0 0 1.4em;
}

.tsa-solo .tsa-solo-steps li {
    padding-left: 6px;
    font-size: 17px;
    line-height: 1.65;
}

.tsa-solo .tsa-solo-steps li::marker {
    font-family: var(--tsa-font-display);
    font-weight: 800;
    color: var(--solo-amber);
}

.tsa-solo .tsa-solo-steps strong {
    color: var(--solo-pine);
}

.tsa-solo .tsa-solo-quote blockquote {
    max-width: 860px;
    margin: 0 auto;
    padding: 0;
    border: 0;
    text-align: center;
}

.tsa-solo .tsa-solo-quote blockquote p {
    font-family: var(--tsa-font-display);
    font-size: clamp(28px, 3.8vw, 46px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--solo-pine);
}

.tsa-solo .tsa-solo-quote cite {
    display: block;
    margin-top: 18px;
    font-style: normal;
    font-weight: 700;
    color: var(--solo-muted);
}

.tsa-solo .tsa-solo-fit {
    max-width: calc(760px + 2 * var(--solo-pad-x));
}

.tsa-solo .tsa-solo-fit p {
    margin: 14px 0 24px;
}

.tsa-solo .tsa-solo-faq {
    max-width: calc(860px + 2 * var(--solo-pad-x));
    padding-bottom: clamp(64px, 9vw, 112px);
}

.tsa-solo .tsa-solo-faq h2 {
    margin-bottom: 24px;
}

.tsa-solo .tsa-solo-faq details {
    border-top: 1px solid rgba(18, 64, 63, 0.18);
}

.tsa-solo .tsa-solo-faq details:last-of-type {
    border-bottom: 1px solid rgba(18, 64, 63, 0.18);
}

.tsa-solo .tsa-solo-faq summary {
    padding: 20px 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--solo-pine);
    cursor: pointer;
}

.tsa-solo .tsa-solo-faq details p {
    padding: 0 0 20px;
}

.tsa-solo .tsa-solo-faq details a {
    color: var(--solo-pine);
    text-decoration: underline;
}

.tsa-solo .tsa-solo-btns--end {
    margin-top: 40px;
}

/* -------------------------------------------------------------------- Phone */

@media (max-width: 860px) {
    .tsa-solo .tsa-solo-hero {
        min-height: 84svh;
    }

    .tsa-solo .tsa-solo-hero__img {
        object-position: 22% 40%;
    }
}

/* Tablet and phone: a plain cover photo, no parallax (coming-solo.js skips it here too). */
@media (max-width: 768px) {
    .tsa-solo .tsa-solo-hero__img {
        transform: none;
        will-change: auto;
    }

    .tsa-solo .tsa-solo-split,
    .tsa-solo .tsa-solo-split--flip {
        grid-template-columns: 1fr;
    }

    /* Copy first, then the photo, in both splits. */
    .tsa-solo .tsa-solo-split--flip .tsa-solo-split__img {
        order: 1;
    }

    .tsa-solo .tsa-solo-btns {
        flex-direction: column;
        align-items: stretch;
    }
}
