.contact-page {
    --contact-ink: #2a221c;
    --contact-soft: #5a4338;
    --contact-muted: #6b5d57;
    --contact-cream: #fffaf5;
    --contact-linen: #f8f3eb;
    --contact-terracotta: #cc8b52;
    --contact-wood: #6d4c41;
    --contact-deep: #50362c;
    min-height: 100vh;
    background:
        radial-gradient(ellipse at 8% 6%, rgb(204 139 82 / 18%), transparent 28rem),
        radial-gradient(ellipse at 94% 12%, rgb(207 184 158 / 20%), transparent 30rem),
        radial-gradient(ellipse at 50% 100%, rgb(80 54 44 / 6%), transparent 26rem),
        linear-gradient(165deg, #faf7f2 0%, #f3ebe3 48%, #f8f4ec 100%);
}

.contact-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px clamp(20px, 6vw, 80px);
    border-bottom: 1px solid #efe9de;
    background: rgb(255 255 255 / 94%);
    font-family: 'Manrope', sans-serif;
}

.contact-page-home,
.contact-page-back {
    color: var(--contact-deep);
    font-weight: 700;
    text-decoration: none;
}

.contact-page-home {
    font-size: 1.25rem;
}

.contact-page-back {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 9px;
    padding: 7px 16px 7px 10px;
    border: 1px solid #a1876f;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 3px 10px rgb(79 49 29 / 10%);
    transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.contact-page-back-arrow {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    background: var(--contact-wood);
    color: #fff;
    font-size: 1.125rem;
    line-height: 1;
    transition: transform 180ms ease;
}

.contact-page-back:hover {
    border-color: var(--contact-wood);
    background: #faf7f3;
    box-shadow: 0 5px 14px rgb(79 49 29 / 16%);
    transform: translateY(-1px);
}

.contact-page-back:hover .contact-page-back-arrow {
    transform: translateX(-2px);
}

.contact-page-home:focus-visible,
.contact-page-back:focus-visible,
.contact-booking-link:focus-visible,
.contact-privacy-notice a:focus-visible {
    outline: 3px solid var(--contact-terracotta);
    outline-offset: 4px;
}

.contact-page-content {
    box-sizing: border-box;
    width: min(100% - 40px, 980px);
    margin: 0 auto;
    padding: clamp(36px, 6vw, 64px) 0 clamp(48px, 7vw, 80px);
}

.contact-page-lead {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    max-width: 720px;
    margin: 0 auto 28px;
    padding: clamp(28px, 4vw, 40px) clamp(22px, 4vw, 40px);
    overflow: hidden;
    border: 1px solid rgb(80 54 44 / 12%);
    border-radius: 8px 28px 28px 28px;
    background:
        linear-gradient(135deg, rgb(255 255 255 / 55%) 0%, transparent 42%),
        linear-gradient(165deg, #fffefb 0%, #fff8f1 55%, #f7efe6 100%);
    box-shadow:
        0 16px 40px rgb(55 42 30 / 10%),
        inset 0 1px 0 rgb(255 255 255 / 75%);
    text-align: left;
    animation: contact-rise 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.contact-page-eyebrow {
    margin: 0 0 12px;
    color: var(--contact-terracotta);
    font-family: 'Manrope', sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.contact-page-lead h1 {
    margin: 0;
    color: var(--contact-ink);
    font-family: 'Manrope', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.15rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.12;
    text-wrap: balance;
}

.contact-page-intro {
    max-width: 42ch;
    margin: 18px 0 0;
    color: var(--contact-soft);
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    font-weight: 700;
    line-height: 1.6;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
    align-items: start;
    gap: 22px;
    animation: contact-rise 620ms cubic-bezier(0.22, 1, 0.36, 1) 80ms both;
}

.contact-layout-question {
    width: 100%;
    margin: 0;
}

.contact-information,
.contact-form-section,
.contact-aside {
    min-width: 0;
    padding: clamp(26px, 3.5vw, 36px);
    border: 1px solid #efe9de;
    border-radius: 8px 24px 24px 24px;
    background:
        linear-gradient(180deg, #fffefb 0%, #fff 46%, #fffaf5 100%);
    box-shadow:
        0 14px 34px rgb(55 42 30 / 8%),
        inset 0 1px 0 rgb(255 255 255 / 80%);
}

.contact-aside {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 14px;
    align-content: start;
    background:
        radial-gradient(ellipse at 88% 0%, rgb(204 139 82 / 16%), transparent 14rem),
        linear-gradient(165deg, #fff8f1 0%, #fffefb 55%, #f7efe6 100%);
}

.contact-kicker,
.contact-aside-kicker {
    margin: 0;
    color: var(--contact-terracotta);
    font-family: 'Manrope', sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-information h2,
.contact-form-section h2,
.contact-aside h2 {
    margin: 0 0 8px;
    color: var(--contact-ink);
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.55rem, 2.8vw, 1.95rem);
    font-weight: 700;
    line-height: 1.25;
}

.contact-form-section h2 {
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e8ddd0;
}

.contact-aside p {
    margin: 0;
    color: var(--contact-muted);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.6;
}

.contact-aside-points {
    display: grid;
    gap: 10px;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}

.contact-aside-points li {
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    margin: 0;
    color: var(--contact-soft);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.45;
}

.contact-aside-points li::before {
    width: 8px;
    height: 8px;
    margin-top: 0.45em;
    border-radius: 50%;
    background: var(--contact-terracotta);
    box-shadow: 0 0 0 3px rgb(204 139 82 / 18%);
    content: "";
}

.contact-information > p {
    margin: 0 0 24px;
    color: #3d3a36;
    font-size: 1.125rem;
    line-height: 1.7;
}

.contact-facts {
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.contact-facts li {
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 16px 0;
    border-top: 1px solid #f0e8de;
    color: #3d3a36;
    font-size: 1.0625rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.contact-facts li:last-child {
    padding-bottom: 4px;
}

.contact-facts span {
    color: var(--contact-terracotta);
    font-family: 'Manrope', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-booking-link {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    min-height: 52px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 6px;
    padding: 10px 14px 10px 20px;
    border: 1px solid var(--contact-deep);
    border-radius: 999px;
    background: linear-gradient(135deg, var(--contact-wood), var(--contact-deep));
    box-shadow: 0 6px 16px rgb(79 49 29 / 18%);
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.contact-booking-arrow {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 50%;
    background: rgb(255 255 255 / 18%);
    font-size: 1.2rem;
    line-height: 1;
    transition: transform 180ms ease;
}

.contact-booking-link:hover {
    background: linear-gradient(135deg, var(--contact-deep), #473624);
    box-shadow: 0 8px 18px rgb(79 49 29 / 24%);
    transform: translateY(-1px);
}

.contact-booking-link:hover .contact-booking-arrow {
    transform: translateX(2px);
}

.contact-slot-recap {
    margin: 0 0 16px;
    padding: 12px 14px;
    border: 1px solid #eadfd3;
    border-radius: 14px;
    background: var(--contact-cream);
    color: var(--contact-deep);
    font-family: 'Manrope', sans-serif;
    line-height: 1.5;
}

.contact-form-notice {
    margin: 0 0 8px;
    color: var(--contact-muted);
    font-size: 0.9375rem;
    line-height: 1.55;
}

.contact-opening-notice {
    margin: 0 0 22px;
    padding: 16px 18px;
    border: 1px solid #eedfd0;
    border-radius: 14px;
    background: linear-gradient(180deg, #fffaf5 0%, #fff 70%);
}

.contact-opening-notice h3 {
    margin: 0;
    color: var(--contact-terracotta);
    font-family: 'Manrope', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-opening-notice p {
    margin: 8px 0 0;
    color: #3d3a36;
    font-size: 1rem;
    line-height: 1.6;
}

.contact-form {
    display: grid;
    gap: 18px;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form-field {
    display: grid;
    gap: 8px;
    text-align: left;
}

.contact-form-field label {
    color: var(--contact-ink);
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.4;
    text-align: left;
}

.contact-form-field label span {
    color: #8a7b72;
    font-size: 0.8rem;
    font-weight: 700;
}

.contact-message-guidance {
    margin: 0;
    color: var(--contact-muted);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.55;
    text-align: left;
}

.contact-form-field input,
.contact-form-field select,
.contact-form-field textarea {
    width: 100%;
    min-height: 52px;
    box-sizing: border-box;
    padding: 13px 15px;
    border: 1px solid #e0d3c6;
    border-radius: 14px;
    background: linear-gradient(180deg, #fffefb 0%, var(--contact-cream) 100%);
    color: #2d2926;
    font: 1rem/1.5 'Manrope', sans-serif;
    transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.contact-form-field textarea {
    min-height: 168px;
    resize: vertical;
}

.contact-form-field textarea::placeholder {
    color: rgb(45 41 38 / 45%);
    opacity: 1;
}

.contact-form-field input:hover,
.contact-form-field select:hover,
.contact-form-field textarea:hover {
    border-color: var(--contact-terracotta);
}

.contact-form-field input:focus-visible,
.contact-form-field select:focus-visible,
.contact-form-field textarea:focus-visible {
    border-color: var(--contact-terracotta);
    background: #fff;
    outline: 3px solid rgb(204 139 82 / 28%);
    outline-offset: 2px;
    box-shadow: 0 8px 20px rgb(204 139 82 / 12%);
}

.contact-submit {
    justify-self: start;
    min-height: 54px;
    padding: 12px 26px;
    border: 1px solid var(--contact-deep);
    border-radius: 999px;
    background: linear-gradient(135deg, var(--contact-wood), var(--contact-deep));
    color: #fff;
    font: 800 1rem 'Manrope', sans-serif;
    cursor: pointer;
    box-shadow: 0 6px 16px rgb(79 49 29 / 18%);
    transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.contact-submit:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--contact-deep), #473624);
    box-shadow: 0 9px 22px rgb(79 49 29 / 26%);
    transform: translateY(-2px);
}

.contact-submit:focus-visible {
    outline: 3px solid #8d6e63;
    outline-offset: 3px;
}

.contact-submit:disabled {
    border-color: #c4b5a8;
    background: #c4b5a8;
    box-shadow: none;
    cursor: not-allowed;
    opacity: 1;
}

.contact-form-status {
    margin: 18px 0 0;
    padding: 14px 16px;
    border-left: 4px solid var(--contact-terracotta);
    border-radius: 0 12px 12px 0;
    background: var(--contact-cream);
    color: #3d3a36;
    font-size: 1rem;
    line-height: 1.65;
    text-align: left;
}

.contact-form-status.is-error {
    border-left-color: #8c4a32;
}

.contact-privacy-notice {
    margin: 22px 0 0;
    max-width: 48ch;
    color: #8a7b72;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.6;
    text-align: left;
}

.contact-privacy-notice a {
    color: var(--contact-soft);
    font-weight: 700;
    text-underline-offset: 3px;
}

.contact-success-dialog {
    width: min(100% - 32px, 440px);
    padding: 0;
    border: 0;
    border-radius: 24px;
    background: transparent;
}

.contact-success-dialog::backdrop {
    background: rgb(80 54 44 / 48%);
}

.contact-success-card {
    display: grid;
    gap: 14px;
    padding: 28px 26px 24px;
    border: 1px solid #eadfd3;
    border-radius: 24px;
    background:
        radial-gradient(ellipse at 12% 0%, rgb(204 139 82 / 14%), transparent 18rem),
        #fffaf5;
    box-shadow: 0 18px 48px rgb(80 54 44 / 22%);
    text-align: center;
}

.contact-success-kicker {
    margin: 0;
    color: var(--contact-terracotta);
    font-family: 'Manrope', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-success-card h2 {
    margin: 0;
    color: var(--contact-deep);
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.45rem, 3vw, 1.85rem);
    font-weight: 700;
    line-height: 1.25;
}

.contact-success-card p:not(.contact-success-kicker) {
    margin: 0;
    color: #3d3a36;
    font-family: 'Manrope', sans-serif;
    font-size: 1.05rem;
    line-height: 1.65;
}

.contact-success-close {
    justify-self: center;
    margin-top: 6px;
    min-height: 48px;
    padding: 12px 28px;
    border: 1px solid var(--contact-deep);
    border-radius: 999px;
    background: linear-gradient(135deg, var(--contact-wood), var(--contact-deep));
    color: #fff;
    font: 700 1rem 'Manrope', sans-serif;
    cursor: pointer;
    box-shadow: 0 4px 12px rgb(79 49 29 / 18%);
}

.contact-success-close:hover {
    background: linear-gradient(135deg, var(--contact-deep), #473624);
}

.contact-success-close:focus-visible {
    outline: 3px solid #8d6e63;
    outline-offset: 3px;
}

@keyframes contact-rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .contact-layout,
    .contact-form-row {
        grid-template-columns: 1fr;
    }

    .contact-aside {
        position: static;
        order: -1;
    }
}

@media (max-width: 720px) {
    .contact-page-content {
        width: 100%;
        max-width: none;
        padding: 20px 16px;
    }

    .contact-page-lead {
        max-width: none;
        margin: 0 0 20px;
    }

    .contact-layout {
        gap: 20px;
    }

    .contact-page-lead,
    .contact-information,
    .contact-form-section,
    .contact-aside {
        padding: var(--page-card-pad, 18px);
        text-align: left;
    }

    .contact-page-lead h1,
    .contact-page-intro,
    .contact-kicker,
    .contact-form-section h2,
    .contact-aside h2,
    .contact-aside p,
    .contact-aside-points {
        text-align: left;
    }

    .contact-form {
        gap: 14px;
    }

    .contact-booking-link,
    .contact-submit {
        width: 100%;
        justify-self: stretch;
    }

    .contact-privacy-notice {
        max-width: none;
        margin-top: 16px;
    }
}

@media (max-width: 480px) {
    .contact-page-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-page-lead,
    .contact-layout {
        animation: none;
    }

    .contact-page-back,
    .contact-page-back-arrow,
    .contact-booking-link,
    .contact-booking-arrow,
    .contact-submit {
        transition: none;
    }
}
