/* dangerouschemistry.com — single-page placeholder for the play in development.
   Palette: black ground, bright red type (5.7:1 on black).
   Font: Special Elite (Google Fonts), a typewriter face with one weight, so
   nothing here sets a bold. */

:root {
    --bg: #000000;
    --red: #ff2e2e;
    --red-lit: #ff6b6b;
    --type: "Special Elite", "Courier New", Courier, monospace;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--red);
    font-family: var(--type);
    font-weight: 400;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    min-height: 100vh;
    min-height: 100svh;
    /* Title, byline and status sit in the three middle rows, centred in the
       viewport by the equal 1fr rows; the Instagram line sits at the foot of
       the last row. On a short viewport that row grows instead of overlapping. */
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 1fr auto auto auto 1fr;
    justify-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
}

h1 {
    grid-row: 2;
    margin: 0;
    font-weight: 400;
    font-size: clamp(2.5rem, 10vw, 5.5rem);
    line-height: 1.15;
    letter-spacing: 0.03em;
}

h1 span { display: block; }

p { margin: 0; }

.byline {
    grid-row: 3;
    margin-top: 2.2rem;
    font-size: clamp(1rem, 2.2vw, 1.35rem);
    letter-spacing: 0.12em;
    text-indent: 0.12em; /* offsets the trailing letter-space so the line sits centred */
    text-transform: uppercase;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 150ms ease;
}

a:hover,
a:focus-visible {
    color: var(--red-lit);
}

a:focus-visible {
    outline: 2px solid var(--red-lit);
    outline-offset: 4px;
}

/* The "Instagram:" label shares the status line's treatment; the handle
   itself stays lowercase. */
.status,
.social .label {
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.status {
    grid-row: 4;
    margin-top: 2.2rem;
    text-indent: 0.2em;
}

.social {
    grid-row: 5;
    align-self: end;
    margin-top: 2.4rem;
    font-size: clamp(1rem, 1.9vw, 1.2rem);
    letter-spacing: 0.04em;
}

@media (max-width: 600px) {
    main { padding: 2rem 1.25rem; }

    .byline {
        letter-spacing: 0.1em;
        text-indent: 0.1em;
    }
}
