* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #004953;
    color: #FFF0D9;
    font-family: 'Baskervville', serif;
}

/* Header */

header {
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 240, 217, 0.3);
    flex-shrink: 0;
    flex-wrap: wrap;
}

.nav-logo {
    display: block;
    line-height: 0;
    margin-right: auto;
}

.nav-logo-hidden {
    visibility: hidden;
    pointer-events: none;
}

.nav-logo img {
    height: 36px;
    width: auto;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #FFF0D9;
    transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav ul a {
    color: #FFF0D9;
    text-decoration: none;
    font-family: 'Baskervville', serif;
    font-size: 1rem;
    display: inline;
}

nav ul a:hover {
    text-decoration: underline;
}

/* Home page */

.home-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.container img {
    max-width: 100%;
    height: auto;
    margin: 4rem 0;
}

.description {
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

.coming-soon {
    font-style: italic;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.email-signup {
    margin-bottom: 2rem;
    padding: 2rem 1rem;
    border-top: 1px solid rgba(255, 240, 217, 0.3);
    border-bottom: 1px solid rgba(255, 240, 217, 0.3);
}

.signup-headline {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    font-weight: normal;
}

.signup-description {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    opacity: 0.9;
}

.email-form {
    display: flex;
    gap: 0.5rem;
    max-width: 400px;
    margin: 0 auto;
}

.email-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: #FFF0D9;
    border: none;
    color: #004953;
    font-family: 'Baskervville', serif;
    font-size: 1rem;
}

.email-form input::placeholder {
    color: rgba(0, 73, 83, 0.6);
}

.email-form button {
    padding: 0.75rem 1.5rem;
    background: #FFF0D9;
    border: none;
    color: #004953;
    font-family: 'Baskervville', serif;
    font-size: 1rem;
    cursor: pointer;
    transition: opacity 0.2s;
}

.email-form button:hover {
    opacity: 0.9;
}

.email-form button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-message {
    margin-top: 1rem;
    font-size: 0.95rem;
}

.form-message.success {
    color: #90EE90;
}

.form-message.error {
    color: #FFB6C1;
}

.links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.links a {
    color: #FFF0D9;
    text-decoration: none;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.links a:hover {
    text-decoration: underline;
}

.social-icon {
    width: 24px;
    height: 24px;
    fill: #FFF0D9;
}

/* Footer */

footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(255, 240, 217, 0.3);
    flex-shrink: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-right {
    display: flex;
    align-items: flex-start;
}

footer a {
    color: #FFF0D9;
    text-decoration: none;
    font-family: 'Baskervville', serif;
    font-size: 0.9rem;
    opacity: 0.7;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

footer a:hover {
    opacity: 1;
    text-decoration: underline;
}

footer .social-icon {
    width: 18px;
    height: 18px;
    fill: #FFF0D9;
}

/* Page header */

.page-header {
    text-align: center;
    padding: 3rem 2rem;
    border-bottom: 1px solid rgba(255, 240, 217, 0.3);
}

.page-header h1 {
    font-size: 2.8rem;
    font-weight: normal;
    font-family: 'Baskervville', serif;
    color: #FFF0D9;
    line-height: 1.2;
}

@media (max-width: 480px) {
    .page-header {
        padding: 2rem 1rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}

/* Inner pages */

.page-main {
    flex: 1;
    padding: 3rem 2rem;
    width: 100%;
}

.page-content {
    max-width: 640px;
    margin: 0 auto;
    width: 100%;
}

.page-content p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

.page-content h2 {
    font-size: 2.8rem;
    font-weight: normal;
    font-family: 'Baskervville', serif;
    color: #FFF0D9;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 2rem;
}

@media (max-width: 480px) {
    .page-content h2 {
        font-size: 2rem;
    }
}

.page-content h3 {
    font-size: 1.2rem;
    font-weight: normal;
    margin-bottom: 0.75rem;
    margin-top: 2rem;
}

.page-content a {
    color: #FFF0D9;
    text-decoration: underline;
}

.page-content a:hover {
    opacity: 0.8;
    text-decoration: none;
}

.page-content ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.page-content ul li {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* About CTA */

.about-cta {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 240, 217, 0.3);
}

.about-cta p {
    margin-bottom: 1.5rem;
}

.about-cta-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.about-cta-links a {
    color: #FFF0D9;
    text-decoration: none;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.about-cta-links a:hover {
    text-decoration: underline;
    opacity: 1;
}

.about-cta-links .social-icon {
    width: 20px;
    height: 20px;
    fill: #FFF0D9;
    flex-shrink: 0;
}

/* Pairings CTA */

.pairings-cta {
    margin-top: 3rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 240, 217, 0.3);
    border-bottom: 1px solid rgba(255, 240, 217, 0.3);
}

.pairings-cta p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.pairings-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.pairings-cta-buttons a {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: #FFF0D9;
    color: #004953;
    font-family: 'Baskervville', serif;
    font-size: 1rem;
    text-decoration: none;
    transition: opacity 0.2s;
}

.pairings-cta-buttons a:hover {
    opacity: 0.85;
    text-decoration: none;
}

@media (max-width: 480px) {
    .pairings-cta-buttons {
        flex-direction: column;
    }
    .pairings-cta-buttons a {
        text-align: center;
    }
}

/* Careers */

.job-section {
    margin-top: 2rem;
    padding: 2rem;
    background: #FFF5F1;
    color: #0F0F0F;
}

.page-content .job-section h3 {
    color: #0F0F0F;
    margin-top: 0;
}

.page-content .job-section p {
    color: #0F0F0F;
    margin-bottom: 0;
}

.page-content .job-section a {
    display: inline-block;
    margin-top: 1.25rem;
    padding: 0.6rem 1.2rem;
    background: #004953;
    color: #FFF0D9;
    font-family: 'Baskervville', serif;
    font-size: 1rem;
    text-decoration: none;
}

.page-content .job-section a:hover {
    opacity: 0.85;
    text-decoration: none;
}

@media (max-width: 480px) {
    .job-section {
        padding: 1.5rem;
    }

    .page-content .job-section a {
        display: block;
        text-align: center;
    }
}

/* @media */

@media (max-width: 480px) {
    header {
        padding: 1rem 1.25rem;
    }

    .nav-toggle {
        display: flex;
    }

    #main-nav {
        display: none;
        width: 100%;
    }

    #main-nav.nav-open {
        display: block;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 0.75rem 0 0.25rem;
    }

    nav ul li {
        width: 100%;
        border-top: 1px solid rgba(255, 240, 217, 0.3);
    }

    nav ul a {
        display: block;
        padding: 0.75rem 0;
    }

    .description,
    .coming-soon,
    .signup-description {
        font-size: 1rem;
    }

    .signup-headline {
        font-size: 1.15rem;
    }

    .email-form {
        flex-direction: column;
    }

    .email-form button {
        width: 100%;
    }

    .links a {
        font-size: 1rem;
    }

    .page-main {
        padding: 2rem 1rem;
    }

    .page-content p,
    .page-content ul li {
        font-size: 1rem;
    }

    footer {
        padding: 1.25rem 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .footer-right {
        align-self: flex-start;
    }
}
