:root {
    --sand: #f4ede1;
    --ink: #1a1a1a;
    --gold: #8a6f3f;
    --stone: #ebe2d2;
    --line: #d9cfbe;
    --sage: #5d6b4e;
    --paper: #fffaf1;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--sand);
}

body {
    min-height: 100vh;
    min-height: 100svh;
    margin: 0;
    background: var(--sand);
    color: var(--ink);
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

main {
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: clamp(18px, 3vw, 36px);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

button,
input {
    font: inherit;
}

::selection {
    background: var(--ink);
    color: var(--sand);
}

.coming-soon {
    width: min(1180px, 100%);
    height: min(720px, calc(100svh - 48px));
    min-height: 600px;
    display: grid;
    grid-template-columns: minmax(380px, 0.9fr) minmax(440px, 1.1fr);
    align-items: stretch;
}

.coming-soon__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(24px, 4vw, 56px);
}

.brand {
    width: min(210px, 62vw);
    margin-bottom: clamp(30px, 6vh, 44px);
}

.brand img {
    width: 100%;
}

.eyebrow {
    margin: 0 0 16px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    text-transform: uppercase;
}

.headline {
    max-width: 620px;
    margin: 0 0 14px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(40px, 4.4vw, 52px);
    font-weight: 500;
    line-height: 0.98;
}

.intro {
    max-width: 500px;
    margin: 0 0 22px;
    color: rgba(26, 26, 26, 0.72);
    font-size: 17px;
}

.signup-form {
    max-width: 500px;
}

.field {
    display: grid;
    gap: 8px;
    margin-bottom: 12px;
    color: rgba(26, 26, 26, 0.72);
    font-size: 13px;
    font-weight: 600;
}

.field input {
    width: 100%;
    min-height: 50px;
    border: 1px solid rgba(26, 26, 26, 0.24);
    background: var(--paper);
    color: var(--ink);
    padding: 14px 16px;
    outline: none;
    transition: border-color 160ms ease, background 160ms ease;
}

.field input:focus {
    border-color: var(--ink);
    background: #fffdf8;
}

.field input::placeholder {
    color: rgba(26, 26, 26, 0.38);
}

.consent {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 10px;
    align-items: start;
    margin: 0 0 14px;
    color: rgba(26, 26, 26, 0.66);
    font-size: 12px;
}

.consent input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--ink);
}

.form-footer {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: center;
}

.button {
    min-height: 50px;
    border: 1px solid var(--ink);
    background: var(--ink);
    color: var(--sand);
    padding: 13px 24px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible {
    background: var(--gold);
    border-color: var(--gold);
    transform: translateY(-1px);
}

.button:disabled {
    cursor: wait;
    opacity: 0.72;
}

.form-message {
    min-height: 20px;
    margin: 0;
    color: rgba(26, 26, 26, 0.64);
    font-size: 13px;
}

.form-message.is-success {
    color: var(--sage);
}

.form-message.is-error {
    color: #8b2f24;
}

.note {
    max-width: 500px;
    margin: 18px 0 0;
    color: rgba(26, 26, 26, 0.48);
    font-size: 12px;
}

.product-photo {
    height: 100%;
    margin: 0;
    background: var(--stone);
    overflow: hidden;
}

.product-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

.trap {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.js [data-reveal] {
    opacity: 0;
    transition: opacity 420ms ease;
}

.js [data-reveal].is-visible {
    opacity: 1;
}

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

    .js [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 860px) {
    main {
        display: block;
        padding: 0;
    }

    .coming-soon {
        width: 100%;
        height: auto;
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .coming-soon__content {
        min-height: auto;
        padding: 30px 22px 28px;
    }

    .brand {
        width: min(190px, 56vw);
        margin-bottom: 38px;
    }

    .headline {
        font-size: clamp(40px, 13vw, 56px);
    }

    .intro {
        margin-bottom: 24px;
        font-size: 16px;
    }

    .product-photo {
        height: auto;
        min-height: 42vh;
        order: -1;
    }

    .product-photo img {
        min-height: 42vh;
        max-height: 52vh;
        object-position: 50% 58%;
    }
}

@media (max-width: 520px) {
    .form-footer {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .button {
        width: 100%;
    }

    .form-message {
        min-height: 18px;
    }
}
