/* Lumacast Studio -- static site (2026-10-21), converted from the WordPress
   block theme. Same palette, type scale and spacing as the old theme.json, so
   the page looks as it did; component classes keep the shared novus- prefix. */

:root {
    --base: #080B16;
    --surface: #141927;
    --surface-2: #1B2132;
    --border: #283048;
    --text: #E6EDF3;
    --text-muted: #B6BECC;
    --text-faint: #8A93A6;
    --accent: #2DA0FC;
    --accent-soft: #A98BFF;

    --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --mono: 'Cascadia Code', 'JetBrains Mono', ui-monospace, SFMono-Regular, Consolas, 'Liberation Mono', monospace;

    --fs-small: 0.875rem;
    --fs-large: 1.25rem;
    --fs-x-large: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
    --fs-xx-large: clamp(2.25rem, 1.6rem + 3vw, 3.75rem);

    --sp-20: 1rem;
    --sp-30: 1.5rem;
    --sp-40: 2.5rem;
    --sp-50: 4rem;
    --sp-60: 6rem;

    --content: 46rem;
    --wide: 72rem;
    color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--base);
    color: var(--text);
    font-family: var(--sans);
    font-size: 1rem;
    line-height: 1.65;
}
img { max-width: 100%; }

a { color: var(--accent); }
a:hover { color: var(--accent-soft); }

h1, h2, h3 {
    color: var(--text);
    font-weight: 650;
    line-height: 1.2;
    letter-spacing: -0.015em;
}
h1 { font-size: var(--fs-xx-large); }
h2 { font-size: var(--fs-x-large); margin: 2.5rem 0 1rem; }

/* Content column: centred, with the old theme's root side padding. */
.wrap {
    width: 100%;
    max-width: calc(var(--content) + 2 * var(--sp-30));
    margin-inline: auto;
    padding-inline: var(--sp-30);
}
.wrap--wide { max-width: calc(var(--wide) + 2 * var(--sp-30)); }

/* --- Accessibility: never remove a visible focus ring ------------------ */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline: 2px solid var(--accent-soft);
    outline-offset: 2px;
    border-radius: 3px;
}
.skip-link:not(:focus) {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden; clip-path: inset(50%);
    white-space: nowrap;
}
.skip-link:focus {
    position: fixed; top: 1rem; left: 1rem; z-index: 999;
    background: var(--accent);
    color: var(--base); padding: 0.6rem 1rem; border-radius: 6px;
}

/* --- Small text helpers ------------------------------------------------- */
.lead { color: var(--text-muted); font-size: var(--fs-large); line-height: 1.5; }
.muted { color: var(--text-muted); }

.novus-eyebrow {
    font-family: var(--mono);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

/* --- Status pill ------------------------------------------------------- */
.novus-pill {
    display: inline-block;
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    border: 1px solid currentColor;
    line-height: 1.4;
}
.novus-pill--planned { color: var(--text-faint); }

/* --- Site header ------------------------------------------------------- */
.novus-header {
    border-bottom: 1px solid var(--border);
    background: rgba(8, 11, 22, 0.85);
    backdrop-filter: saturate(140%) blur(8px);
    position: sticky; top: 0; z-index: 50;
    padding-block: var(--sp-20);
}
.novus-header .wrap {
    display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem;
    align-items: center; justify-content: space-between;
}
.novus-header .logo img { display: block; width: 190px; height: auto; }
/* Lumacast has no menu: the right side is one quiet link back to Novus. */
.novus-header p { margin: 0; font-size: var(--fs-small); }
.novus-header p a { color: var(--text-muted); text-decoration: none; }
.novus-header p a:hover { color: var(--accent); }

/* --- Home hero -----------------------------------------------------------
   The background is a 1672x941 render with an empty dark field where the
   brand goes. The FRAME keeps the image's aspect ratio and is cropped like
   `background-size: cover`; the wordmark is placed in frame percentages, so
   it stays on the same spot of the artwork at every width. */
.site-hero {
    position: relative;
    overflow: hidden;
    height: clamp(300px, calc(100vw * 941 / 1672), 86vh);
    background: var(--base);
}
.site-hero__frame {
    position: absolute;
    top: 50%; left: 50%;
    width: max(100%, calc(300px * 1672 / 941));
    aspect-ratio: 1672 / 941;
    transform: translate(-50%, -50%);
    background: url(hero/hero-1672.webp) center / 100% 100% no-repeat;
}
@media (max-width: 1300px) { .site-hero__frame { background-image: url(hero/hero-1280.webp); } }
@media (max-width: 800px)  { .site-hero__frame { background-image: url(hero/hero-768.webp); } }
/* fade the bottom edge into the page instead of ending on a hard line */
.site-hero::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18%;
    background: linear-gradient(to bottom, transparent, var(--base));
    pointer-events: none;
}
/* The raster wordmark (the metal and gradient are the point), 1200 px wide
   shown at 31% of the frame. On a phone the frame is wider than the screen,
   so anchor it LEFT and the crop keeps the word. */
.site-hero__brand {
    position: absolute; margin: 0; line-height: 0;
    width: 31%; left: 4.5%; top: 44%; transform: translateY(-50%);
    filter: drop-shadow(0 0 14px rgba(70, 120, 255, 0.40));
}
.site-hero__brand img { display: block; width: 100%; height: auto; }
@media (max-width: 600px) { .site-hero__frame { left: 0; transform: translateY(-50%); } }

main { padding-top: var(--sp-50); }
main.page-404 { padding-block: var(--sp-60); }
main.page-404 h1 { margin-top: 0; }

/* --- Footer ------------------------------------------------------------ */
.novus-footer {
    margin-top: var(--sp-60);
    padding-block: var(--sp-40);
    border-top: 1px solid var(--border);
    color: var(--text-faint);
    font-size: var(--fs-small);
}
.novus-footer p { margin: 0 0 0.5rem; }
.novus-footer .brand { color: var(--text); font-weight: 600; font-size: 1rem; }
.novus-footer .tagline { max-width: 22rem; }
.novus-footer a { color: var(--text-muted); text-decoration: none; }
.novus-footer a:hover { color: var(--accent-soft); text-decoration: underline; }
.novus-footer hr { border: 0; border-top: 1px solid var(--border); margin: var(--sp-30) 0; }
