/* Supreme Ink – Tattoo Landing Page (background image + form overlay) */

:root {
    --lp-white: #ffffff;
    --lp-text: rgba(255, 255, 255, 0.88);
    --lp-muted: rgba(255, 255, 255, 0.5);
    --lp-gold: #c9a24d;
    --lp-gold-light: #d4b06a;
    --lp-gold-dark: #a8863f;
    --lp-input-bg: #1a1a1a;
    --lp-input-border: rgba(255, 255, 255, 0.1);
    --lp-card-bg: rgba(10, 10, 10, 0.94);
    --lp-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
    --lp-font-serif: 'Cinzel', Georgia, serif;
    --lp-font-sans: 'Montserrat', 'Segoe UI', sans-serif;
    --lp-transition: 0.2s ease;
    --lp-success: #3ecf8e;
    --lp-error: #e85d5d;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--lp-font-sans);
    color: var(--lp-text);
    background: #050505;
    min-height: 100dvh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Stage: image defines layout; form overlays the right zone */
.lp-stage {
    position: relative;
    width: 100%;
    max-width: 100vw;
    line-height: 0;
}

.lp-bg-wrap {
    display: block;
    width: 100%;
    line-height: 0;
}

.lp-bg {
    display: block;
    width: 100%;
    height: auto;
    max-height: 100dvh;
    object-fit: contain;
    object-position: left center;
}

/* Form sits in the dark right area baked into the background image */
.lp-formWrap {
    position: absolute;
    top: 50%;
    right: 3.8%;
    transform: translateY(-50%);
    width: 35.5%;
    max-width: 500px;
    min-width: 300px;
    line-height: normal;
    z-index: 1;
}

.lp-formCard {
    width: 100%;
    background: var(--lp-card-bg);
    border: 1px solid rgba(201, 162, 77, 0.42);
    border-radius: 16px;
    padding: 22px 22px 20px;
    box-shadow: var(--lp-shadow);
    backdrop-filter: blur(12px);
}

/* Form header */
.lp-formCard__header {
    margin-bottom: 4px;
}

.lp-formCard__cap {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 10px;
    align-items: center;
    margin-bottom: 8px;
}

.lp-formCard__capLine {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 162, 77, 0.65), transparent);
}

.lp-formCard__capText {
    font-family: var(--lp-font-serif);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 700;
    font-size: 0.72rem;
    color: var(--lp-gold-light);
    white-space: nowrap;
}

.lp-formCard__capText::before,
.lp-formCard__capText::after {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border: 1px solid rgba(212, 176, 106, 0.75);
    border-left: none;
    border-bottom: none;
    transform: rotate(45deg);
    margin: 0 8px;
    vertical-align: middle;
}

.lp-formCard__desc {
    font-size: 0.75rem;
    color: var(--lp-muted);
    text-align: center;
    line-height: 1.4;
    margin-bottom: 18px;
}

/* Alert */
.lp-alert {
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 0.82rem;
    margin: 0 0 12px;
    border: 1px solid transparent;
}

.lp-alert--success {
    background: rgba(62, 207, 142, 0.1);
    border-color: rgba(62, 207, 142, 0.32);
    color: var(--lp-success);
}

.lp-alert--error {
    background: rgba(232, 93, 93, 0.1);
    border-color: rgba(232, 93, 93, 0.32);
    color: var(--lp-error);
}

/* Form */
.lp-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lp-field { display: flex; flex-direction: column; gap: 7px; }

.lp-label {
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.01em;
}

.lp-required { color: var(--lp-error); font-weight: 600; }

.lp-inputWrap { position: relative; }

.lp-inputIcon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: rgba(255, 255, 255, 0.45);
    pointer-events: none;
}

.lp-inputIcon svg { width: 18px; height: 18px; display: block; }

.lp-inputIcon--top {
    top: 15px;
    transform: none;
}

.lp-inputChevron {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
}

.lp-inputChevron svg { width: 16px; height: 16px; display: block; }

.lp-input {
    width: 100%;
    background: var(--lp-input-bg);
    border: 1px solid var(--lp-input-border);
    border-radius: 8px;
    color: var(--lp-white);
    font-family: var(--lp-font-sans);
    font-size: 0.84rem;
    padding: 12px 14px 12px 42px;
    outline: none;
    transition: border-color var(--lp-transition), box-shadow var(--lp-transition);
}

.lp-input::placeholder { color: rgba(255, 255, 255, 0.38); }

.lp-input:focus {
    border-color: rgba(201, 162, 77, 0.45);
    box-shadow: 0 0 0 2px rgba(201, 162, 77, 0.1);
}

.lp-textarea {
    min-height: 88px;
    resize: vertical;
    padding-top: 12px;
    line-height: 1.4;
}

/* intl-tel-input */
.lp-phone-field .iti {
    width: 100%;
    display: block;
}

.lp-phone-field .iti__tel-input,
.lp-phone-field .iti__tel-input[type='tel'] {
    width: 100%;
    height: 44px;
    background: var(--lp-input-bg);
    border: 1px solid var(--lp-input-border);
    border-radius: 8px;
    color: var(--lp-white);
    font-family: var(--lp-font-sans);
    font-size: 0.84rem;
    padding: 12px 14px;
    outline: none;
    transition: border-color var(--lp-transition), box-shadow var(--lp-transition);
}

.lp-phone-field .iti__tel-input::placeholder {
    color: rgba(255, 255, 255, 0.38);
}

.lp-phone-field .iti__tel-input:focus {
    border-color: rgba(201, 162, 77, 0.45);
    box-shadow: 0 0 0 2px rgba(201, 162, 77, 0.1);
}

.lp-phone-field .iti--separate-dial-code .iti__tel-input {
    padding-left: 96px;
}

.lp-phone-field .iti__country-container {
    padding: 0;
}

.lp-phone-field .iti__selected-country {
    padding: 0 10px 0 12px;
    border-radius: 8px 0 0 8px;
    background: transparent;
}

.lp-phone-field .iti__selected-country-primary {
    padding: 0;
}

.lp-phone-field .iti__selected-dial-code {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.84rem;
    margin-left: 6px;
}

.lp-phone-field .iti__arrow {
    border-top-color: rgba(255, 255, 255, 0.45);
    margin-left: 6px;
}

.lp-phone-field .iti__country-container:hover .iti__selected-country,
.lp-phone-field .iti__country-container:focus-within .iti__selected-country {
    background: rgba(255, 255, 255, 0.04);
}

/* Country dropdown – dark theme (desktop + mobile, including portaled menu) */
.lp-phone-field,
.iti--container {
    --iti-dropdown-bg: #141414;
    --iti-hover-color: rgba(255, 255, 255, 0.08);
    --iti-border-color: rgba(255, 255, 255, 0.12);
    --iti-dialcode-color: rgba(255, 255, 255, 0.65);
}

.lp-phone-field .iti__dropdown-content,
.iti--container .iti__dropdown-content {
    background: #141414 !important;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
    z-index: 20;
}

.lp-phone-field .iti__country-list,
.iti--container .iti__country-list {
    background: #141414 !important;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.lp-phone-field .iti__country-list {
    max-height: 168px;
}

.lp-phone-field .iti__country-list::-webkit-scrollbar,
.iti--container .iti__country-list::-webkit-scrollbar {
    width: 8px;
}

.lp-phone-field .iti__country-list::-webkit-scrollbar-track,
.iti--container .iti__country-list::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.lp-phone-field .iti__country-list::-webkit-scrollbar-thumb,
.iti--container .iti__country-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.22);
    border-radius: 4px;
}

.lp-phone-field .iti__search-input,
.iti--container .iti__search-input {
    box-sizing: border-box;
    background: #1a1a1a !important;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 6px;
    color: #ffffff !important;
    padding: 8px 10px;
    margin: 8px;
    width: calc(100% - 16px);
}

.iti--fullscreen-popup .iti__search-input {
    padding: 12px 14px;
    margin: 12px;
    width: calc(100% - 24px);
    border-radius: 8px;
}

.lp-phone-field .iti__search-input::placeholder,
.iti--container .iti__search-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.lp-phone-field .iti__country,
.iti--container .iti__country {
    padding: 8px 12px;
    color: #ffffff !important;
}

.iti--fullscreen-popup .iti__country {
    padding: 12px 14px;
}

.lp-phone-field .iti__country:hover,
.lp-phone-field .iti__country.iti__highlight,
.iti--container .iti__country.iti__highlight {
    background: rgba(255, 255, 255, 0.08) !important;
}

.lp-phone-field .iti__country-name,
.lp-phone-field .iti__dial-code,
.iti--container .iti__country-name,
.iti--container .iti__dial-code {
    color: #ffffff !important;
}

.lp-phone-field .iti__dial-code,
.iti--container .iti__dial-code {
    color: rgba(255, 255, 255, 0.65) !important;
}

.lp-phone-field .iti__divider,
.iti--container .iti__search-input + .iti__country-list {
    border-color: rgba(255, 255, 255, 0.1);
}

.iti--fullscreen-popup.iti--container {
    background-color: rgba(0, 0, 0, 0.5);
}

.iti--fullscreen-popup .iti__dropdown-content {
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: min(70dvh, 420px);
}

.iti--fullscreen-popup .iti__country-list {
    flex: 1 1 auto;
    min-height: 0;
}

/* Dropzone */
.lp-dropzone {
    position: relative;
    border-radius: 8px;
    border: 1px dashed rgba(255, 255, 255, 0.18);
    background: var(--lp-input-bg);
    cursor: pointer;
    outline: none;
    transition: border-color var(--lp-transition), background var(--lp-transition);
}

.lp-dropzone:hover,
.lp-dropzone:focus-visible,
.lp-dropzone.is-dragover {
    border-color: rgba(201, 162, 77, 0.45);
    background: rgba(26, 26, 26, 0.98);
}

.lp-dropzone__input {
    position: absolute;
    inset: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.lp-dropzone__content {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 16px;
    pointer-events: none;
}

.lp-dropzone__icon {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(201, 162, 77, 0.35);
    background: rgba(201, 162, 77, 0.08);
    display: grid;
    place-items: center;
    color: var(--lp-gold-light);
}

.lp-dropzone__icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

.lp-dropzone__title {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.3;
    display: block;
}

.lp-dropzone__hint {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.42);
    display: block;
    margin-top: 3px;
}

.lp-dropzone__preview {
    list-style: none;
    padding: 0 14px 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lp-dropzone__preview li {
    font-size: 0.65rem;
    color: rgba(212, 176, 106, 0.9);
    background: rgba(197, 160, 89, 0.08);
    border: 1px solid rgba(197, 160, 89, 0.16);
    padding: 4px 10px;
    border-radius: 999px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Radio choice cards */
.lp-choices { display: flex; flex-direction: column; gap: 10px; }

.lp-choices--2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: stretch;
}

.lp-choice {
    position: relative;
    display: block;
    cursor: pointer;
}

.lp-choice input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.lp-choice__box {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 68px;
    padding: 14px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: var(--lp-input-bg);
    transition: border-color var(--lp-transition), background var(--lp-transition);
}

.lp-choice__dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.35);
    position: relative;
    flex: 0 0 20px;
}

.lp-choice__text {
    flex: 1;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-align: left;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.78);
    transition: color var(--lp-transition);
}

.lp-choice:hover .lp-choice__box {
    border-color: rgba(255, 255, 255, 0.22);
}

.lp-choice input:checked + .lp-choice__box {
    border-color: rgba(201, 162, 77, 0.75);
    background: rgba(201, 162, 77, 0.06);
}

.lp-choice input:checked + .lp-choice__box .lp-choice__dot {
    border-color: var(--lp-gold-light);
}

.lp-choice input:checked + .lp-choice__box .lp-choice__dot::after {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: var(--lp-gold-light);
}

.lp-choice input:checked + .lp-choice__box .lp-choice__text {
    color: rgba(255, 255, 255, 0.95);
}

/* Submit */
.lp-submit {
    border: none;
    border-radius: 10px;
    padding: 15px 20px;
    cursor: pointer;
    background: linear-gradient(180deg, #d4a84b 0%, #b8892e 100%);
    color: var(--lp-white);
    font-family: var(--lp-font-sans);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 0 8px 28px rgba(201, 162, 77, 0.3);
    transition: transform var(--lp-transition), box-shadow var(--lp-transition), opacity var(--lp-transition);
    display: inline-flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.lp-submit--wide { width: 100%; margin-top: 4px; }

.lp-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 36px rgba(201, 162, 77, 0.38);
}

.lp-submit:active { transform: translateY(0); }
.lp-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.lp-submit__icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.lp-submit__icon svg {
    width: 26px;
    height: 26px;
    display: block;
    color: var(--lp-white);
}

.lp-submit__text {
    font-size: 0.88rem;
    letter-spacing: 0.12em;
}

/* Wide screens: fill height, anchor image left */
@media (min-aspect-ratio: 1672/941) {
    body { align-items: center; }

    .lp-bg {
        width: auto;
        height: 100dvh;
        max-width: 100vw;
        object-fit: contain;
        object-position: left center;
    }

    .lp-stage {
        width: auto;
        max-width: 100vw;
        height: 100dvh;
    }
}

/* Slightly narrower form zone on medium desktops */
@media (max-width: 1200px) {
    .lp-formWrap {
        right: 3.2%;
        width: 36.5%;
    }
}

/* Mobile: mobile-bg image on top, form below */
@media (max-width: 860px) {
    body {
        align-items: flex-start;
        display: block;
    }

    .lp-stage {
        display: flex;
        flex-direction: column;
        line-height: normal;
    }

    .lp-bg-wrap,
    .lp-bg {
        width: 100%;
        max-height: none;
    }

    .lp-bg {
        object-fit: contain;
        object-position: top center;
    }

    .lp-formWrap {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        width: 100%;
        max-width: none;
        min-width: 0;
        padding: 16px 16px 24px;
        margin-top: 0;
        background: #050505;
    }

    .lp-formCard {
        background: rgba(10, 10, 10, 0.96);
    }

    .lp-phone-field .iti--separate-dial-code .iti__tel-input {
        padding-left: 88px;
    }

    .lp-phone-field .iti--inline-dropdown .iti__country-list {
        max-height: min(32dvh, 170px);
    }

    .lp-choices--2col { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
    .lp-formWrap { padding: 12px 16px; }
    .lp-formCard { padding: 16px 14px 14px; }
    .lp-submit__text { font-size: 0.82rem; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition-duration: 0.01ms !important; }
}
