/* -----------------------------------------------------------
 * MEET PAGE (/meet) — QR landing page for fairs and events
 * Template: meet.html → page-meet.php
 * -------------------------------------------------------- */
.meet-page {
    background: var(--color-bg-light);
    color: var(--color-text-main);
    min-height: 100svh;
    display: flex;
    flex-direction: column;
}

/* Top bar */
.meet-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.25rem;
}

.meet-logo {
    display: block;
    color: inherit;
}

.meet-logo svg {
    display: block;
    height: 1.85rem;
    width: auto;
}

.meet-site-link {
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    color: inherit;
}

/* Layout */
.meet-grid {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.meet-media {
    margin: 0 1.25rem 1.5rem;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--color-surface);
}

.meet-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.meet-content {
    padding: 0 1.25rem 2rem;
}

.meet-headline {
    font-size: 2.15rem;
    line-height: 1.02;
    font-weight: 500;
    letter-spacing: -0.025em;
    text-wrap: balance;
    margin: 0;
}

.meet-text {
    font-size: 0.95rem;
    line-height: 1.45;
    color: var(--color-text-muted);
    margin: 0.9rem 0 0;
}

/* Form */
.meet-form {
    display: grid;
    gap: 0.9rem;
    margin-top: 1.5rem;
}

/* First / Last name: stacked on phones, side by side from tablet up */
.meet-form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem;
}

@media screen and (min-width: 768px) {
    .meet-form-row {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
}

.meet-field {
    display: grid;
    gap: 0.4rem;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.meet-field-optional {
    color: var(--color-text-muted);
    text-transform: none;
    letter-spacing: 0;
}

.meet-field input {
    /* 16px stops iOS Safari from zooming in on focus */
    font-family: var(--font-primary);
    font-size: 16px;
    padding: 0.8rem 0;
    border: 0;
    border-bottom: 1px solid currentColor;
    border-radius: 0;
    background: transparent;
    color: inherit;
    outline: none;
    width: 100%;
    min-width: 0;
}

.meet-field input:focus {
    border-bottom-width: 2px;
    padding-bottom: calc(0.8rem - 1px);
}

.meet-consent {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    font-size: 0.75rem;
    line-height: 1.4;
    cursor: pointer;
}

.meet-consent input {
    width: 1.1rem;
    height: 1.1rem;
    margin: 0.05rem 0 0;
    flex: none;
    accent-color: var(--color-bg-dark);
}

.meet-consent a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.meet-submit {
    font-family: var(--font-primary);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    width: 100%;
    padding: 1.1rem;
    margin-top: 0.4rem;
    border: 0;
    border-radius: 0;
    background: var(--color-bg-dark);
    color: var(--color-text-inverted);
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.meet-submit:hover {
    opacity: 0.9;
}

.meet-submit:disabled {
    opacity: 0.6;
    cursor: wait;
}

/* Footer line */
.meet-foot {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    border-top: 1px solid var(--color-border-light);
}

.meet-foot a {
    color: inherit;
    text-decoration: none;
}

/* Desktop: image left, content right */
@media screen and (min-width: 992px) {
    .meet-top {
        padding: 1.5rem 2rem;
    }

    .meet-grid {
        flex-direction: row;
        align-items: stretch;
        gap: 4rem;
        padding: 0 2rem 3rem;
    }

    .meet-media {
        flex: 1 1 50%;
        margin: 0;
        aspect-ratio: auto;
        min-height: 70vh;
    }

    .meet-content {
        flex: 1 1 50%;
        max-width: 32rem;
        padding: 0;
        align-self: center;
    }

    .meet-headline {
        font-size: 3.15rem;
    }

    .meet-text {
        font-size: 1rem;
    }

    .meet-foot {
        padding: 1.25rem 2rem;
    }
}
