/* ====================================================================
   CFCP — Centre for Creative Practices
   Visual Identity: "Quiet Index" — restrained editorial archive with one
   quirky gesture per screen, drawn from CFCP's own dot-grid wordmark
   rather than invented from scratch. References: postcollapse.art
   (bold grotesk mark, single accent dot, hairline rules, poster imagery)
   and ormstonhouse.com (bold tracked-out serif caps, full-bleed imagery,
   borderless listings, huge whitespace).
   Palette: Ink · Bone · Stone (base) + the six dot-grid logo colours,
   each assigned to one primary section, used ONLY as tag/accent dots.
   Type: Cormorant Garamond (display) + Space Grotesk (UI/metadata)
   ==================================================================== */

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

/* ── Tokens ─────────────────────────────────────────────────────────── */
:root {
    --ink:            #0A0A0A;
    --bone:           #F0EAE0;
    --surface:        #FAF8F4;
    --acid:           #CBFF00;
    --red:            #E8200A;
    --stone:          #9E9890;
    --mid:            #5A5650;
    --stroke:         1.5px;
    --gap:            2rem;
    --max-width:      1400px;
    --col-padding:    clamp(1.5rem, 4vw, 4rem);
    --offset-shadow:  4px 4px 0 var(--ink);

    /* Dot-grid palette, sampled from the CFCP wordmark itself — this is
       the single "quirky" signature, reused everywhere instead of
       inventing new accent colours. Each dot maps to one primary section. */
    --dot-cyan:    #29ABE2;  /* Projects */
    --dot-magenta: #EC008C;  /* Support */
    --dot-green:   #8DC63F;  /* Gallery */
    --dot-yellow:  #FFC20E;  /* Library */
    --dot-slate:   #5C6770;  /* About */
}


/* ── Base ───────────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ink);
    background: var(--surface);
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 300;
    line-height: 1.05;
    margin-bottom: 0.5em;
}

p { margin-bottom: 1em; }
ul, ol { padding-left: 1.5rem; margin-bottom: 1em; }

/* ── Container ──────────────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin-inline: auto;
    padding-inline: var(--col-padding);
}

/* ====================================================================
   HEADER  — centered wordmark + nav bar below (Reseda-style)
   ==================================================================== */
.site-header {
    background: var(--surface);
    position: sticky;
    top: 0;
    z-index: 200;
    border-bottom: var(--stroke) solid rgba(10,10,10,0.18);
}

/* Row 1: giant centered wordmark */
.header-wordmark-row {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.6rem var(--col-padding) 0.8rem;
    border-bottom: var(--stroke) solid rgba(10,10,10,0.12);
}

.site-wordmark {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.2s;
}
.site-wordmark img {
    height: clamp(36px, 5vw, 56px);
    width: auto;
    display: block;
}
.site-wordmark:hover { opacity: 0.7; }

/* Row 2: tagline | nav | location */
.header-nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem var(--col-padding);
    gap: 2rem;
}

.header-tagline,
.header-location {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--stone);
    white-space: nowrap;
    flex-shrink: 0;
}

/* ── Site search (header) ─────────────────────────────────────── */
.site-search {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}
.site-search input[type="search"] {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    padding: 0.35rem 0.6rem;
    border: 1.5px solid var(--ink);
    background: var(--surface);
    color: var(--ink);
    width: 140px;
}
.site-search button {
    border: 1.5px solid var(--ink);
    background: var(--ink);
    color: var(--acid);
    font-size: 0.8rem;
    padding: 0.35rem 0.6rem;
    cursor: pointer;
}

/* Nav */
.site-nav { flex: 1; display: flex; justify-content: center; }

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
}
.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--ink);
    transition: transform 0.2s, opacity 0.2s;
}
.mobile-menu-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-list {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
}

.nav-item { position: relative; }

.nav-item > a {
    display: block;
    padding: 0.3rem 0.9rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink);
    transition: color 0.15s;
    position: relative;
}

.nav-item > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.9rem;
    right: 0.9rem;
    height: 1.5px;
    background: var(--acid);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s;
}

.nav-item > a:hover::after,
.nav-item.active > a::after,
.nav-item.ancestor > a::after { transform: scaleX(1); }

.nav-item > a:hover { color: var(--ink); }
.nav-item.active > a,
.nav-item.ancestor > a { color: var(--ink); }

/* Dropdown */
.nav-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 200px;
    background: var(--ink);
    list-style: none;
    z-index: 300;
    border: var(--stroke) solid var(--ink);
}
.nav-item.has-children:hover .nav-dropdown,
.nav-item.has-children:focus-within .nav-dropdown { display: block; }

.nav-dropdown .nav-item > a {
    color: var(--bone);
    padding: 0.7rem 1.1rem;
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    display: block;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav-dropdown .nav-item > a::after { display: none; }
.nav-dropdown .nav-item > a:hover { background: var(--acid); color: var(--ink); }
.nav-dropdown .nav-item:last-child > a { border-bottom: none; }

/* ====================================================================
   MAIN
   ==================================================================== */
.site-main { flex: 1; }

/* ====================================================================
   HOME — FULL-VIEWPORT HERO  (Reseda-style)
   ==================================================================== */
.hero-image img {
    display: block;
    width: 100%;
    max-height: 70vh;
    object-fit: cover;
}
.hero-image figure { margin: 0; }
.hero {
    position: relative;
    min-height: calc(70dvh);
    background-color: var(--ink);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    border-bottom: var(--stroke) solid var(--ink);
}

/* Quiet Index: the hero used to carry a busy multi-colour SVG "punk chaos"
   background. Replaced with a single restrained gesture -- one thin
   diagonal hairline in the CFCP dot-grid's cyan, echoing the single
   accent-dot motif used across tags and section heroes, instead of a
   dense decorative graphic. */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background: linear-gradient(
        115deg,
        transparent 0%,
        transparent calc(50% - 1px),
        var(--dot-cyan) calc(50% - 1px),
        var(--dot-cyan) calc(50% + 1px),
        transparent calc(50% + 1px),
        transparent 100%
    );
    opacity: 0.55;
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: var(--col-padding) var(--col-padding) 4rem;
    max-width: 900px;
}

/* Hero typography when editors drop in headings / text */
.hero-content h1,
.hero-content h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 300;
    font-size: clamp(3.5rem, 9vw, 9rem);
    line-height: 0.95;
    color: var(--bone);
    margin-bottom: 1.5rem;
}

.hero-content h1 em,
.hero-content h2 em { font-style: italic; color: var(--dot-cyan); }

.hero-content p {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(0.9rem, 1.2vw, 1.05rem);
    line-height: 1.7;
    color: rgba(240,234,224,0.6);
    max-width: 480px;
    margin-bottom: 2.5rem;
}

.hero-content a:not(.btn) {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--bone);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(240,234,224,0.35);
    padding-bottom: 0.15rem;
    transition: gap 0.2s;
}
.hero-content a:not(.btn):hover { gap: 0.9rem; }
.hero-content a:not(.btn)::after { content: "→"; }

/* Scroll hint */
.hero-scroll-hint {
    position: absolute;
    bottom: 2rem;
    right: var(--col-padding);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.scroll-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.55rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(240,234,224,0.35);
    writing-mode: vertical-rl;
}
.scroll-line {
    width: 1px;
    height: 40px;
    background: rgba(240,234,224,0.25);
    animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
    0%, 100% { opacity: 0.25; transform: scaleY(1); }
    50% { opacity: 0.7; transform: scaleY(1.3); }
}

/* ====================================================================
   HOME — INTRO STATEMENT
   ==================================================================== */
.home-intro {
    padding: 5rem var(--col-padding);
    background: var(--surface);
    border-bottom: var(--stroke) solid rgba(10,10,10,0.12);
}

.home-intro-inner {
    display: grid;
    grid-template-columns: 60px 1fr 60px;
    align-items: center;
    gap: 2.5rem;
    max-width: var(--max-width);
    margin-inline: auto;
}

.intro-rule {
    display: block;
    height: 1px;
    background: var(--ink);
    opacity: 0.2;
}

.intro-statement {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: clamp(1.4rem, 2.5vw, 2.25rem);
    line-height: 1.45;
    color: var(--ink);
    text-align: center;
    margin: 0;
}
.intro-statement p {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    text-align: center;
    margin: 0;
}

/* ====================================================================
   HOME — EDITORIAL FEATURE BLOCKS  (Reseda 50/50 alternating)
   ==================================================================== */
.home-features { background: var(--surface); }

.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 60vh;
    border-bottom: var(--stroke) solid rgba(10,10,10,0.12);
}

.feature-block--even .feature-block-text { order: -1; }

.feature-block-image {
    background: var(--bone);
    overflow: hidden;
    position: relative;
}
.feature-block-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.feature-block:hover .feature-block-image img { transform: scale(1.03); }

/* Placeholder when no image */
.feature-block-image:empty,
.feature-block-image > *:only-child:not(img) {
    background: var(--bone);
}

.feature-block-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(3rem, 6vw, 6rem) clamp(2.5rem, 5vw, 5rem);
}

.feature-block-text h2,
.feature-block-text h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 300;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.05;
    margin-bottom: 1.25rem;
}

.feature-block-text p {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--mid);
    max-width: 440px;
    margin-bottom: 2rem;
}

.feature-block-text a:not(.btn) {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1.5px solid var(--ink);
    padding-bottom: 0.1rem;
    transition: gap 0.2s, color 0.15s, border-color 0.15s;
    align-self: flex-start;
}
.feature-block-text a:not(.btn):hover { color: var(--red); border-color: var(--red); gap: 0.85rem; }
.feature-block-text a:not(.btn)::after { content: "→"; }

/* Feature block counter mark */
.feature-block-text::before {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.55rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--stone);
    margin-bottom: 2rem;
}
.feature-block:nth-child(1) .feature-block-text::before { content: "— 01"; }
.feature-block:nth-child(2) .feature-block-text::before { content: "— 02"; }
.feature-block:nth-child(3) .feature-block-text::before { content: "— 03"; }

/* ====================================================================
   HOME — MARQUEE STRIP  (punk interrupt between sections)
   ==================================================================== */
.home-marquee {
    background: var(--ink);
    overflow: hidden;
    height: 44px;
    display: flex;
    align-items: center;
    border-top: var(--stroke) solid var(--ink);
    border-bottom: var(--stroke) solid var(--ink);
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    white-space: nowrap;
    animation: marquee 28s linear infinite;
    padding-inline: 2rem;
    will-change: transform;
}

.marquee-track span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(240,234,224,0.55);
}

.marquee-sep {
    color: var(--dot-cyan) !important;
    opacity: 1 !important;
    font-size: 0.45rem !important;
    line-height: 1;
}

@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ====================================================================
   HOME — CONTENT AREA
   ==================================================================== */
.home-content { padding: 5rem 0; }

/* ====================================================================
   SECTION HERO BANNERS (Projects, Support, Gallery, Library, etc.)
   Quiet Index: light ground, bold tracked-out serif caps (Ormston House
   reference) instead of a dark punk block with decorative ghost letters.
   ==================================================================== */
.section-hero {
    padding: 5rem 0 3.5rem;
    border-bottom: var(--stroke) solid var(--ink);
    position: relative;
    background: var(--surface);
}

.section-hero .container { position: relative; z-index: 1; }

.section-hero h1 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 700;
    font-size: clamp(2.25rem, 6vw, 4.5rem);
    line-height: 1;
    color: var(--ink);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.section-subtitle {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--stone);
    margin-top: 1.25rem;
    display: block;
}

/* Single accent dot above the title — the one quirky gesture per screen,
   coloured per-section from the dot-grid palette rather than the ghost-
   letter watermark this used to be. */
.section-hero .container::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--stone);
    margin-bottom: 1.75rem;
}
.section-hero--archive .container::before  { background: var(--dot-cyan); }
.section-hero--calls .container::before    { background: var(--dot-magenta); }
.section-hero--gallery .container::before  { background: var(--dot-green); }
.section-hero--library .container::before  { background: var(--dot-yellow); }
.section-hero--parallax .container::before { background: var(--dot-yellow); }
.section-hero--shop .container::before     { background: var(--dot-yellow); }


/* ====================================================================
   NEWS / EVENTS LISTING
   ==================================================================== */
.news-list {
    padding-block: 4rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.news-item {
    border-top: var(--stroke) solid var(--ink);
}
.news-item:last-child {
    border-bottom: var(--stroke) solid var(--ink);
}
.news-item-inner {
    display: grid;
    grid-template-columns: 140px 1fr auto;
    align-items: baseline;
    gap: 0 3rem;
    padding: 2rem 0;
    text-decoration: none;
    color: var(--ink);
    transition: background 0.15s ease;
}
.news-item-inner:hover { background: var(--acid); padding-inline: 1rem; margin-inline: -1rem; }
.news-item-inner:hover .news-item-read { opacity: 1; }
.news-item-date {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--stone);
    white-space: nowrap;
}
.news-item-inner:hover .news-item-date { color: var(--mid); }
.news-item-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.4rem, 2.5vw, 2.2rem);
    font-weight: 300;
    line-height: 1.15;
    margin: 0;
}
.news-item-excerpt {
    grid-column: 2;
    font-size: 0.9rem;
    color: var(--mid);
    margin: 0.5rem 0 0;
    line-height: 1.6;
}
.news-item-read {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0;
    white-space: nowrap;
    transition: opacity 0.15s ease;
    align-self: center;
}
.news-empty {
    color: var(--stone);
    font-style: italic;
    padding: 3rem 0;
}
@media (max-width: 680px) {
    .news-item-inner {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }
    .news-item-read { display: none; }
}

/* ====================================================================
   MAIN CONTENT AREAS
   ==================================================================== */
.main-content, .fullwidth-content { padding-block: 5rem; }
.page-header {
    padding: 5rem 0 0;
    margin-bottom: 3rem;
    border-bottom: var(--stroke) solid rgba(10,10,10,0.12);
    padding-bottom: 2.5rem;
}
.page-header h1 {
    font-size: clamp(2.5rem, 6vw, 6rem);
    font-weight: 300;
}

/* ====================================================================
   FILTER CHIPS
   ==================================================================== */
.section-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    padding: 2.5rem 0 2rem;
}

.filter-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--stone);
    margin-right: 0.5rem;
}

.filter-chip {
    padding: 0.35rem 1rem;
    border: 1px solid rgba(10,10,10,0.25);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink);
    background: transparent;
    text-decoration: none;
    transition: background 0.12s, color 0.12s, border-color 0.12s;
    cursor: pointer;
}
.filter-chip:hover, .filter-chip.active {
    background: var(--ink);
    color: var(--acid);
    border-color: var(--ink);
}

.section-filters--quick + .section-filters { padding-top: 0.5rem; }

.filter-reset {
    margin-left: 0.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--stone);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.filter-reset:hover { color: var(--ink); }

/* ====================================================================
   CARD GRID
   Quiet Index: borderless, no background wrapper — content just breathes
   in whitespace (Ormston House reference), instead of a bordered grid.
   ==================================================================== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 3rem 2.5rem;
    padding-bottom: 5rem;
}
.card-grid--artists { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.card-grid--shop    { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

.card {
    background: transparent;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
}
.card:hover { transform: translateY(-2px); }
.card:hover .card-title a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.card-image {
    display: block;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--bone);
}
.card-image--square { aspect-ratio: 1/1; }
.card-image--book   { aspect-ratio: 2/3; }

.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card-image img { transform: scale(1.05); }

.card-image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--stone);
    background: var(--bone);
    aspect-ratio: 4/3;
}

.card-body {
    padding: 1.5rem 1.5rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--mid);
    background: none;
    padding: 0;
    margin-bottom: 0.75rem;
    align-self: flex-start;
}
/* Quirky signature dot, borrowed from postcollapse.art's single accent-dot
   gesture — punctuation, not decoration. Every tag gets one, coloured by
   its own modifier below. */
.card-tag::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

/* ── Multi-tag metadata row (Programme · Format · Status, brief §9) ──── */
/* Past items keep the same card treatment as current/upcoming items —
   status is communicated only through this tag's colour, never by fading or
   greying out the whole card. */
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 0.75rem;
}
.card-tags .card-tag { margin-bottom: 0; }

/* ── Project status tags (colour only, no fill) ───────────── */
.card-tag--current  { color: var(--ink); }
.card-tag--current::before { background: var(--acid); box-shadow: 0 0 0 1.5px var(--ink); }
.card-tag--past      { color: var(--stone); }

/* ── Call status tags ──────────────────── */
.card-tag--open      { color: var(--ink); }
.card-tag--open::before { background: var(--acid); box-shadow: 0 0 0 1.5px var(--ink); }
.card-tag--upcoming  { color: var(--ink); }
.card-tag--upcoming::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); }
.card-tag--closed    { color: var(--stone); }

/* ── Programme tag (first in the Programme · Format · Status order, brief §9) ── */
.card-tag--programme { color: var(--red); }
.card-tag--programme::before { background: var(--red); }
.card-tag--programme a { color: inherit; text-decoration: none; }
.card-tag--programme a:hover { text-decoration: underline; }

/* ── Programme landing page section headings ─────────────────── */
.programme-section-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 300;
    font-size: 1.8rem;
    margin: 3rem 0 0.5rem;
}

/* ── Call detail meta box ───────────────────────────────────── */
.call-meta-box {
    border-top: 1.5px solid var(--ink);
    border-bottom: 1.5px solid var(--ink);
    padding: 2rem 0;
    margin: 3rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem 2rem;
}
.call-meta-item { display: flex; flex-direction: column; gap: 0.25rem; }
.call-meta-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--stone);
}
.call-meta-value {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--ink);
}

/* ── Apply button ───────────────────────────────────────────── */
.btn-apply {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink);
    background: var(--acid);
    padding: 1rem 2.5rem;
    border: none;
    box-shadow: var(--offset-shadow);
    text-decoration: none;
    cursor: pointer;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.btn-apply:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--ink);
}

.card-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 1.1;
    margin: 0 0 0.5rem;
}
.card-title a { color: inherit; }
.card-title a:hover { text-decoration: underline; text-decoration-thickness: 1px; }

.card-date, .card-meta {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    color: var(--stone);
    margin: 0 0 0.4rem;
}

.card-excerpt {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    color: var(--mid);
    line-height: 1.65;
    margin: 0.25rem 0 0;
    flex: 1;
}

.card-artists {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    color: var(--mid);
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(10,10,10,0.08);
}

/* ====================================================================
   SIDEBAR LAYOUTS
   ==================================================================== */
.layout-sidebar-left,
.layout-sidebar-right {
    display: grid;
    gap: var(--gap);
    padding-block: 4rem;
}
.layout-sidebar-left  { grid-template-columns: 280px 1fr; }
.layout-sidebar-right { grid-template-columns: 1fr 280px; }

.sidebar {
    background: var(--bone);
    border: 1px solid rgba(10,10,10,0.1);
    padding: 2rem;
    align-self: start;
}
.sidebar h2, .sidebar h3, .sidebar h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border-bottom: 1.5px solid var(--ink);
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
}

/* ====================================================================
   DETAIL PAGES
   ==================================================================== */
.detail-page {
    padding: 4rem 0 5rem;
    max-width: 800px;
    margin-inline: auto;
}

/* Slash-separated breadcrumb, borrowed from postcollapse.art's list-index
   style ("Home / Exhibition / RePlay") instead of only a back-arrow link. */
.breadcrumb {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    color: var(--stone);
    margin-bottom: 2rem;
}
.breadcrumb a { color: var(--stone); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumb .breadcrumb-current { color: var(--ink); }

.detail-header { margin-bottom: 2.5rem; }

.detail-header h1 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 300;
    font-size: clamp(2.5rem, 5vw, 5rem);
    line-height: 1.0;
    margin: 0.25rem 0 0.5rem;
}

.detail-meta {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--stone);
}

.detail-cover {
    margin-bottom: 2.5rem;
    overflow: hidden;
    max-height: 580px;
    border: 1px solid rgba(10,10,10,0.1);
}
.detail-cover img { width: 100%; object-fit: cover; }

/* Full-bleed treatment (Ormston House reference): breaks out of the
   article's 800px reading column to run edge-to-edge, for the lead image
   on Project/Publication/Call detail pages. */
.detail-cover--full {
    width: 100vw;
    max-height: none;
    margin-left: calc(-50vw + 50%);
    border: none;
    margin-bottom: 3rem;
}
.detail-cover--full img { max-height: 70vh; }
figure.detail-cover { margin-top: 0; margin-right: 0; }
.detail-cover--full .image-credit { padding-inline: var(--col-padding); }

.image-credit {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.04em;
    color: var(--stone);
    margin-top: 0.5rem;
}

.detail-lead {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 1.5rem;
    line-height: 1.55;
    color: var(--mid);
    margin-bottom: 2.5rem;
    padding-left: 1.5rem;
    border-left: 3px solid var(--red);
}

.detail-body {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    line-height: 1.85;
}
.detail-body h2, .detail-body h3 { margin-top: 2.5rem; }

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3.5rem;
    padding: 0.65rem 1.4rem;
    border: 1.5px solid var(--ink);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink);
    background: transparent;
    transition: background 0.12s, color 0.12s;
}
.btn-back::before { content: "←"; font-size: 0.85rem; }
.btn-back:hover { background: var(--ink); color: var(--acid); }

/* ====================================================================
   ABOUT
   ==================================================================== */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
    padding-block: 5rem;
}
.about-layout--single { grid-template-columns: minmax(0, 760px); }

.about-sidebar {
    background: var(--bone);
    border: 1px solid rgba(10,10,10,0.1);
    padding: 2rem;
    align-self: start;
}

/* ====================================================================
   ARTIST PROFILE
   ==================================================================== */
.artist-header {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 3.5rem;
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: var(--stroke) solid rgba(10,10,10,0.12);
}

.artist-portrait { overflow: hidden; border: 1px solid rgba(10,10,10,0.1); }
.artist-portrait img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1/1; }

.artist-nationality {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--stone);
    margin-bottom: 1rem;
}

.artist-bio { line-height: 1.8; }

.artist-projects, .artist-media { margin-bottom: 3rem; }

.artist-projects h2, .artist-media h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border-bottom: 1.5px solid rgba(10,10,10,0.15);
    padding-bottom: 0.75rem;
    margin-bottom: 1.75rem;
}

/* ====================================================================
   MEDIA GRID
   ==================================================================== */
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 2px; }
.media-grid--main {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2px;
    background: rgba(10,10,10,0.08);
    padding-bottom: 4rem;
}

.media-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--ink);
    gap: 0.5rem;
}
.media-card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    transition: opacity 0.2s;
}
.media-card:hover img { opacity: 0.78; }
.media-card-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
}

.media-card-full {
    background: var(--surface);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}
.media-card-full:hover { transform: translate(-3px, -3px); box-shadow: var(--offset-shadow); }

.media-thumb {
    position: relative;
    display: block;
    aspect-ratio: 16/9;
    background: var(--ink);
    overflow: hidden;
}
.media-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.75; transition: opacity 0.25s; }
.media-thumb:hover img { opacity: 1; }
.media-thumb-placeholder {
    width: 100%; height: 100%;
    background: var(--ink);
    display: flex; align-items: center; justify-content: center;
    color: var(--stone); font-size: 2rem;
}

.media-play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--acid);
    opacity: 0.85;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
}
.media-thumb:hover .media-play-icon { opacity: 1; transform: scale(1.12); }

.media-card-body {
    padding: 1.25rem 1.5rem 1.75rem;
    font-family: 'Space Grotesk', sans-serif;
}

/* ====================================================================
   VIDEO EMBED
   ==================================================================== */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border: 1px solid rgba(10,10,10,0.1);
    background: #000;
    margin-bottom: 2rem;
}
.video-wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ====================================================================
   SHOP / PUBLICATIONS
   ==================================================================== */
.pub-actions {
    display: flex; align-items: center; gap: 0.75rem;
    margin-top: auto; padding-top: 1rem; flex-wrap: wrap;
}
.pub-actions--detail { margin-top: 2rem; }

.pub-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}
.pub-price--free { color: #1a7a2e; }
.pub-stock { font-family: 'Space Grotesk', sans-serif; font-size: 0.7rem; color: #1a7a2e; letter-spacing: 0.06em; }
.pub-stock--out { color: var(--red); }

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.25rem;
    background: var(--ink);
    color: var(--acid);
    border: 1.5px solid var(--ink);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.12s, color 0.12s;
}
.btn-download:hover { background: var(--acid); color: var(--ink); }

.pub-detail-layout { display: grid; grid-template-columns: 260px 1fr; gap: 3rem; margin-bottom: 3rem; }
.pub-cover { overflow: hidden; border: 1px solid rgba(10,10,10,0.1); }
.pub-cover img { width: 100%; }

/* ====================================================================
   FOOTER  — Reseda-style: editorial, centered, generous space
   ==================================================================== */
.site-footer {
    background: var(--ink);
    color: var(--bone);
    border-top: 3px solid var(--acid);
}

.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5rem var(--col-padding) 3rem;
    text-align: center;
    border-bottom: var(--stroke) solid rgba(240,234,224,0.08);
}

.footer-wordmark {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 1rem;
    opacity: 0.8;
    transition: opacity 0.2s;
}
.footer-wordmark img {
    height: clamp(32px, 5vw, 52px);
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}
.footer-wordmark:hover { opacity: 1; }

.footer-descriptor {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(240,234,224,0.3);
    margin: 0;
}

.footer-mid {
    display: flex;
    justify-content: center;
    padding: 2rem var(--col-padding);
    border-bottom: var(--stroke) solid rgba(240,234,224,0.08);
}

/* Footer re-uses nav-list styles which have dark styling — override */
.footer-mid .nav-list { gap: 0; }
.footer-mid .nav-item > a {
    color: rgba(240,234,224,0.45);
    font-size: 0.55rem;
    letter-spacing: 0.2em;
    padding: 0.3rem 1rem;
    transition: color 0.15s;
}
.footer-mid .nav-item > a::after { background: var(--acid); }
.footer-mid .nav-item > a:hover { color: var(--bone); }
.footer-mid .nav-item > a:hover::after { transform: scaleX(1); }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem var(--col-padding);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.55rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(240,234,224,0.25);
}
.footer-bottom a { color: rgba(240,234,224,0.35); transition: color 0.15s; }
.footer-bottom a:hover { color: var(--acid); }
.footer-funder { display: block; line-height: 0; }
.footer-funder img { display: block; height: 70px; width: auto; }

.footer-tagline {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 1.1rem;
    color: rgba(240,234,224,0.6);
    margin: 0.6rem 0 0;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.75rem;
    padding: 1.25rem var(--col-padding);
    border-bottom: var(--stroke) solid rgba(240,234,224,0.08);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.footer-links a { color: rgba(240,234,224,0.55); transition: color 0.15s; }
.footer-links a:hover { color: var(--bone); }

/* ====================================================================
   EMPTY STATE
   ==================================================================== */
.empty-state {
    padding: 5rem 0;
    text-align: center;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 1.5rem;
    color: var(--stone);
}

/* ====================================================================
   GENERIC TYPOGRAPHY HELPERS
   ==================================================================== */
blockquote {
    border-left: 3px solid var(--acid);
    padding-left: 1.5rem;
    margin: 2.5rem 0;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 1.4rem;
    line-height: 1.55;
    color: var(--mid);
}

hr { border: none; border-top: var(--stroke) solid rgba(10,10,10,0.12); margin: 3rem 0; }

/* ====================================================================
   RESPONSIVE
   ==================================================================== */
@media (max-width: 1024px) {
    .feature-block { min-height: 50vh; }
    .about-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .feature-block { grid-template-columns: 1fr; }
    .feature-block--even .feature-block-text { order: 0; }
    .feature-block-image { min-height: 50vw; }

    .layout-sidebar-left,
    .layout-sidebar-right { grid-template-columns: 1fr; }

    .artist-header { grid-template-columns: 1fr; }

    .pub-detail-layout { grid-template-columns: 1fr; }

    .nav-list { display: none; }

    .mobile-menu-toggle { display: flex; }

    .header-nav-row { position: relative; }

    .site-nav.is-open .nav-list {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--surface);
        border-top: 1px solid rgba(10,10,10,0.12);
        border-bottom: 1px solid rgba(10,10,10,0.12);
        padding: 0.5rem var(--col-padding) 1rem;
        gap: 0;
        z-index: 250;
    }
    .site-nav.is-open .nav-item > a { width: 100%; padding: 0.7rem 0; }
    .site-nav.is-open .nav-dropdown { position: static; box-shadow: none; padding-left: 1rem; }

    .header-tagline,
    .header-location { display: none; }

    .header-nav-row { justify-content: center; }

    .site-wordmark img { height: clamp(28px, 8vw, 40px); }

    .footer-top { padding: 3.5rem var(--col-padding) 2rem; }
}

@media (max-width: 600px) {
    .card-grid { grid-template-columns: 1fr; gap: 1px; }
    .card-grid--shop { grid-template-columns: 1fr; }
    .media-grid--main { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* ====================================================================
   ACCESSIBILITY (brief §16): skip link, focus states, reduced motion
   ==================================================================== */
.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    z-index: 1000;
    background: var(--acid);
    color: var(--ink);
    padding: 0.75rem 1.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
}
.skip-link:focus {
    top: 0;
}

/* Visible focus outline for all interactive elements (do not rely on
   colour alone, and never remove focus outlines without replacement). */
a:focus-visible,
button:focus-visible,
input:focus-visible,
.filter-chip:focus-visible,
.card:focus-within {
    outline: 3px solid var(--red);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* ====================================================================
   SITE MESSAGES (Django messages framework — form confirmation/error states)
   ==================================================================== */
.site-messages {
    list-style: none;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem var(--col-padding) 0;
}
.site-message {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    border: 1.5px solid var(--ink);
}
.site-message--success { background: var(--acid); color: var(--ink); }
.site-message--error    { background: var(--red); color: var(--bone); }

/* ====================================================================
   FOOTER NEWSLETTER (brief §6/§12: email field + one sentence, no phone)
   ==================================================================== */
.footer-newsletter {
    margin-top: 2rem;
    max-width: 420px;
}
.footer-newsletter-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 400;
    font-size: 1.6rem;
    color: var(--bone);
    margin: 0 0 0.4rem;
}
.footer-newsletter-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    line-height: 1.6;
    color: rgba(240,234,224,0.7);
    margin: 0 0 0.9rem;
}
.footer-newsletter-row {
    display: flex;
    gap: 0.5rem;
}
.footer-newsletter-row input[type="email"] {
    flex: 1;
    padding: 0.6rem 0.8rem;
    border: 1.5px solid var(--bone);
    background: transparent;
    color: var(--bone);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
}
.footer-newsletter-row input[type="email"]::placeholder { color: rgba(240,234,224,0.5); }
.footer-newsletter-row button {
    background: var(--acid);
    color: var(--ink);
    border: none;
    padding: 0.6rem 1.2rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
}

/* ====================================================================
   SEARCH RESULTS PAGE
   ==================================================================== */
.search-page-form {
    display: flex;
    gap: 0.5rem;
    max-width: 480px;
    margin-top: 1.5rem;
}
.search-page-form input {
    flex: 1;
    padding: 0.6rem 0.8rem;
    border: 1.5px solid var(--ink);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
}
.search-page-form button {
    background: var(--ink);
    color: var(--acid);
    border: none;
    padding: 0.6rem 1.2rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    cursor: pointer;
}
.search-results-count {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    color: var(--stone);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 2rem 0 1rem;
}
.search-results-list { padding-bottom: 4rem; }
.search-result {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(10,10,10,0.1);
}

/* ====================================================================
   DOWNLOAD METADATA (brief §12/§13: file type, size, language, year)
   ==================================================================== */
.download-meta {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--stone);
    margin-top: 0.5rem;
}

/* ====================================================================
   RELATED CONTENT MODULES (brief §13)
   ==================================================================== */
.related-content { margin-top: 3rem; }

/* ====================================================================
   HOMEPAGE BLOCKS (brief §6 -- Now / Featured Project / Projects /
   Support / Featured Artist / Library / Archive Entry / Impact)
   ==================================================================== */

/* 02 NOW -- compact time-sensitive strip */
/* 02 NOW -- compact time-sensitive strip. Deliberately the one LOUD moment
   on an otherwise restrained page: acid-green, bold, impossible to miss --
   it exists specifically to announce something urgent, so it should not be
   quiet like everything else. */
.now-strip {
    background: var(--acid);
    border-bottom: var(--stroke) solid var(--ink);
}
.now-strip-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding-block: 1.1rem;
}
.now-strip-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink);
    flex-shrink: 0;
}
.now-strip-label::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
    animation: now-pulse 1.6s ease-in-out infinite;
}
@keyframes now-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.8); }
}
@media (prefers-reduced-motion: reduce) {
    .now-strip-label::before { animation: none; }
}
.now-strip-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--ink);
    flex: 1;
}
.now-strip-text a {
    color: var(--ink);
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
}
.now-strip-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--bone);
    background: var(--ink);
    padding: 0.6rem 1.2rem;
    white-space: nowrap;
    transition: transform 0.15s ease;
}
.now-strip-link:hover { transform: translateX(3px); }

/* Shared homepage block scaffolding */
.home-block { padding: 4rem 0; border-bottom: 1px solid rgba(10,10,10,0.1); }
.home-block-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 2rem;
}
.home-block-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--stone);
    margin-bottom: 1.5rem;
}
.home-block-label::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--stone);
}
.home-block--featured-project .home-block-label::before { background: var(--dot-cyan); }
.home-block--projects .home-block-label::before { background: var(--dot-cyan); }
.home-block--support .home-block-label::before { background: var(--dot-magenta); }
.home-block--artist .home-block-label::before { background: var(--dot-green); }
.home-block--library .home-block-label::before { background: var(--dot-yellow); }
.home-block--archive .home-block-label::before { background: var(--stone); }
.home-block--impact .home-block-label::before { background: var(--red); }

.home-block-link {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink);
    border-bottom: 1.5px solid var(--ink);
    padding-bottom: 0.1rem;
    white-space: nowrap;
}
.home-block-link:hover { color: var(--red); border-color: var(--red); }

.home-block-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 300;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    line-height: 1.1;
    margin: 0 0 1.25rem;
}
.home-block-intro {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--mid);
    max-width: 62ch;
    margin-bottom: 1.5rem;
}
.home-block-intro p { margin: 0 0 0.9rem; }
.home-block-list {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 1.5rem;
}
.home-block--artist .featured-artist { margin: 2.5rem 0; }
.home-block--artist .gallery-strip { margin: 0 0 2rem; }

.featured-project-figure { margin: 0; }
.featured-project-meta {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    color: var(--ink);
    margin-bottom: 1.5rem;
}

/* 07 Library -- two routes in, then a plain typographic index */
.library-routes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem 4rem;
    margin-bottom: 3rem;
}
.library-covers {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 180px));
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.library-subhead {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--stone);
    margin: 0 0 1rem;
}
.library-index {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem;
    border-top: 1px solid rgba(10,10,10,0.1);
}
.library-index li {
    display: flex;
    gap: 1.5rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(10,10,10,0.1);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.15rem;
}
.library-index a { color: var(--ink); }
.library-index a:hover { text-decoration: underline; }
.library-index-year {
    flex: 0 0 3.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    color: var(--stone);
    padding-top: 0.25rem;
}
.library-film {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--mid);
    max-width: 70ch;
}
.library-film a { color: var(--ink); font-weight: 500; }
.library-route-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 400;
    font-size: 1.6rem;
    margin: 0 0 0.75rem;
}
.artist-selection a { color: var(--ink); }
.artist-selection a:hover { color: var(--red); }
.home-block .card-grid + .home-block-link,
.library-film + .home-block-link { display: inline-block; margin-top: 2rem; }

/* Newsletter -- own section above the footer */
.newsletter { padding: 4rem 0; background: var(--surface); }
.newsletter-row { display: flex; gap: 0.5rem; max-width: 480px; }
.newsletter-row input[type="email"] {
    flex: 1;
    padding: 0.7rem 0.9rem;
    border: 1.5px solid var(--ink);
    background: transparent;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
}
.newsletter-row button {
    background: var(--ink);
    color: var(--bone);
    border: none;
    padding: 0.7rem 1.4rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
}

/* Project detail -- practical information as plain lines */
.detail-practical {
    margin: 2.5rem 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(10,10,10,0.1);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
}
.detail-practical p { margin: 0 0 0.3rem; }
.detail-practical a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* 03 Featured Project + 06 Featured Artist -- shared 2-col layout */
.featured-project,
.featured-artist {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}
.featured-project-image,
.featured-artist-image {
    display: block;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--bone);
}
.featured-artist-image { aspect-ratio: 1/1; }
.featured-project-image img,
.featured-artist-image img { width: 100%; height: 100%; object-fit: cover; }

.featured-project-title,
.featured-artist-title,
.support-opportunity-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 300;
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    line-height: 1.05;
    margin-bottom: 1rem;
}
.featured-project-title a,
.featured-artist-title a,
.support-opportunity-title a { color: inherit; }

.featured-project-excerpt {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--mid);
    max-width: 46ch;
    margin-bottom: 1.5rem;
}

/* 05 Support / Current Opportunity */
.support-opportunity { max-width: 640px; }

/* 06 Featured Artist -- gallery strip of further artists */
.gallery-strip {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(10,10,10,0.1);
}
.gallery-strip-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    width: 90px;
    text-align: center;
}
.gallery-strip-image {
    display: block;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bone);
}
.gallery-strip-image img { width: 100%; height: 100%; object-fit: cover; }
.gallery-strip-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    color: var(--mid);
}
.gallery-strip-cta { margin-left: auto; }

/* 08 Archive Entry */
.archive-entry-lead {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 1.3rem;
    color: var(--mid);
    max-width: 56ch;
    margin-bottom: 1.5rem;
}
.archive-entry-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 2rem;
}

/* 09 Impact -- typographic figures, not animated counters */
.home-block--impact { background: var(--surface); }
.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2.5rem;
}
.impact-stat-value {
    display: block;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 700;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1;
    color: var(--ink);
}
.impact-stat-label {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    color: var(--stone);
    margin-top: 0.6rem;
    max-width: 22ch;
}

@media (max-width: 768px) {
    .featured-project,
    .featured-artist { grid-template-columns: 1fr; }
}

