/* SchreinerBlick 2.6 — review, responsive navigation and contact form */

html {
    scroll-padding-top: 96px;
}

.gh-head {
    position: sticky !important;
    top: 0;
    z-index: 1000;
    background: rgba(247, 243, 234, .96);
    border-bottom: 1px solid rgba(24, 24, 22, .12);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.gh-head-logo,
.wordmark {
    white-space: nowrap;
}

/* The former numbered strip looked like a row of buttons. */
.sb-strip {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .55rem 1rem !important;
    padding: 1.15rem max(6vw, 24px) !important;
    border-block: 1px solid rgba(24, 24, 22, .12) !important;
    background: transparent !important;
}

.sb-strip p,
.sb-strip > span {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    color: #55524d;
    font-size: clamp(1.3rem, 1.1vw, 1.55rem) !important;
    font-weight: 500 !important;
    line-height: 1.35;
    letter-spacing: .01em !important;
    text-transform: none !important;
}

.sb-strip p {
    color: #181816;
    font-weight: 700 !important;
}

.sb-strip > span::before {
    content: "·";
    margin-right: 1rem;
    color: #ff5624;
    font-weight: 700;
}

/* Compact customer journey: one continuous narrative instead of separate blocks. */
.sb-journey {
    width: min(1320px, calc(100% - 48px));
    margin: 0 auto;
    padding: clamp(88px, 10vw, 150px) 0;
}

.sb-journey-head {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
    gap: clamp(36px, 7vw, 100px);
    align-items: end;
    margin-bottom: clamp(48px, 6vw, 82px);
}

.sb-journey-head .sb-kicker {
    grid-column: 1 / -1;
    margin-bottom: -12px;
}

.sb-journey-head h2 {
    margin: 0;
    font-size: clamp(4.4rem, 6vw, 8rem);
    line-height: .96;
    letter-spacing: -.05em;
}

.sb-journey-head h2 em {
    color: #ff5624;
    font-style: normal;
}

.sb-journey-head > p:last-child {
    margin: 0;
    font-size: clamp(1.75rem, 1.55vw, 2.15rem);
    line-height: 1.55;
}

.sb-journey-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid #cfc9bd;
}

.sb-journey-steps article {
    position: relative;
    min-width: 0;
    padding: 30px clamp(24px, 3vw, 46px) 12px 0;
}

.sb-journey-steps article + article {
    padding-left: clamp(24px, 3vw, 46px);
    border-left: 1px solid #cfc9bd;
}

.sb-journey-number {
    margin-bottom: 50px;
    color: #ff5624;
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: .08em;
}

.sb-journey-label {
    margin: 0 0 16px;
    color: #55524d;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.sb-journey-steps h3 {
    margin: 0 0 20px;
    font-size: clamp(2.45rem, 2.4vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.sb-journey-steps article > p:last-child {
    margin: 0;
    color: #55524d;
    font-size: clamp(1.6rem, 1.3vw, 1.85rem);
    line-height: 1.55;
}

/* Make Ghost editor content, embeds and offer layouts shrink safely. */
.gh-content,
.gh-content > *,
.kg-card,
.kg-card > *,
.kg-callout-card,
.kg-button-card,
.sb-offers,
.sb-offers > *,
.sb-contact-page,
.sb-contact-page > * {
    min-width: 0;
    max-width: 100%;
}

.gh-content img,
.gh-content video,
.gh-content iframe,
.gh-content table {
    max-width: 100%;
}

.gh-content,
.sb-offers article,
.sb-contact-panel {
    overflow-wrap: anywhere;
}

/* Contact page */
.sb-contact-page {
    width: min(1320px, calc(100% - 48px));
    margin: 0 auto;
    padding: clamp(72px, 9vw, 140px) 0;
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(420px, 1.18fr);
    gap: clamp(48px, 8vw, 120px);
    align-items: start;
}

.sb-contact-intro h1 {
    margin: 24px 0 28px;
    font-size: clamp(4.8rem, 6.5vw, 9.2rem);
    line-height: .93;
    letter-spacing: -.055em;
}

.sb-contact-intro h1 em {
    color: #ff5624;
    font-style: normal;
}

.sb-contact-copy,
.sb-contact-response {
    max-width: 28em;
    font-size: clamp(1.8rem, 1.55vw, 2.25rem);
    line-height: 1.55;
}

.sb-contact-response {
    margin-top: 1.8rem;
}

.sb-contact-response a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sb-contact-panel {
    padding: clamp(28px, 4vw, 58px);
    background: #fff;
    box-shadow: 0 24px 70px rgba(36, 31, 24, .08);
}

.sb-contact-form {
    display: grid;
    gap: 24px;
}

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

.sb-contact-form label {
    display: grid;
    gap: 9px;
    min-width: 0;
}

.sb-contact-form label > span:first-child {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.sb-contact-form input,
.sb-contact-form select,
.sb-contact-form textarea {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    border: 1px solid #c9c5bc;
    border-radius: 0;
    background: #fff;
    color: #181816;
    font: inherit;
    font-size: 1.7rem;
    padding: 15px 16px;
}

.sb-contact-form textarea {
    resize: vertical;
}

.sb-contact-form input:focus,
.sb-contact-form select:focus,
.sb-contact-form textarea:focus {
    border-color: #ff5624;
    outline: 2px solid rgba(255, 86, 36, .18);
    outline-offset: 1px;
}

.sb-contact-consent {
    grid-template-columns: auto minmax(0, 1fr) !important;
    align-items: start;
    gap: 12px !important;
}

.sb-contact-consent input {
    -webkit-appearance: none !important;
    appearance: none !important;
    position: relative;
    display: grid;
    place-content: center;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin: 2px 0 0;
    padding: 0 !important;
    border: 2px solid #77726a;
    background: #fff;
    cursor: pointer;
}

.sb-contact-consent input::after {
    content: "";
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    opacity: 0;
    transform: translateY(-1px) rotate(45deg) scale(.7);
}

.sb-contact-consent input:checked {
    border-color: #ff5624;
    background: #ff5624;
}

.sb-contact-consent input:checked::after {
    opacity: 1;
    transform: translateY(-1px) rotate(45deg) scale(1);
}

.sb-contact-consent input:focus-visible {
    outline: 3px solid rgba(255, 86, 36, .28);
    outline-offset: 3px;
}

.sb-contact-consent span {
    font-size: 1.35rem !important;
    font-weight: 400 !important;
    line-height: 1.55;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.sb-contact-setup h2 {
    margin-top: 0;
    font-size: clamp(2.8rem, 4vw, 4.8rem);
}

.sb-contact-setup p {
    font-size: 1.8rem;
    line-height: 1.55;
}

@media (max-width: 900px) {
    body.gh-head-open {
        height: auto !important;
        overflow: auto !important;
    }

    #gh-head,
    body.gh-head-open #gh-head {
        position: sticky !important;
        inset: auto !important;
        top: 0 !important;
        height: auto !important;
        max-height: 100dvh;
        overflow: visible !important;
    }

    #gh-head .gh-head-inner {
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-rows: 72px !important;
        min-height: 72px;
        height: auto !important;
        padding-inline: 20px !important;
    }

    .gh-head-brand {
        min-width: 0;
    }

    .gh-head-brand .gh-head-logo {
        display: block;
        max-width: calc(100% - 54px);
        overflow: hidden;
        font-size: clamp(1.7rem, 5vw, 2.2rem) !important;
        text-overflow: clip;
    }

    body.gh-head-open #gh-head .gh-head-inner {
        grid-template-rows: 72px minmax(0, 1fr) auto !important;
        max-height: 100dvh;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    body.gh-head-open #gh-head .gh-head-menu {
        display: block !important;
        grid-row: 2;
        padding: 18px 0 24px;
        overflow-y: auto;
    }

    body.gh-head-open #gh-head .gh-head-menu .nav {
        gap: 0 !important;
    }

    body.gh-head-open #gh-head .gh-head-menu .nav a {
        display: block;
        padding: 13px 0;
        font-size: clamp(2rem, 7vw, 3.2rem) !important;
        line-height: 1.1;
        overflow-wrap: normal;
        word-break: normal;
    }

    body.gh-head-open #gh-head .gh-head-actions {
        display: block !important;
        grid-row: 3;
        padding: 0 0 22px;
    }

    body.gh-head-open #gh-head .gh-head-actions .gh-button {
        width: 100%;
        text-align: center;
    }

    .sb-contact-page {
        grid-template-columns: minmax(0, 1fr);
        width: min(100% - 36px, 720px);
        gap: 42px;
        padding-top: 56px;
    }

    .sb-journey-head {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .sb-journey-head .sb-kicker {
        margin-bottom: 0;
    }

    .sb-journey-head > p:last-child {
        max-width: 34em;
    }
}

@media (max-width: 620px) {
    .sb-strip {
        justify-content: flex-start;
    }

    .sb-strip p {
        flex-basis: 100%;
    }

    .sb-strip > span {
        flex-basis: 100%;
    }

    .sb-strip > span::before {
        margin-right: .65rem;
    }

    .sb-form-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .sb-contact-panel {
        padding: 24px 20px;
    }

    .sb-contact-intro h1 {
        font-size: clamp(4.2rem, 15vw, 6.4rem);
    }

    .sb-journey {
        width: min(100% - 36px, 720px);
        padding-block: 72px;
    }

    .sb-journey-steps {
        grid-template-columns: minmax(0, 1fr);
    }

    .sb-journey-steps article,
    .sb-journey-steps article + article {
        padding: 26px 0 34px;
        border-left: 0;
        border-bottom: 1px solid #cfc9bd;
    }

    .sb-journey-number {
        margin-bottom: 24px;
    }
}

@media (max-height: 520px) and (orientation: landscape) and (max-width: 900px) {
    #gh-head .gh-head-inner {
        grid-template-rows: 58px !important;
        min-height: 58px;
    }

    body.gh-head-open #gh-head .gh-head-inner {
        grid-template-rows: 58px minmax(0, 1fr) auto !important;
    }

    body.gh-head-open #gh-head .gh-head-menu .nav a {
        padding: 8px 0;
        font-size: 2rem !important;
    }
}
