:root {
    --navy: #103B5B;
    --cream: #F9F6F0;
    --turquoise: #4599AA;
    --yellow: #FFC629;
    --ink: #1c2a33;
    --muted: #5c6a72;
    --line: #e4ddd0;
    --deep-teal: #143e48;
    color-scheme: light;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--cream);
    color: var(--ink);
    font-family: "Source Sans 3", "Source Sans Pro", "Segoe UI", sans-serif;
    font-size: 1.125rem;
    line-height: 1.6;
}

main {
    flex: 1 0 auto;
}

main:focus {
    outline: none;
}

img {
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3,
.text-logo {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
}

::selection {
    background: var(--yellow);
    color: var(--navy);
}

:focus {
    outline: none;
}

:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -3rem;
    z-index: 10;
    background: var(--yellow);
    color: var(--navy);
    padding: 0.45rem 0.75rem;
    font-weight: 600;
    text-decoration: none;
}

.skip-link:focus,
.skip-link:focus-visible {
    top: 1rem;
}

.site-header {
    background: var(--navy);
    color: var(--cream);
    text-align: center;
}

.gate-header {
    padding-bottom: 1.75rem;
}

.gate {
    max-width: 28rem;
}

.brand {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 1.75rem 1rem 0;
    color: inherit;
    text-decoration: none;
}

.wordmark {
    display: block;
    color: #fff;
    font-family: Montserrat, "Arial Black", "Segoe UI", sans-serif;
    font-weight: 800;
    font-size: clamp(2.05rem, 4vw, 2.85rem);
    letter-spacing: -0.03em;
    line-height: 1;
}

.wordmark .humor {
    color: var(--yellow);
}

img.wordmark {
    width: min(100%, 22rem);
    margin: 0 auto;
}

.tagline {
    max-width: 28rem;
    margin: 0.8rem auto 0.35rem;
    color: #f3eadb;
    font-size: 1.05rem;
    line-height: 1.45;
}

.nav-toggle {
    display: none;
    margin: 0.35rem auto 1rem;
    background: transparent;
    color: var(--cream);
    border: 1px solid rgba(249, 246, 240, 0.45);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font: 600 0.85rem/1 "Source Sans 3", "Source Sans Pro", "Segoe UI", sans-serif;
    padding: 0.6rem 0.95rem;
    cursor: pointer;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 0.35rem 1rem 1.35rem;
}

.site-nav a {
    color: var(--cream);
    text-decoration: none;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 0.45rem 1rem;
}

.site-nav a + a {
    box-shadow: inset 1px 0 0 rgba(249, 246, 240, 0.35);
}

.site-nav a:hover,
.site-nav a.is-current {
    color: var(--yellow);
}

@media (max-width: 700px) {
    .js .nav-toggle {
        display: inline-flex;
    }

    .js .site-nav {
        display: none;
        flex-direction: column;
        padding-top: 0.25rem;
    }

    .js .site-nav[data-open="true"] {
        display: flex;
    }

    .js .site-nav a + a {
        box-shadow: none;
    }
}

.banner {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 28rem;
    padding: 4.5rem 1.5rem;
    background:
        radial-gradient(ellipse at center, #fff8ec 0%, #f4e2c4 46%, #d7ebe8 78%, #4599aa 130%);
}

.banner.has-photo {
    background:
        radial-gradient(ellipse at center, rgba(249, 246, 240, 0.9) 0%, rgba(249, 246, 240, 0.62) 34%, rgba(249, 246, 240, 0.12) 68%),
        var(--banner) center/cover no-repeat;
}

.banner-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 40rem;
}

.banner h1 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(2.15rem, 4.8vw, 3.55rem);
    line-height: 1.15;
    text-wrap: balance;
}

img.heart {
    width: 6.5rem;
    margin: 1.25rem auto 0.15rem;
}

.banner-support {
    margin: 1.15rem 0 0;
    color: var(--navy);
    font-size: 1.28rem;
}

.punchline {
    display: inline-block;
    margin: 0.35rem 0 0;
    padding-bottom: 0.12rem;
    border-bottom: 3px solid var(--yellow);
    color: var(--navy);
    font-family: "Source Sans 3", "Source Sans Pro", "Segoe UI", sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.offerings {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 74rem;
    margin: 0 auto;
    padding: 4.25rem 1.5rem 5rem;
}

@media (min-width: 960px) {
    .offerings {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.75rem;
    }
}

.offering {
    display: flex;
    flex-direction: column;
    background: white;
    box-shadow: 0 12px 32px rgba(16, 59, 91, 0.06);
}

.offering-photo {
    aspect-ratio: 4 / 3;
    max-height: 18rem;
}

.offering-photo.screenplays {
    background: linear-gradient(160deg, #f6e7cf, #e2b98a 55%, #8d6744);
}

.offering-photo.books {
    background: linear-gradient(160deg, #fbf7f0, #e6d3b4 48%, #6d8f96);
}

.offering-photo.beyond {
    background: linear-gradient(160deg, #f8e7a8, #4599aa 68%, #103b5b);
}

.offering-photo.has-photo {
    background: var(--photo) center/cover no-repeat;
}

.offering-body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
    padding: 1.4rem 1.4rem 1.55rem;
}

.offering-body h2 {
    margin: 0;
    color: var(--navy);
    font-size: 1.8rem;
    line-height: 1.2;
}

.offering-body p {
    margin: 0;
}

a.more {
    align-self: flex-start;
    margin-top: auto;
    color: var(--navy);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 2px solid var(--yellow);
    padding-bottom: 0.08rem;
}

a.more:hover {
    color: var(--turquoise);
}

.celebrating {
    background: var(--deep-teal);
    text-align: center;
}

.celebrating.has-photo {
    background:
        linear-gradient(180deg, rgba(20, 62, 72, 0.28), rgba(20, 62, 72, 0.82)),
        var(--sunset) center/cover no-repeat;
}

.celebrating-fade {
    height: 7rem;
    background: linear-gradient(180deg, var(--cream) 0%, rgba(249, 246, 240, 0) 100%);
}

.celebrating-panel {
    max-width: 40rem;
    margin: 0 auto;
    padding: 1.25rem 1.5rem 4.25rem;
    color: var(--cream);
}

.celebrating h2 {
    margin: 0 0 0.9rem;
    color: var(--cream);
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.2;
    text-wrap: balance;
}

.celebrating-line {
    margin: 0 auto;
    max-width: 34rem;
    font-size: 1.25rem;
    line-height: 1.5;
}

.celebrating-logo {
    display: inline-block;
    margin-top: 1.6rem;
    color: var(--yellow);
    font-size: clamp(2.2rem, 5vw, 3.35rem);
    letter-spacing: -0.03em;
    line-height: 1;
}

img.celebrating-logo {
    width: min(100%, 26rem);
    margin-top: 1.6rem;
}

.page {
    max-width: 44rem;
    margin: 0 auto;
    padding: 3.5rem 1.5rem 4.5rem;
}

.page-header h1 {
    margin: 0 0 0.75rem;
    color: var(--navy);
    font-size: clamp(2.2rem, 5vw, 3.35rem);
    line-height: 1.15;
    text-wrap: balance;
}

.lede {
    margin: 0;
    color: var(--navy);
    font-size: 1.35rem;
    line-height: 1.45;
}

.prose {
    margin-top: 1.5rem;
}

.prose p {
    margin: 0 0 1rem;
}

.catalog {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-top: 2.5rem;
}

.catalog-item {
    border-top: 1px solid var(--line);
    padding-top: 1.35rem;
}

.catalog-item h2 {
    margin: 0;
    color: var(--navy);
    font-size: 1.7rem;
    line-height: 1.25;
}

.meta {
    margin: 0.35rem 0 0.7rem;
    color: var(--turquoise);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.logline {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
    color: var(--navy);
}

.next-step {
    margin: 2.75rem 0 0;
}

.site-footer {
    margin: 0;
    padding: 1.4rem 1.5rem 1.8rem;
    text-align: center;
    background: var(--cream);
    color: var(--muted);
}

.site-footer p {
    margin: 0;
    font-size: 0.95rem;
}

body:not(.home) .site-footer {
    border-top: 1px solid var(--line);
}

body.home .site-footer {
    background: var(--deep-teal);
    color: rgba(249, 246, 240, 0.78);
}

.field {
    margin: 0 0 1.15rem;
}

.field label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 600;
    color: var(--navy);
}

input,
textarea,
select {
    width: 100%;
    padding: 0.75rem 0.85rem;
    border: 1px solid #d5d0c6;
    border-radius: 2px;
    background: white;
    color: var(--ink);
    font: inherit;
}

textarea {
    min-height: 9rem;
    resize: vertical;
}

.input-validation-error {
    border-color: #8a3d2f;
}

.field-validation-error,
.validation-summary-errors {
    color: #8a3d2f;
}

.field-validation-error {
    display: block;
    min-height: 0;
    margin-top: 0.35rem;
    font-size: 0.98rem;
}

.field-validation-error:empty {
    display: none;
}

.validation-summary-errors {
    margin: 0 0 1.15rem;
}

.submit {
    margin-top: 0.4rem;
    padding: 0.85rem 1.4rem;
    border: 0;
    background: var(--navy);
    color: white;
    cursor: pointer;
    font: 700 0.95rem/1 "Source Sans 3", "Source Sans Pro", "Segoe UI", sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.submit:hover {
    background: #0c2e47;
}

.confirmation {
    margin: 1.75rem 0 0;
    padding: 1.25rem 1.35rem;
    background: white;
    border-top: 4px solid var(--turquoise);
    font-size: 1.25rem;
}

.dev-note {
    margin: 1.5rem 0 0;
    padding: 0.8rem 1rem;
    background: #fff8e4;
    border-left: 4px solid var(--yellow);
}

.hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

code {
    font-size: 0.95rem;
}

@media (max-width: 700px) {
    .banner {
        min-height: 0;
        padding: 3.25rem 1.25rem;
    }

    .celebrating-fade {
        height: 4.5rem;
    }
}
