:root {
    --font-brand: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
    --font-label: clamp(0.875rem, 0.8rem + 0.35vw, 1.125rem);
    --font-date: clamp(1.5rem, 1rem + 3vw, 2.75rem);
    --font-title: clamp(1rem, 0.9rem + 0.8vw, 1.375rem);
    --font-venue: clamp(0.875rem, 0.8rem + 0.35vw, 1.125rem);
    --font-meta: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --content-max: 42rem;
    --pad-inline: max(1.25rem, env(safe-area-inset-left), env(safe-area-inset-right));
    --pad-block: max(1.25rem, env(safe-area-inset-top), env(safe-area-inset-bottom));
    --text: #fff;
    --text-muted: rgba(255, 255, 255, 0.85);
    --rule: rgba(255, 255, 255, 0.45);
    --scrim-alpha: 0.35;
    --scrim-radius: clamp(0.75rem, 2.5vw, 1.25rem);
}

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

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

body {
    font-family: "Raleway", system-ui, sans-serif;
    color: var(--text);
    background: #1a1a1a;
}

.hero {
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;
    min-height: 100dvh;
    padding:
        max(var(--pad-block), env(safe-area-inset-top))
        max(var(--pad-inline), env(safe-area-inset-right))
        max(var(--pad-block), env(safe-area-inset-bottom))
        max(var(--pad-inline), env(safe-area-inset-left));
    background-image: url("https://www.w3schools.com/w3images/forestbridge.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero__brand {
    font-size: var(--font-brand);
    font-weight: 600;
    letter-spacing: 0.02em;
    justify-self: start;
    align-self: start;
}

.hero__content {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: var(--content-max);
    margin-inline: auto;
    align-self: center;
    justify-self: center;
    padding: clamp(1.25rem, 3vw, 2rem) clamp(1.5rem, 4vw, 2.5rem);
    border-radius: var(--scrim-radius);
}

.hero__content::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(
        ellipse 100% 100% at 50% 50%,
        rgba(0, 0, 0, var(--scrim-alpha)) 0%,
        rgba(0, 0, 0, var(--scrim-alpha)) 75%,
        rgba(0, 0, 0, 0) 100%
    );
}

.hero__label {
    margin: 0 0 0.5rem;
    font-size: var(--font-label);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hero__date {
    margin: 0 0 0.75rem;
    font-size: var(--font-date);
    font-weight: 600;
    line-height: 1.2;
    text-wrap: balance;
}

.hero__date--loading {
    font-size: var(--font-title);
    font-weight: 400;
    color: var(--text-muted);
}

.hero__date--status {
    font-size: clamp(1.25rem, 0.9rem + 2vw, 2rem);
}

.hero__title {
    margin: 0 0 1rem;
    font-size: var(--font-title);
    font-weight: 400;
    line-height: 1.35;
    color: var(--text);
    overflow-wrap: anywhere;
    text-wrap: balance;
}

.hero__title--muted {
    color: var(--text-muted);
    font-size: var(--font-label);
}

.hero__rule {
    width: min(90%, 20rem);
    margin: 0 0 1rem;
    border: 0;
    border-top: 1px solid var(--rule);
}

.hero__venue {
    margin: 0;
    font-size: var(--font-venue);
    text-transform: lowercase;
    color: var(--text-muted);
}

.hero__meta {
    font-size: var(--font-meta);
    color: var(--text-muted);
    justify-self: start;
    align-self: end;
    line-height: 1.4;
}

@media (max-width: 380px) {
    .hero__content {
        padding: 1rem 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
