:root {
    --color-bg: #16090c;
    --color-surface: #251015;
    --color-surface-soft: #35151d;
    --color-text: #fff8ed;
    --color-muted: #cdb9b1;
    --color-accent: #d9aa72;
    --color-accent-strong: #f0c995;
    --color-error: #ffb4ab;
    --color-success: #c8e6c9;
    --color-line: rgba(255, 248, 237, 0.18);
    --color-gold-deep: #8f633a;
    --color-night: #090406;
    --font-display: "Bodoni 72", Didot, "Iowan Old Style", Georgia, serif;
    --font-body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --space-1: 0.5rem;
    --space-2: 1rem;
    --space-3: 1.5rem;
    --space-4: 2rem;
    --space-5: 3rem;
    --space-6: 4rem;
    --radius: 0.875rem;
    --transition: 220ms cubic-bezier(0.22, 1, 0.36, 1);
    --motion-enter: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    color-scheme: dark;
    scroll-behavior: smooth;
}

body {
    min-width: 20rem;
    margin: 0;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 13% 8%, rgba(139, 45, 64, 0.24), transparent 32rem),
        linear-gradient(135deg, rgba(255, 255, 255, 0.018), transparent 38%),
        var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

body::after {
    position: fixed;
    z-index: 40;
    inset: 0;
    opacity: 0.13;
    background-image: repeating-linear-gradient(115deg, transparent 0 3px, rgba(255, 255, 255, 0.025) 3px 4px);
    content: "";
    mix-blend-mode: soft-light;
    pointer-events: none;
}

@keyframes opening-leave {
    0%,
    55% {
        opacity: 1;
        filter: blur(0);
        transform: scale(1);
    }

    100% {
        opacity: 0;
        visibility: hidden;
        filter: blur(18px);
        transform: scale(1.035);
    }
}

@keyframes opening-wordmark-enter {
    from {
        opacity: 0;
        letter-spacing: 0.6em;
        transform: translateX(0.3em);
    }

    to {
        opacity: 1;
        letter-spacing: 0.34em;
        transform: translateX(0.17em);
    }
}

@keyframes opening-detail-enter {
    from {
        opacity: 0;
        transform: translateY(0.7rem);
    }

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

@keyframes opening-rule-enter {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

@keyframes opening-aura-breathe {
    0%,
    100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(0.8);
    }

    50% {
        opacity: 0.9;
        transform: translate(-50%, -50%) scale(1.08);
    }
}

@keyframes nozzle-press {
    0%,
    42% {
        opacity: 0;
        transform: translateY(-0.45rem);
    }

    55%,
    68% {
        opacity: 1;
        transform: translateY(0);
    }

    82%,
    100% {
        opacity: 0;
        transform: translateY(0.18rem);
    }
}

@keyframes spritz-stream {
    0%,
    49% {
        opacity: 0;
        transform: scaleX(0.02);
    }

    58% {
        opacity: 0.75;
        transform: scaleX(1);
    }

    72%,
    100% {
        opacity: 0;
        transform: scaleX(1.35);
    }
}

@keyframes spritz-cloud-bloom {
    0%,
    49% {
        opacity: 0;
        transform: translate3d(-30%, -50%, 0) scale(0.05);
    }

    62% {
        opacity: 0.72;
    }

    100% {
        opacity: 0;
        transform: translate3d(35%, -50%, 0) scale(1.85);
    }
}

@keyframes spritz-particle-fly {
    0%,
    49% {
        opacity: 0;
        transform: translate3d(-2rem, 0, 0) scale(0.25);
    }

    56% {
        opacity: 0.9;
    }

    100% {
        opacity: 0;
        transform: translate3d(var(--particle-x), var(--particle-y), 0) scale(1);
    }
}

@keyframes header-enter {
    from {
        opacity: 0;
        transform: translateY(-1rem);
    }

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

@keyframes content-enter {
    from {
        opacity: 0;
        transform: translateY(1.6rem);
    }

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

@keyframes title-enter {
    from {
        opacity: 0;
        transform: translateY(110%) rotate(1.4deg);
    }

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

@keyframes image-enter {
    from {
        opacity: 0;
        filter: blur(16px) brightness(0.55) saturate(0.7);
        transform: scale(1.13);
    }

    to {
        opacity: 1;
        filter: blur(10px) brightness(0.82) saturate(0.9);
        transform: scale(1.035);
    }
}

@keyframes visual-enter {
    from {
        clip-path: inset(0 0 100% 0);
    }

    to {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes halo-drift {
    0%,
    100% {
        opacity: 0.42;
        transform: translate3d(-7%, -4%, 0) scale(0.86);
    }

    50% {
        opacity: 0.72;
        transform: translate3d(8%, 5%, 0) scale(1.08);
    }
}

@keyframes sheen-pass {
    0%,
    18% {
        opacity: 0;
        transform: translateX(-170%) rotate(12deg);
    }

    28% {
        opacity: 0.34;
    }

    48%,
    100% {
        opacity: 0;
        transform: translateX(240%) rotate(12deg);
    }
}

@keyframes caption-enter {
    from {
        opacity: 0;
        transform: translateY(0.5rem);
    }

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

a {
    color: inherit;
}

.opening-sequence {
    position: fixed;
    z-index: 100;
    inset: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 48%, rgba(108, 30, 45, 0.46), transparent 28rem),
        linear-gradient(145deg, #18090d, var(--color-night) 68%);
    animation: opening-leave 1050ms var(--motion-enter) 2.05s forwards;
    pointer-events: none;
}

.opening-aura {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(80vw, 42rem);
    aspect-ratio: 1;
    border: 1px solid rgba(240, 201, 149, 0.09);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217, 170, 114, 0.14), transparent 64%);
    box-shadow: 0 0 9rem rgba(120, 27, 48, 0.32);
    animation: opening-aura-breathe 2.3s ease-in-out both;
}

.opening-aura::before,
.opening-aura::after {
    position: absolute;
    border: 1px solid rgba(240, 201, 149, 0.08);
    border-radius: inherit;
    content: "";
}

.opening-aura::before {
    inset: 9%;
}

.opening-aura::after {
    inset: 22%;
}

.perfume-spritz {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    width: min(84vw, 42rem);
    height: 13rem;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.spritz-nozzle {
    position: absolute;
    top: 49%;
    left: 1%;
    width: 2.8rem;
    height: 0.55rem;
    border: 1px solid rgba(240, 201, 149, 0.7);
    border-right: 0;
    border-radius: 0.15rem 0 0 0.15rem;
    background: linear-gradient(180deg, rgba(240, 201, 149, 0.22), rgba(143, 99, 58, 0.08));
    box-shadow: -0.45rem 0 1.4rem rgba(240, 201, 149, 0.12);
    animation: nozzle-press 2.25s var(--motion-enter) both;
}

.spritz-nozzle::before {
    position: absolute;
    top: 50%;
    right: -0.18rem;
    width: 0.28rem;
    height: 0.28rem;
    border-radius: 50%;
    background: var(--color-accent-strong);
    box-shadow: 0 0 0.8rem rgba(240, 201, 149, 0.8);
    content: "";
    transform: translateY(-50%);
}

.spritz-stream {
    position: absolute;
    top: 50%;
    left: 7%;
    width: 26%;
    height: 1px;
    background: linear-gradient(90deg, rgba(240, 201, 149, 0.9), transparent);
    box-shadow: 0 0 0.55rem rgba(240, 201, 149, 0.54);
    transform-origin: left center;
    animation: spritz-stream 2.25s ease-out both;
}

.spritz-cloud {
    position: absolute;
    top: 50%;
    left: 22%;
    width: 64%;
    height: 72%;
    border-radius: 50%;
    background:
        radial-gradient(ellipse at 25% 48%, rgba(255, 244, 224, 0.64), transparent 22%),
        radial-gradient(ellipse at 52% 35%, rgba(240, 201, 149, 0.48), transparent 28%),
        radial-gradient(ellipse at 62% 64%, rgba(255, 248, 237, 0.34), transparent 34%);
    filter: blur(12px);
    mix-blend-mode: screen;
    transform-origin: left center;
    animation: spritz-cloud-bloom 2.45s ease-out both;
}

.spritz-particle {
    --particle-x: 14rem;
    --particle-y: -2rem;
    position: absolute;
    top: 50%;
    left: 10%;
    width: 0.22rem;
    height: 0.22rem;
    border-radius: 50%;
    background: rgba(255, 238, 211, 0.88);
    box-shadow: 0 0 0.65rem rgba(240, 201, 149, 0.72);
    animation: spritz-particle-fly 2.4s cubic-bezier(0.19, 1, 0.22, 1) both;
}

.spritz-particle:nth-of-type(5) {
    --particle-x: 20rem;
    --particle-y: -4.8rem;
    width: 0.15rem;
    height: 0.15rem;
}

.spritz-particle:nth-of-type(6) {
    --particle-x: 25rem;
    --particle-y: 3.8rem;
    top: 47%;
}

.spritz-particle:nth-of-type(7) {
    --particle-x: 31rem;
    --particle-y: -1.2rem;
    width: 0.12rem;
    height: 0.12rem;
}

.spritz-particle:nth-of-type(8) {
    --particle-x: 17rem;
    --particle-y: 5.4rem;
    top: 52%;
}

.spritz-particle:nth-of-type(9) {
    --particle-x: 35rem;
    --particle-y: -5.8rem;
    width: 0.14rem;
    height: 0.14rem;
}

.spritz-particle:nth-of-type(10) {
    --particle-x: 28rem;
    --particle-y: 6.5rem;
    width: 0.1rem;
    height: 0.1rem;
}

.opening-lockup {
    position: relative;
    z-index: 3;
    display: grid;
    justify-items: center;
    width: min(88vw, 38rem);
    text-align: center;
}

.opening-kicker,
.opening-note {
    color: var(--color-accent-strong);
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    animation: opening-detail-enter 700ms var(--motion-enter) both;
}

.opening-kicker {
    animation-delay: 160ms;
}

.opening-wordmark {
    margin: 1rem 0 0.8rem;
    font-family: var(--font-display);
    font-size: clamp(2.3rem, 9vw, 5.5rem);
    font-weight: 400;
    white-space: nowrap;
    animation: opening-wordmark-enter 950ms var(--motion-enter) 260ms both;
}

.opening-rule {
    width: min(16rem, 56vw);
    height: 1px;
    margin-bottom: 0.9rem;
    background: linear-gradient(90deg, transparent, var(--color-accent-strong), transparent);
    transform-origin: center;
    animation: opening-rule-enter 900ms var(--motion-enter) 520ms both;
}

.opening-note {
    color: var(--color-muted);
    animation-delay: 680ms;
}

.skip-link {
    position: fixed;
    z-index: 50;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.75rem 1rem;
    transform: translateY(-160%);
    border-radius: 999px;
    background: var(--color-text);
    color: var(--color-bg);
    font-weight: 700;
    transition: transform var(--transition);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header,
.site-footer {
    width: min(100% - 2rem, 86rem);
    margin-inline: auto;
}

.site-header {
    position: absolute;
    z-index: 10;
    inset: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 5rem;
    border-bottom: 1px solid var(--color-line);
    animation: header-enter 850ms var(--motion-enter) 1.5s both;
}

.wordmark {
    padding-block: 0.75rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-decoration: none;
}

.launch-label,
.eyebrow,
.hero-visual figcaption {
    color: var(--color-accent-strong);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero {
    position: relative;
    display: grid;
    min-height: 100svh;
}

.hero::before {
    position: absolute;
    z-index: -1;
    top: 18%;
    left: -12rem;
    width: 30rem;
    height: 30rem;
    border-radius: 50%;
    background: rgba(128, 39, 59, 0.18);
    content: "";
    filter: blur(90px);
    pointer-events: none;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 7.5rem 1rem 3rem;
}

.eyebrow {
    margin: 0 0 var(--space-2);
}

h1,
h2 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: -0.045em;
    line-height: 0.92;
}

h1 {
    max-width: 10ch;
    font-size: clamp(3.25rem, 13vw, 7.6rem);
}

.title-line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.06em;
}

.title-line > span {
    display: block;
    animation: title-enter 950ms var(--motion-enter) both;
}

.title-line:nth-child(1) > span {
    animation-delay: 1.65s;
}

.title-line:nth-child(2) > span {
    animation-delay: 1.78s;
}

.title-line:nth-child(3) > span {
    animation-delay: 1.91s;
}

h1 em {
    color: var(--color-accent-strong);
    font-weight: 400;
}

.intro {
    max-width: 31rem;
    margin: var(--space-3) 0 var(--space-4);
    color: var(--color-muted);
    font-size: clamp(1rem, 2vw, 1.2rem);
    animation: content-enter 800ms var(--motion-enter) 2.02s both;
}

.signup-form {
    width: min(100%, 37rem);
    animation: content-enter 800ms var(--motion-enter) 2.14s both;
}

.field-grid {
    display: grid;
    gap: 0.875rem;
}

.field label {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--color-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.field input {
    width: 100%;
    min-height: 3.4rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    outline: 0;
    background: rgba(255, 248, 237, 0.055);
    color: var(--color-text);
    font: inherit;
    transition: border-color var(--transition), background-color var(--transition), box-shadow var(--transition);
}

.field input::placeholder {
    color: #a68f89;
}

.field input:hover {
    border-color: rgba(240, 201, 149, 0.52);
}

.field input:focus-visible {
    border-color: var(--color-accent-strong);
    background: rgba(255, 248, 237, 0.08);
    box-shadow: 0 0 0 3px rgba(240, 201, 149, 0.22);
}

.field input[aria-invalid="true"] {
    border-color: var(--color-error);
}

.field-error {
    min-height: 1.15rem;
    margin: 0.25rem 0 0;
    color: var(--color-error);
    font-size: 0.78rem;
}

.trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.consent {
    display: grid;
    grid-template-columns: 1.35rem 1fr;
    gap: 0.75rem;
    align-items: start;
    margin-top: 0.25rem;
    color: var(--color-muted);
    cursor: pointer;
    font-size: 0.78rem;
    line-height: 1.45;
}

.consent input {
    width: 1.2rem;
    height: 1.2rem;
    margin: 0.1rem 0 0;
    accent-color: var(--color-accent-strong);
}

.consent input:focus-visible {
    outline: 3px solid rgba(240, 201, 149, 0.42);
    outline-offset: 2px;
}

.submit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    min-height: 3.5rem;
    margin-top: 0.4rem;
    padding: 0.8rem 1.2rem;
    border: 1px solid var(--color-accent-strong);
    border-radius: var(--radius);
    background: var(--color-accent-strong);
    color: #1f0e10;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    transition: background-color var(--transition), color var(--transition), box-shadow var(--transition);
}

.submit-button:hover {
    background: transparent;
    color: var(--color-accent-strong);
}

.submit-button:focus-visible,
.site-footer a:focus-visible,
.privacy a:focus-visible,
.wordmark:focus-visible {
    outline: 3px solid rgba(240, 201, 149, 0.48);
    outline-offset: 4px;
}

.submit-button:disabled {
    cursor: wait;
    opacity: 0.68;
}

.submit-button svg {
    transition: transform var(--transition);
}

.submit-button:hover svg {
    transform: translateX(0.25rem);
}

.microcopy,
.form-status {
    margin: 0.6rem 0 0;
    font-size: 0.78rem;
}

.microcopy {
    color: var(--color-muted);
    text-align: center;
}

.form-status {
    min-height: 1.2rem;
    color: var(--color-success);
    font-weight: 700;
}

.form-status[data-state="error"] {
    color: var(--color-error);
}

.benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.2rem;
    margin: var(--space-3) 0 0;
    padding: 0;
    color: var(--color-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    list-style: none;
    text-transform: uppercase;
    animation: content-enter 700ms var(--motion-enter) 2.28s both;
}

.benefits li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.benefits li::before {
    width: 0.28rem;
    height: 0.28rem;
    border-radius: 50%;
    background: var(--color-accent-strong);
    content: "";
}

.hero-visual {
    position: relative;
    min-height: 34rem;
    margin: 0;
    overflow: hidden;
    border-top: 1px solid var(--color-line);
    background: var(--color-surface);
    animation: visual-enter 1.35s var(--motion-enter) 1.35s both;
}

.hero-visual::before {
    position: absolute;
    z-index: 2;
    inset: 1rem;
    border: 1px solid rgba(240, 201, 149, 0.22);
    content: "";
    pointer-events: none;
}

.hero-visual::after {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(22, 9, 12, 0.02), rgba(22, 9, 12, 0.38)),
        linear-gradient(90deg, rgba(8, 4, 5, 0.18), transparent 40%);
    content: "";
    pointer-events: none;
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 48%;
    filter: blur(10px) brightness(0.82) saturate(0.9);
    transform: scale(1.035);
    animation: image-enter 1.8s var(--motion-enter) 1.25s both;
}

.visual-halo {
    position: absolute;
    z-index: 1;
    top: 15%;
    left: 16%;
    width: 68%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(240, 201, 149, 0.18), rgba(151, 45, 65, 0.06) 46%, transparent 70%);
    filter: blur(28px);
    animation: halo-drift 9s ease-in-out 2.7s infinite;
    pointer-events: none;
}

.visual-sheen {
    position: absolute;
    z-index: 2;
    top: -20%;
    bottom: -20%;
    left: 32%;
    width: 16%;
    background: linear-gradient(90deg, transparent, rgba(255, 233, 199, 0.28), transparent);
    filter: blur(12px);
    animation: sheen-pass 9s ease-in-out 3s infinite;
    pointer-events: none;
}

.visual-edition {
    position: absolute;
    z-index: 3;
    top: 6.5rem;
    right: 2rem;
    color: rgba(255, 248, 237, 0.64);
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-style: italic;
    letter-spacing: 0.12em;
    animation: caption-enter 700ms var(--motion-enter) 2.4s both;
}

.hero-visual figcaption {
    position: absolute;
    z-index: 2;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    text-align: right;
    animation: caption-enter 360ms var(--motion-enter) 220ms both;
    animation-duration: 700ms;
    animation-delay: 2.4s;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 5rem;
    color: var(--color-muted);
    font-size: 0.78rem;
}

.site-footer a,
.privacy a {
    text-underline-offset: 0.25em;
}

.privacy {
    display: grid;
    gap: var(--space-4);
    padding: var(--space-5) max(1rem, calc((100vw - 86rem) / 2));
    border-top: 1px solid var(--color-line);
    background: var(--color-surface);
}

.privacy h2 {
    max-width: 13ch;
    font-size: clamp(2.25rem, 7vw, 4.6rem);
}

.privacy-copy {
    max-width: 42rem;
    color: var(--color-muted);
}

.privacy-copy p:first-child {
    margin-top: 0;
}

@media (min-width: 42rem) {
    .site-header,
    .site-footer {
        width: min(100% - 4rem, 86rem);
    }

    .hero-copy {
        padding-inline: 2rem;
    }

    .field-grid {
        grid-template-columns: 1fr 1fr;
    }

    .privacy {
        grid-template-columns: minmax(17rem, 0.75fr) minmax(20rem, 1fr);
        padding-inline: max(2rem, calc((100vw - 86rem) / 2));
    }
}

@media (min-width: 64rem) {
    .hero {
        grid-template-columns: minmax(0, 48%) minmax(0, 52%);
    }

    .hero-copy {
        padding: 8rem max(3rem, calc((100vw - 86rem) / 2)) 4rem;
    }

    .hero-visual {
        min-height: 100svh;
        border-top: 0;
        border-left: 1px solid var(--color-line);
    }

    .hero-visual figcaption {
        right: 2rem;
        bottom: 2rem;
    }

    .hero-visual::before {
        inset: 2rem;
    }
}

@media (max-height: 48rem) and (min-width: 64rem) {
    .hero-copy {
        justify-content: flex-start;
        padding-top: 6.4rem;
        padding-bottom: 1.25rem;
    }

    h1 {
        font-size: clamp(3.75rem, 6.2vw, 5.4rem);
    }

    .intro {
        margin-block: 0.75rem 0.9rem;
    }

    .field input {
        min-height: 3rem;
        padding-block: 0.68rem;
    }

    .field-error {
        min-height: 0.8rem;
    }

    .submit-button {
        min-height: 3.15rem;
    }

    .benefits {
        margin-top: 0.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-delay: 0ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .opening-sequence {
        display: none;
    }
}
