/* eyesopenedplay.com — single-page placeholder for the play in development.
   Palette: warm off-white ground, charcoal text.
   Font: Cormorant Garamond Light (Google Fonts). */

:root {
    --bg: #f7f5f0;
    --ink: #333333;
    --ink-soft: #5c5c5c;
    --serif: "Cormorant Garamond", Cormorant, Garamond, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

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

main {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1.5rem;
}

h1 {
    margin: 0;
    font-weight: 300;
    font-size: clamp(2rem, 8vw, 5.25rem);
    line-height: 1.1;
    letter-spacing: 0.25em;
    text-indent: 0.25em; /* offsets the trailing letter-space so the word sits centred */
    text-transform: uppercase;
}

p { margin: 0; }

.byline {
    margin-top: 2rem;
    font-size: clamp(1.2rem, 2.6vw, 1.6rem);
    letter-spacing: 0.12em;
    text-indent: 0.12em;
    text-transform: uppercase;
}

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

.byline a:hover,
.byline a:focus-visible {
    color: var(--ink-soft);
}

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

.status {
    margin-top: 2.4rem;
    font-weight: 400;
    font-size: clamp(0.8rem, 1.6vw, 0.95rem);
    letter-spacing: 0.22em;
    text-indent: 0.22em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

/* Phones: Cormorant Light is too thin at small sizes, so the two small
   lines step up a weight and a little size below 600px. */
@media (max-width: 600px) {
    main { padding: 2rem 1.25rem; }

    .byline {
        font-weight: 400;
        font-size: 1.2rem;
        letter-spacing: 0.1em;
        text-indent: 0.1em;
    }

    .status {
        font-weight: 500;
        font-size: 0.9rem;
        letter-spacing: 0.2em;
        text-indent: 0.2em;
    }
}
