.archive-band {
    --archive-bg: #edf1f4;
    --archive-ink: #0a1a2d;
    --archive-muted: #647286;
    --archive-line: rgba(10, 26, 45, .15);
    --archive-accent: #bd8831;
    position: relative;
    overflow: hidden;
    padding: clamp(5rem, 8vw, 8.5rem) clamp(1.25rem, 5vw, 5rem);
    background:
        linear-gradient(var(--archive-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--archive-line) 1px, transparent 1px),
        var(--archive-bg);
    background-size: 74px 74px;
    background-color: var(--archive-bg) !important;
    color: var(--archive-ink);
}

html.dark .archive-band,
.archive-band--ink {
    --archive-bg: #07131f;
    --archive-ink: #eef3f8;
    --archive-muted: #a1adba;
    --archive-line: rgba(220, 230, 240, .12);
    --archive-accent: #e0ca8d;
}

.archive-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, var(--archive-bg) 2%, transparent 48%, var(--archive-bg) 98%);
    pointer-events: none;
}

.archive-band__shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(260px, 4fr) minmax(0, 8fr);
    gap: clamp(2.5rem, 6vw, 7rem);
    align-items: center;
    width: min(1380px, 100%);
    margin-inline: auto;
}

.archive-band__copy {
    max-width: 470px;
}

.archive-band__eyebrow {
    display: flex;
    align-items: center;
    gap: .7rem;
    color: var(--archive-accent) !important;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.archive-band__eyebrow::before {
    content: "";
    width: 2.7rem;
    height: 1px;
    background: currentColor;
}

.archive-band__copy h2 {
    margin: 1.2rem 0 1.35rem;
    color: var(--archive-ink) !important;
    font: 800 clamp(3rem, 5.2vw, 6rem)/.87 "Barlow Condensed", sans-serif;
    letter-spacing: -.025em;
    text-transform: uppercase;
    text-wrap: balance;
}

.archive-band__copy p {
    margin: 0;
    color: var(--archive-muted) !important;
    line-height: 1.8;
}

.archive-band__copy a {
    display: inline-flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: 2rem;
    padding-bottom: .7rem;
    border-bottom: 1px solid var(--archive-accent);
    color: var(--archive-ink);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.archive-band__copy a span {
    color: var(--archive-accent) !important;
    font-size: 1rem;
}

.archive-band__media {
    position: relative;
    min-height: clamp(460px, 47vw, 650px);
}

.archive-band__photo {
    position: absolute;
    overflow: hidden;
    margin: 0;
    background: #122131;
    box-shadow: 0 24px 65px rgba(0, 0, 0, .22);
}

.archive-band__photo::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255,255,255,.18);
    box-shadow: inset 0 -110px 100px -80px rgba(0,0,0,.8);
    pointer-events: none;
}

.archive-band__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .9s cubic-bezier(.2,.75,.2,1);
}

.archive-band__photo:hover img {
    transform: scale(1.025);
}

.archive-band__photo figcaption {
    position: absolute;
    z-index: 2;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.archive-band__photo figcaption span {
    color: var(--archive-accent) !important;
}

.archive-band__photo--01 {
    inset: 0 27% 0 0;
}

.archive-band__photo--02 {
    top: 4%;
    right: 0;
    width: 32%;
    height: 44%;
    z-index: 2;
}

.archive-band__photo--03 {
    right: 2%;
    bottom: 3%;
    width: 37%;
    height: 44%;
    z-index: 3;
}

/* The legacy light-theme bridge uses highly specific !important rules. Keep
   intentional dark archive bands on their own component palette. */
html:not(.dark) #main-content .archive-band {
    background-color: var(--archive-bg) !important;
}

html:not(.dark) #main-content .archive-band__copy h2,
html:not(.dark) #main-content .archive-band__copy a {
    color: var(--archive-ink) !important;
}

html:not(.dark) #main-content .archive-band__copy p {
    color: var(--archive-muted) !important;
}

html:not(.dark) #main-content .archive-band__eyebrow,
html:not(.dark) #main-content .archive-band__copy a span,
html:not(.dark) #main-content .archive-band__photo figcaption span {
    color: var(--archive-accent) !important;
}

@media (max-width: 900px) {
    .archive-band__shell { grid-template-columns: 1fr; }
    .archive-band__copy { max-width: 680px; }
    .archive-band__media { min-height: min(680px, 80vw); }
}

@media (max-width: 600px) {
    .archive-band { padding-inline: 1rem; background-size: 48px 48px; }
    .archive-band__media { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; min-height: 0; }
    .archive-band__photo { position: relative; inset: auto; width: auto; height: auto; aspect-ratio: 1 / 1; }
    .archive-band__photo--01 { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
    .archive-band__photo figcaption { font-size: .56rem; }
}

@media (prefers-reduced-motion: reduce) {
    .archive-band__photo img { transition: none; }
}
