.today-page .site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.today-page .site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 1.25rem 2rem 0;
}

.today-page .site-nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.today-page .site-nav a {
    color: rgba(255, 248, 235, 0.88);
}

.today-page .page-main {
    flex: 1;
}

.today-page .site-footer {
    display: flex;
    justify-content: flex-end;
    padding: 0 2rem 1.5rem;
}

.today-page .site-contact-link {
    color: #556b2f;
    font-family: Futura, "Trebuchet MS", Arial, sans-serif;
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: lowercase;
}

.today-blank {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 26vh 3rem 4rem;
}

.today-triptych {
    width: min(72rem, calc(100vw - 8rem));
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
}

.today-window {
    position: relative;
    aspect-ratio: 1 / 1.618;
    border: 1px solid rgba(0, 0, 0, 0.16);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255, 214, 186, 0.96) 0%, rgba(244, 196, 191, 0.94) 42%, rgba(210, 197, 233, 0.92) 100%);
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(20, 16, 10, 0.08);
}

.today-window--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.today-window--upload {
    padding: 1rem;
}

.today-window--midnight {
    border: 2.5px solid rgba(255, 248, 235, 0.52);
    background: linear-gradient(180deg, rgba(10, 18, 52, 0.98) 0%, rgba(15, 29, 76, 0.96) 52%, rgba(26, 42, 98, 0.94) 100%);
    box-shadow: 0 10px 24px rgba(20, 16, 10, 0.08), 0 0 0 1px rgba(255, 248, 235, 0.14), 0 0 16px rgba(255, 248, 235, 0.22);
}

.today-window--midnight .today-window__label {
    color: rgba(255, 248, 235, 0.72);
}

.today-window__sparkles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.today-sparkle {
    opacity: var(--opacity, 0.88);
    animation: today-sparkle-twinkle var(--duration, 3.6s) ease-in-out infinite alternate;
    animation-delay: var(--delay, 0s);
    transform-origin: center;
}

.today-sparkle__core {
    fill: #fff8eb;
}

.today-sparkle__glow {
    fill: rgba(239, 226, 188, 0.2);
}

.today-sparkle__burst {
    fill: none;
    stroke: rgba(255, 248, 235, 0.46);
    stroke-linecap: round;
}

.today-sparkle__burst--major {
    stroke-width: 0.82;
}

.today-sparkle__burst--minor {
    stroke-width: 0.5;
    opacity: 0.5;
}

.today-window__label {
    position: relative;
    z-index: 1;
    color: rgba(1, 8, 24, 0.55);
    font-family: Futura, "Trebuchet MS", Arial, sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: lowercase;
}

.today-upload {
    width: 100%;
    height: 100%;
}

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

.today-upload__dropzone {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 2rem 1.5rem;
    border: 1.5px dashed rgba(255, 248, 235, 0.38);
    border-radius: 10px;
    color: rgba(255, 248, 235, 0.86);
    text-align: center;
    cursor: pointer;
    transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.today-upload__dropzone:hover,
.today-upload__dropzone:focus-visible,
.today-upload.is-dragover .today-upload__dropzone {
    border-color: rgba(255, 248, 235, 0.78);
    background: rgba(255, 248, 235, 0.08);
    transform: translateY(-1px);
}

.today-upload__hint,
.today-upload__subhint,
.today-upload__status {
    position: relative;
    z-index: 1;
    font-family: Futura, "Trebuchet MS", Arial, sans-serif;
}

.today-upload__hint {
    font-size: 0.95rem;
    color: rgba(255, 248, 235, 0.88);
}

.today-upload__subhint {
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 248, 235, 0.62);
}

.today-upload__preview {
    position: relative;
    z-index: 1;
    margin-top: 1rem;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 248, 235, 0.06);
}

.today-upload__preview[hidden] {
    display: none;
}

.today-upload__preview-image {
    display: block;
    width: 100%;
    max-height: 18rem;
    object-fit: cover;
}

.today-upload__preview-doc {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 1rem;
    color: rgba(255, 248, 235, 0.9);
    font-family: Futura, "Trebuchet MS", Arial, sans-serif;
}

.today-upload__preview-doc[hidden] {
    display: none;
}

.today-upload__preview-doc-icon {
    font-size: 1.25rem;
}

.today-upload__status {
    min-height: 1.2em;
    margin: 0.85rem 0 0;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 248, 235, 0.74);
}

.today-upload.has-preview .today-upload__dropzone {
    min-height: auto;
    padding: 1rem;
}

.today-upload.is-uploading .today-upload__status {
    color: rgba(255, 248, 235, 0.92);
}

.today-upload.is-success .today-upload__status {
    color: #d7f7d1;
}

.today-upload.is-error .today-upload__status {
    color: #ffd4d4;
}

@keyframes today-sparkle-twinkle {
    from {
        opacity: calc(var(--opacity, 0.88) - 0.16);
        filter: drop-shadow(0 0 2px rgba(255, 248, 235, 0.12)) drop-shadow(0 0 5px rgba(239, 226, 188, 0.06));
    }
    to {
        opacity: var(--opacity, 0.88);
        filter: drop-shadow(0 0 4px rgba(255, 248, 235, 0.28)) drop-shadow(0 0 9px rgba(239, 226, 188, 0.12));
    }
}

@media (prefers-reduced-motion: reduce) {
    .today-sparkle {
        animation: none;
    }
}

@media (max-width: 700px) {
    .today-page .site-header {
        padding-inline: 1rem;
    }

    .today-page .site-footer {
        padding: 0 1rem 1.25rem;
    }

    .today-blank {
        padding-inline: 1rem;
    }

    .today-triptych {
        grid-template-columns: 1fr;
    }
}
