/* ══════════════════════════════════════════════════════════════
   The Year — 2026 — Static Showcase
   ══════════════════════════════════════════════════════════════ */

/* ── Palette ── */
:root {
    --night:          #1a1510;
    --ink:            #2a2118;
    --ink-mid:        #4a3f30;
    --ink-light:      #7a6e5f;
    --ink-faint:      #b0a090;
    --parchment-deep: #ddd0b3;
    --parchment-mid:  #ede5d0;
    --parchment:      #f5f0e8;
    --parchment-warm: #f8f2e5;
    --gold:           #9a7c3a;
    --gold-light:     #c9a84c;
    --rust:           #8b3a2a;
    --rust-light:     #c4694f;
}

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

/* ── Base ── */
html {
    background: var(--night);
    min-height: 100%;
}

body {
    font-family: 'EB Garamond', Georgia, serif;
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--ink-mid);
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── Noise Texture ── */
body::after {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.04;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)'/%3E%3C/svg%3E");
    background-size: 300px 300px;
}

/* ── Site Header ── */
.site-header {
    text-align: center;
    padding: 3rem 0 0;
}

.year-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 300;
    font-style: normal;
    font-size: 5.5rem;
    color: var(--parchment);
    line-height: 1;
    letter-spacing: 0.04em;
    margin-bottom: 1.5rem;
}

/* ── Decorative Rule ── */
.decorative-rule {
    height: 1px;
    border: none;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    margin-bottom: 0;
}

/* ── Page Content ── */
.page-content {
    background: var(--parchment);
    padding: 2.5rem 3rem 3rem;
}

/* ── Showcase ── */
@keyframes showcase-fade {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.showcase-fadein {
    animation: showcase-fade 1.8s ease-out both;
}

.showcase-reload.showcase-fadein {
    animation-delay: 0.6s;
}

.showcase-entry {
    max-width: 600px;
    margin: 0 auto;
}

.showcase-date {
    font-family: 'Cormorant SC', serif;
    font-weight: 400;
    font-style: normal;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-light);
    margin-bottom: 1.5rem;
}

.showcase-text {
    white-space: pre-wrap;
    font-size: 1.15rem;
    line-height: 1.85;
    margin-bottom: 1rem;
}

.showcase-file {
    margin-bottom: 1.5rem;
}

.showcase-media {
    margin-bottom: 1.5rem;
}

.showcase-img {
    display: block;
    max-width: 100%;
    margin-bottom: 0.75rem;
}

.showcase-media audio {
    display: block;
    width: 100%;
}

/* ── Buttons ── */
button, .btn {
    display: inline-block;
    font-family: 'Cormorant SC', serif;
    font-weight: 400;
    font-style: normal;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.55rem 1.4rem;
    background: var(--gold);
    color: var(--parchment);
    border: 1px solid var(--gold);
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s, border-color 0.3s;
}

button:hover, .btn:hover {
    background: var(--rust);
    border-color: var(--rust);
}

/* ── Translation Toggle ── */
.btn-translation {
    margin-top: 0.5rem;
    padding: 0.35rem 0.8rem;
    font-size: 0.6rem;
    background: var(--parchment-deep);
    color: var(--ink-mid);
    border-color: var(--parchment-deep);
}

.btn-translation:hover {
    background: var(--parchment-deep);
    color: var(--ink);
}

.entry-translation {
    white-space: pre-wrap;
    margin-top: 0.5rem;
    padding: 1rem;
    background: var(--parchment-warm);
    font-style: italic;
    color: var(--ink-mid);
}

/* ── Video Embed ── */
.video-embed {
    width: 100%;
    aspect-ratio: 16 / 9;
}

/* ── Shuffle Bag Counter ── */
.showcase-counter {
    font-family: 'Cormorant SC', serif;
    font-weight: 400;
    font-style: normal;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-faint);
    text-align: center;
    margin-top: 0.5rem;
}

.showcase-reshuffle {
    color: var(--gold);
    text-decoration: none;
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    margin-left: 1rem;
}

.showcase-reshuffle:hover {
    color: var(--gold-light);
}

/* ── Loading State ── */
.showcase-loading {
    text-align: center;
    padding: 4rem 0;
    color: var(--ink-faint);
    font-style: italic;
}
