/* The coming-soon page (D-33, 2026-10-12). One screen: the home page's
   video under a frosted veil, the Peacox mark top centre where the top
   bar's mark sits, the formal name where the home page's title sits, and
   the launch line beneath it. Self-contained: it shares the site's fonts,
   video and colours but none of its stylesheet, so the full site stays
   untouched until it relaunches. */

@font-face {
    font-family: "Montserrat";
    src: url("/assets/fonts/montserrat-light.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Roboto";
    src: url("/assets/fonts/roboto-var.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    /* The full site's top-bar geometry (D-32), so the mark sits exactly
       where the site's lockup mark sits. */
    --mark-h: 4.3rem;
    --bar-pad: 0.85rem;
    --gold-light: #E8C98A;               /* Peacox gold (#B57A1E) lifted for a dark ground */
}
@media (max-width: 640px) {
    :root { --mark-h: 2.9rem; --bar-pad: 0.7rem; }
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
    background: #1B2A2A;                 /* before the poster paints */
    color: #fff;
    font-family: "Roboto", system-ui, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow: hidden;                    /* one screen, nothing below it */
    /* Content protection (D-34): nothing to select, and no iOS
       long-press menu (Save Image, Copy). coming-soon.js covers the
       desktop's right-click and shortcuts. */
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}
/* Images and the video cannot be dragged out or pressed on: a press
   lands on the page behind them, which offers no image to save. */
.cs-mark,
.cs-media video {
    pointer-events: none;
    -webkit-user-drag: none;
}

.cs {
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    min-height: 100svh;
    text-align: center;
    /* A column: the mark and the title at the top, the launch line held
       near the bottom by the free space between them (owner, 2026-10-13). */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1.25rem max(5.5rem, 14vh);   /* a little higher (owner, 2026-10-13) */
}
.cs-media {
    position: fixed;
    inset: 0;
    z-index: -2;
}
.cs-media video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;         /* as on the home page: faces sit high */
}
/* The veil: frosted glass over the whole frame. The footage still moves
   and its colour shows through, but no face or detail is readable, and
   white type clears 4.5:1 everywhere on it. A light top shade keeps the
   title as legible as on the home page. */
.cs-veil {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.05) 45%, rgba(0, 0, 0, 0.15) 100%),
        rgba(14, 22, 24, 0.17);
    /* A little more see-through (owner, 2026-10-12, twice): 11px of blur, a
       lighter tint; the top shade stays near its first strength so the
       title keeps its contrast. */
    -webkit-backdrop-filter: blur(11px) saturate(1.25);
    backdrop-filter: blur(11px) saturate(1.25);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .cs-veil { background: rgba(14, 22, 24, 0.82); }
}

/* The mark, alone, top centre, twice the site's lockup mark (owner,
   2026-10-13), its top at the height of the site's top bar. The image
   is the lifted mark baked at 2x and 3x of this size with its rim and
   glow (D-33): browsers draw it as a plain picture, with no SVG or CSS
   filter left to soften it on high-density screens. The file carries a
   transparent margin of 0.1744 of the mark's height around the shadow,
   hence the scale and the negative margin. */
.cs-mark {
    --logo-h: calc(var(--mark-h) * 2);
    display: block;
    flex-shrink: 0;
    height: calc(var(--logo-h) * 1.3488);
    width: auto;
    margin: calc(var(--bar-pad) - var(--logo-h) * 0.1744) 0 calc(var(--logo-h) * -0.1744);
}

/* The formal name where the home page's title sits (D-21), in the same
   face, size and tracking; the launch line right beneath it. */
.cs-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-top: 1.75rem;
}
.cs-title {
    margin: 0 auto;
    font-family: "Montserrat", "Roboto", system-ui, sans-serif;
    font-weight: 300;
    font-size: clamp(1.5rem, 2.8vw, 2.5rem);
    letter-spacing: 0.1em;
    text-indent: 0.1em;
    text-transform: uppercase;
    line-height: 1.45;
    text-shadow: 0 0 14px rgba(0, 0, 0, 0.6), 0 1px 2px rgba(0, 0, 0, 0.5);
}
.cs-title .tm {
    font-size: 0.42em;
    letter-spacing: 0;
    vertical-align: top;
    position: relative;
    top: 0.2em;
    margin-left: -0.05em;
}
/* The launch line: the site's label voice (Roboto Medium, small,
   widely tracked capitals) against the title's thin Montserrat, in a
   lifted Peacox gold, between two short hairlines. Same family of type
   as the site, a different register, so it reads as the news. */
.cs-launch {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35em 0.9em;
    margin: 2rem 0 0;
    font-weight: 400;                    /* at display size, 500 reads heavy */
    font-size: clamp(1.09rem, 1.54vw, 1.82rem);  /* twice the first size, then 30% off (owner, 2026-10-13) */
    letter-spacing: 0.3em;
    text-indent: 0.3em;                  /* re-centres the tracked line */
    text-transform: uppercase;
    color: var(--gold-light);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.cs-launch::before,
.cs-launch::after {
    content: "";
    width: 2.5rem;
    height: 1px;
    background: currentColor;
    opacity: 0.7;
}
.cs-date { color: #fff; }

@media (min-width: 901px) {
    .cs-title { white-space: nowrap; }
}
@media (max-width: 900px) {
    .cs-title { letter-spacing: 0.12em; text-indent: 0.12em; }
}
@media (max-width: 640px) {
    .cs-text { padding-top: 1.25rem; }
    /* Too narrow for one line: the two halves stack, the hairlines
       above and below them. */
    .cs-launch { flex-direction: column; gap: 0.8rem; font-size: 0.91rem; letter-spacing: 0.24em; text-indent: 0.24em; }
    .cs-launch::before, .cs-launch::after { width: 2rem; }
}

/* Printing (or "save as PDF") gets a single line, not the page (D-34).
   Last in the file: it must outrank .cs { display: flex } above. */
@media print {
    .cs { display: none; }
    body { background: #fff; color: #000; overflow: visible; }
    body::after {
        content: "Gro-Work - Official launch November 2026 - growork.org";
        display: block;
        padding: 2rem;
        font: 1rem "Roboto", sans-serif;
    }
}
