:root {
    --black: #000;
    --white: #f7f7f5;
    --grey: #8c8c90;
    --chrome: linear-gradient(180deg, #fff 0%, #d2d2d8 38%, #8e8e96 52%, #f2f2f5 70%, #b4b4bc 100%);
    --font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

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

html { font-family: var(--font-body); background: var(--black); color: var(--white); -webkit-font-smoothing: antialiased; }

body {
    min-height: 100dvh;
    overflow-x: hidden;
}

/* ============================ INTRO SPLASH ============================ */
html.intro-active { overflow: hidden; }
html.intro-skip .intro { display: none; }

.intro {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.75rem;
    padding: 2rem clamp(1.5rem, 6vw, 5rem);
    text-align: center;
    will-change: transform;
    transition: transform 1.05s cubic-bezier(.76, 0, .24, 1);
    cursor: pointer;
}

.intro::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: var(--chrome);
    box-shadow: 0 0 30px 4px rgba(255,255,255,0.55);
    opacity: 0;
    transition: opacity .3s ease;
}

.intro.is-exiting .intro-quote,
.intro.is-exiting .intro-credit,
.intro.is-exiting .intro-rule,
.intro.is-exiting .intro-hint {
    opacity: 0;
    transform: translateY(-14px);
    transition: opacity .45s ease, transform .55s cubic-bezier(.4,0,.2,1);
}

.intro.is-lift {
    transform: translateY(-100%);
    pointer-events: none;
}

.intro.is-lift::after { opacity: 1; }

.intro-quote {
    max-width: 18ch;
    font-family: var(--font-body);
    font-weight: 200;
    font-size: clamp(1.6rem, 5.2vw, 3.4rem);
    line-height: 1.18;
    letter-spacing: 0.005em;
    color: #f7f7f5;
    text-wrap: balance;
}

.intro-quote .intro-line {
    display: block;
    opacity: 0;
    transform: translateY(18px);
    animation: introLineIn .9s cubic-bezier(.2,.7,.2,1) forwards;
}

.intro-quote .intro-line:nth-child(1) { animation-delay: .25s; }
.intro-quote .intro-line:nth-child(2) {
    animation-delay: .65s;
    color: #c9c9cf;
}

@keyframes introLineIn { to { opacity: 1; transform: none; } }

.intro-credit {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #5f5f64;
    opacity: 0;
    animation: introHint 1s ease forwards;
    animation-delay: .95s;
}

.intro-rule {
    width: 0;
    height: 2px;
    background: var(--chrome);
    box-shadow: 0 0 14px rgba(255,255,255,0.4);
    animation: introRule 1s ease forwards;
    animation-delay: 1.1s;
}

@keyframes introRule { to { width: clamp(60px, 12vw, 120px); } }

.intro-hint {
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #5f5f64;
    opacity: 0;
    animation: introHint 1s ease forwards;
    animation-delay: 1.8s;
}

@keyframes introHint { to { opacity: 1; } }

html.intro-active .reveal {
    opacity: 0;
    animation: none;
}

html.intro-revealing .reveal {
    animation: none;
}

html.intro-complete .reveal {
    opacity: 1;
    transform: none;
    animation: none;
}

html.intro-revealing .brand { animation: shellReveal 1.2s cubic-bezier(.2,.7,.2,1) both; }
html.intro-revealing .waitlist { animation: shellReveal 1.2s cubic-bezier(.2,.7,.2,1) 0.12s both; }
html.intro-revealing .foot { animation: shellReveal 1.2s cubic-bezier(.2,.7,.2,1) 0.22s both; }

@keyframes shellReveal {
    from { opacity: 0; transform: translateY(26px) scale(.985); }
    to { opacity: 1; transform: none; }
}

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* Background */
.bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.bg-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    transform: scale(1.08);
    filter: saturate(0.35) brightness(0.35) blur(2px);
    animation: bgDrift 24s ease-in-out infinite alternate;
}

@keyframes bgDrift {
    from { transform: scale(1.08) translateY(0); }
    to { transform: scale(1.14) translateY(-2%); }
}

.bg-veil {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 20%, rgba(255,255,255,0.07), transparent 55%),
        linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.75) 55%, #000 100%);
}

.bg-grain {
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    pointer-events: none;
}

/* Layout */
.shell {
    position: relative;
    z-index: 1;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(2rem, 5vw, 3rem);
    padding: clamp(2rem, 6vw, 4rem) clamp(1.25rem, 5vw, 2rem);
    text-align: center;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    animation: revealIn 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.brand { animation-delay: 0.1s; }
.waitlist { animation-delay: 0.25s; }
.foot { animation-delay: 0.45s; }

@keyframes revealIn {
    to { opacity: 1; transform: none; }
}

/* Brand */
.brand-logo {
    width: min(68vw, 380px);
    height: auto;
    display: block;
    margin-inline: auto;
    filter: drop-shadow(0 16px 48px rgba(0,0,0,0.6));
}

.brand-sub {
    margin-top: 1rem;
    font-weight: 300;
    font-size: clamp(0.78rem, 2.4vw, 1rem);
    line-height: 1.5;
    color: rgba(247,247,245,0.7);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* Waitlist */
.waitlist {
    width: min(100%, 28rem);
    padding: 2.5rem 2rem 2rem;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}

.waitlist-headline {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2rem, 6vw, 2.75rem);
    line-height: 1;
    letter-spacing: 0.02em;
    color: var(--white);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.waitlist-lead {
    font-weight: 300;
    font-size: clamp(0.9rem, 2.2vw, 0.98rem);
    line-height: 1.7;
    color: rgba(247,247,245,0.65);
    padding-bottom: 1.75rem;
    margin-bottom: 1.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    text-align: left;
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
}

.field label {
    display: block;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(140,140,144,0.9);
    margin-bottom: 0.5rem;
}

.field input {
    width: 100%;
    padding: 0.75rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 300;
    outline: none;
    transition: border-color 0.25s ease, padding-left 0.2s ease;
    border-radius: 0;
    box-shadow: none;
}

.field input:focus {
    border-bottom-color: rgba(255,255,255,0.5);
}

.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus,
.field input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
    box-shadow: 0 0 0 1000px transparent inset !important;
    -webkit-text-fill-color: var(--white) !important;
    caret-color: var(--white);
    transition: background-color 99999s ease-out 0s;
}

.field input::placeholder { color: rgba(255,255,255,0.25); font-weight: 300; }

.input-prefix {
    display: flex;
    align-items: center;
    gap: 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    transition: border-color 0.25s ease;
}

.input-prefix:focus-within { border-bottom-color: rgba(255,255,255,0.5); }

.input-prefix__mark {
    flex-shrink: 0;
    padding: 0.75rem 0.35rem 0.75rem 0;
    color: rgba(255,255,255,0.4);
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1;
    user-select: none;
}

.input-prefix input {
    flex: 1;
    min-width: 0;
    border-bottom: none;
    padding-left: 0;
}

.field-honey {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.consents {
    margin: 0;
    padding: 0;
    border: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.consent {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    font-size: 0.82rem;
    font-weight: 300;
    line-height: 1.55;
    color: rgba(255,255,255,0.75);
    cursor: pointer;
    padding: 0.5rem 0;
}

.consent:hover {
    color: rgba(255,255,255,0.9);
}

.consent input {
    flex-shrink: 0;
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.15rem;
    accent-color: var(--white);
    cursor: pointer;
    border-radius: 2px;
}

.consent span {
    text-align: left;
}

.form-error {
    font-size: 0.8rem;
    font-weight: 400;
    color: #ff9999;
    text-align: left;
    padding: 0.5rem 0;
    line-height: 1.5;
}

body.modal-open {
    overflow: hidden;
}

.verify-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 1.5rem;
}

.verify-modal[hidden] {
    display: none;
}

.verify-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(6px);
}

.verify-modal__panel {
    position: relative;
    width: min(100%, 24rem);
    padding: 2rem 1.75rem 1.75rem;
    background: #fafafa;
    color: #111;
    border-radius: 4px;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.verify-modal__close {
    position: absolute;
    top: 0.75rem;
    right: 0.85rem;
    border: none;
    background: transparent;
    color: #888;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.35rem;
    transition: color 0.2s ease;
}

.verify-modal__close:hover {
    color: #111;
}

.verify-modal__title {
    margin: 0 0 0.6rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 400;
    color: #111;
}

.verify-modal__lead {
    margin: 0 0 1.5rem;
    font-size: 0.88rem;
    font-weight: 400;
    line-height: 1.5;
    color: #666;
}

.verify-modal__widget {
    display: flex;
    justify-content: center;
    min-height: 72px;
    width: 100%;
}

.verify-modal__widget .cf-turnstile {
    width: 100%;
}

.verify-modal__status {
    margin: 1rem 0 0;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #444;
}

.verify-modal__status.is-error {
    color: #c62828;
}

.verify-modal__retry {
    margin-top: 0.875rem;
    padding: 0.75rem 1.5rem;
    border: 1px solid #111;
    background: transparent;
    color: #111;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.2s ease;
}

.verify-modal__retry:hover {
    background: #111;
    color: #fafafa;
}

.btn-submit {
    margin-top: 0.5rem;
    width: 100%;
    padding: 1.1rem 1.5rem;
    border: 1px solid var(--white);
    background: var(--white);
    color: var(--black);
    font-family: var(--font-display);
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3.25rem;
    border-radius: 2px;
    font-weight: 400;
}

.btn-submit:hover:not(:disabled) {
    background: transparent;
    color: var(--white);
    letter-spacing: 0.22em;
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: wait;
}

.btn-spinner {
    width: 1.1rem;
    height: 1.1rem;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.disclaimer-icon {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    margin-top: 0.2rem;
    opacity: 0.4;
    color: var(--white);
}

.disclaimer p {
    font-size: 0.7rem;
    line-height: 1.7;
    color: rgba(247,247,245,0.45);
    text-align: left;
}

.disclaimer-link {
    color: rgba(247,247,245,0.7);
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.disclaimer-link:hover {
    color: var(--white);
}

/* Success */
.success {
    width: min(100%, 28rem);
    padding: 2.5rem 2rem;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(20px);
    animation: revealIn 0.6s ease forwards;
    text-align: center;
}

.success-kicker {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 5vw, 2rem);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--white);
}

.success-copy {
    font-weight: 300;
    color: rgba(247,247,245,0.65);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Footer */
.foot {
    max-width: 28rem;
    padding-top: 0.75rem;
}

.foot-legal {
    margin-top: 0;
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.foot-copy {
    font-size: 0.65rem;
    line-height: 1.6;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.35);
    text-align: center;
}

.foot-copy:first-child {
    color: rgba(255,255,255,0.25);
}

.foot-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s ease;
}

.foot-link:hover {
    color: var(--white);
}

.shell.is-done .waitlist { display: none; }

@media (prefers-reduced-motion: reduce) {
    .bg-poster, .reveal, .btn-spinner { animation: none; }
    .reveal { opacity: 1; transform: none; }
    .intro-quote .intro-line, .intro-rule, .intro-hint, .intro-credit { animation: none; opacity: 1; transform: none; }
    .intro-rule { width: clamp(60px, 12vw, 120px); }
    html.intro-revealing .brand,
    html.intro-revealing .waitlist,
    html.intro-revealing .foot { animation: none; opacity: 1; transform: none; }
    html.intro-complete .reveal { opacity: 1; transform: none; }
}

@media (max-width: 480px) {
    .shell { justify-content: flex-start; padding-top: 3rem; }
}
