/* femiem.com's coming-soon page (entry 363), until the B2C website is published.
   Brand type and colours of the website (entries 157, 265, 324): Cinzel titles, Lora text, #5A5A5A text on light,
   #F8F8F8 on dark, #1F1F1F for black; links without underline at rest, the animated line on hover (entry 332). */

@font-face {
    font-family: "Cinzel";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/cinzel-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Cinzel";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/cinzel-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Lora";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/lora-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Lora";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/lora-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --soon-bg: #f8f8f8;
    --soon-text: #5a5a5a;
    --soon-title: #4a4a4a;
    --soon-strong: #1f1f1f;
    --soon-line: #8a8a8a;
    color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
    :root {
        --soon-bg: #1f1f1f;
        --soon-text: #f8f8f8;
        --soon-title: #f8f8f8;
        --soon-strong: #f8f8f8;
        --soon-line: #8a8a8a;
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

.soon {
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding: 48px 16px;
    background: var(--soon-bg);
    color: var(--soon-text);
    font-family: "Lora", Georgia, serif;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0.7px;
    text-align: center;
}

.soon__main {
    width: min(520px, 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* The one strong element: the word mark, widely tracked. */
.soon__mark {
    margin: 0;
    font-family: "Cinzel", Georgia, serif;
    font-weight: 400;
    font-size: clamp(34px, 9vw, 56px);
    line-height: 1.1;
    letter-spacing: 0.32em;
    margin-right: -0.32em; /* the tracking after the last letter would push it off centre */
    color: var(--soon-strong);
}

.soon__rule {
    display: block;
    width: 48px;
    height: 1px;
    margin: 32px 0;
    background: var(--soon-line);
}

.soon__title {
    margin: 0 0 16px;
    font-family: "Cinzel", Georgia, serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: 3.5px;
    color: var(--soon-title);
}

.soon__text {
    margin: 0 0 32px;
    max-width: 44ch;
}

.soon__link {
    color: var(--soon-strong);
    text-decoration: none;
    padding-bottom: 3px;
    background-image: linear-gradient(currentColor, currentColor);
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0 1px;
    transition: background-size 0.35s ease;
}

.soon__link:hover,
.soon__link:focus-visible {
    background-size: 100% 1px;
}

.soon__link:focus-visible {
    outline: 1px solid var(--soon-line);
    outline-offset: 6px;
}

@media (prefers-reduced-motion: reduce) {
    .soon__link {
        transition: none;
    }
}
