/* Coming-soon email signup page. Layout and form styling only: text, colours
   and fonts are set in Elementor and follow its global Site Settings.
   The rgba(23, 24, 21, x) values below are the brand's Primary colour (#171815). */

body { margin: 0; background: var(--e-global-color-primary, #171815); -webkit-font-smoothing: antialiased; }
.elementor-widget-text-editor p { margin: 0; }

/* Gold line + small caps label, as on the main site */
.sl-eyebrow .elementor-heading-title {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--e-global-typography-primary-font-family), sans-serif;
}
.sl-eyebrow .elementor-heading-title::before {
    content: "";
    flex: none;
    width: 34px;
    height: 1px;
    background: var(--e-global-color-accent);
}

/* Hero: isolate keeps the photo's blend mode working against the hero background */
.e-con.sl-hero { position: relative; overflow: hidden; isolation: isolate; min-height: min(calc(100svh - 69px), 900px); }
.e-con.sl-content { position: relative; z-index: 2; --width: min(688px, 50%); }
.sl-content h1 { max-width: 600px; }

.sl-media { position: absolute !important; top: 0; right: 0; bottom: 0; width: 54%; }
.sl-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 6%;
    mix-blend-mode: lighten; /* anything darker than the page colour becomes the page colour, so the photo has no edge */
}
.sl-media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, #171815 0%, rgba(23, 24, 21, .94) 12%, rgba(23, 24, 21, .62) 26%, rgba(23, 24, 21, .22) 42%, rgba(23, 24, 21, 0) 58%),
        linear-gradient(0deg, #171815 0%, rgba(23, 24, 21, 0) 22%),
        linear-gradient(180deg, rgba(23, 24, 21, .5) 0%, rgba(23, 24, 21, 0) 14%);
}
.sl-hero::after {
    content: "SM";
    position: absolute;
    right: -14px;
    bottom: -28px;
    color: rgba(255, 255, 255, .035);
    font: 700 230px/1 var(--e-global-typography-primary-font-family), sans-serif;
    letter-spacing: -.06em;
    pointer-events: none;
}

/* The four benefits */
.e-con.sl-benefits { max-width: 540px; }
.e-con.sl-benefit { display: grid; grid-template-columns: 44px 1fr; align-items: baseline; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.e-con.sl-benefit:last-child { border-bottom: 1px solid rgba(255, 255, 255, .14); }

/* Signup form */
.sl-form__row { display: flex; gap: 8px; max-width: 540px; }
.sl-form__field { flex: 1 1 auto; min-width: 0; }
.sl-form__label {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.sl-form__input {
    display: block;
    width: 100%;
    height: 56px;
    padding: 0 18px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 0;
    background: rgba(255, 255, 255, .04);
    color: #fff;
    font-family: var(--e-global-typography-text-font-family), sans-serif;
    font-size: 16px; /* below 16px, iPhones zoom in on tap */
    transition: border-color .2s, background-color .2s;
}
.sl-form__input::placeholder { color: rgba(255, 255, 255, .66); opacity: 1; }
.sl-form__input:hover { border-color: rgba(255, 255, 255, .5); }
.sl-form__input:focus { outline: none; border-color: var(--e-global-color-accent); background: rgba(255, 255, 255, .08); }
.sl-form__button {
    flex: 0 0 auto;
    height: 56px;
    padding: 0 26px;
    border: 0;
    border-radius: 0;
    background: var(--e-global-color-accent);
    color: var(--e-global-color-primary);
    font: 700 12px var(--e-global-typography-primary-font-family), sans-serif;
    letter-spacing: .14em;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    transition: filter .2s;
}
.sl-form__button span { margin-left: 8px; font-size: 15px; letter-spacing: 0; }
.sl-form__button:hover { filter: brightness(1.1); }
.sl-form__button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.mc4wp-alert { max-width: 540px; margin-top: 12px; color: #fff; font-size: 15px; line-height: 1.5; }
.mc4wp-alert p { margin: 0; }
.mc4wp-success { margin-top: 0; padding: 16px 18px; border-left: 3px solid var(--e-global-color-accent); background: rgba(255, 255, 255, .06); font-size: 17px; }
.mc4wp-error, .mc4wp-notice { color: #f3c9a0; }

/* Tablet and phone: photo on top, form straight after it */
@media (max-width: 1024px) {
    .e-con.sl-hero { min-height: 0; }
    .sl-hero::after { display: none; }
    .e-con.sl-content { --width: 100%; }
    .sl-content h1 { max-width: none; }
    .sl-media { position: relative !important; width: 100%; height: 600px; }
    .sl-media img { object-position: 50% 5%; }
    .sl-media::after { background: linear-gradient(0deg, #171815 0%, rgba(23, 24, 21, .5) 16%, rgba(23, 24, 21, 0) 38%); }

}

@media (max-width: 767px) {
    .sl-media { height: min(44vh, 400px); }
}

@media (max-width: 480px) {
    .sl-form__row { flex-direction: column; }
    .sl-form__field, .sl-form__button { flex: none; width: 100%; }
}



/* Shorter screens: the watermark would sit on top of the photo's hands */
@media (max-height: 820px) {
    .sl-hero::after { display: none; }
}

/* Very small phones: keep the label above the headline on one row */
@media (max-width: 400px) {
    .sl-eyebrow .elementor-heading-title {
        gap: 8px;
        font-size: 10px !important;
        letter-spacing: .12em !important;
        white-space: nowrap;
    }
    .sl-eyebrow .elementor-heading-title::before { width: 16px; }
}

/* Sending without a page reload (js/mailchimp-ajax.js) */
.mc4wp-form.is-sending button, .mc4wp-form.is-sending input[type="submit"] { opacity: .6; cursor: progress; }
