/*
Theme Name: MiracleArts Theme
Author: Tovin Sannes-Venhuizen
Author URI: https://tovin.cc
Description: A theme for the MiracleArts Website
Version: 1.2
Text Domain: miraclearts
*/

 
@font-face {
    font-family: 'Sriracha';
    src: url('https://miraclearts.org/wp-content/uploads/fonts/Sriracha-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary: #9b6d9b;
    --secondary: #FBD87F;
    --offwhite: #f9f7f5;
    --lightgrey: #b0bec5;
    --darkpurple: #2C0E37;
    
}

body {
    padding-top: 15vh;
    transition: padding-top 0.9s cubic-bezier(0.65, 0, 0.35, 1);
    background-color: var(--offwhite);
}

body.is-scrolled-body {
    padding-top: 5vh;
}

/* Header is no longer fixed below 991px (see .site-header media query),
   so the body doesn't need reserved space above it anymore */
@media (max-width: 991px) {
    body,
    body.is-scrolled-body {
        padding-top: 0;
    }
}

/* ===== Base header ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 15vh;
    background-color: var(--offwhite);
    z-index: 1000;
    overflow: hidden;
    transition: height 0.9s cubic-bezier(0.65, 0, 0.35, 1);
}

/* When admin bar is present, push header down 32px */
body.admin-bar .site-header {
    top: 32px;
}

/* Admin bar becomes 46px tall on smaller screens */
@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

.header-inner {
    position: relative;
    z-index: 2; /* sits above the paint sweep */
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 4vw;
}

/* ===== Logo swap ===== */
.site-logo {
    position: relative;
    display: block;
    height: 70%;
}

.site-logo img {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 100%;
    width: auto;
    transition: opacity 0.5s ease;
}

.logo-default {
    opacity: 1;
}

.logo-scrolled {
    opacity: 0;
    height: 310%; /* ~2x the previous scrolled size */
}

/* ===== Nav ===== */
.site-nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

/* Hamburger toggle + backdrop only exist on mobile; hidden by default on desktop */
.menu-toggle {
    display: none;
}

.nav-overlay {
    display: none;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-links a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.5s ease;
}

.btn-donate {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.5s ease, border-color 0.5s ease, background-color 0.5s ease, padding 0.5s ease;
}

/* ===== Paintbrush sweep: solid fill (always clean edges, no filter) ===== */
.header-paint-fill {
    position: absolute;
    inset: 0;
    background-color: var(--primary);
    z-index: 1;
    transform: translateX(-100%);
    transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header.is-scrolled .header-paint-fill {
    transform: translateX(0%);
}

/* ===== Paintbrush sweep: textured overlay (SVG filter, only visible mid-transition) ===== */
.header-paint-texture {
    position: absolute;
    inset: 0;
    background-color: var(--primary);
    z-index: 1;
    transform: translateX(-100%);
    filter: url(#paint-edge);
    opacity: 0; /* hidden at rest — toggled on briefly by JS during the transition */
    transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.15s ease;
}

.site-header.is-scrolled .header-paint-texture {
    transform: translateX(0%);
}

.site-header.is-transitioning .header-paint-texture {
    opacity: 1;
}

/* ===== Scrolled state (desktop only — see mobile override below for why) ===== */
@media (min-width: 992px) {
    .site-header.is-scrolled {
        height: 8.5vh;
    }

    .site-header.is-scrolled .logo-default {
        opacity: 0;
    }

    .site-header.is-scrolled .logo-scrolled {
        opacity: 1;
    }

    .site-header.is-scrolled .nav-links a {
        color: var(--offwhite);
    }

    .site-header.is-scrolled .btn-donate {
        color: var(--offwhite);
        border-color: var(--offwhite);
        padding: 0.4rem 1rem;
    }

    .site-header.is-scrolled .btn-donate:hover {
        background-color: var(--offwhite);
        color: var(--primary);
    }
}

/* ===== Sticky only on desktop ===== */
@media (max-width: 991px) {
    .site-header {
        position: relative;
        height: auto;
        padding: 1rem 0;
        overflow: visible; /* fix: overflow:hidden on the base .site-header was clipping the
                               fixed-position off-canvas nav (a fixed-position descendant is
                               still clipped by an ancestor's overflow:hidden). Safe to open up
                               here since the paint-sweep effect it was protecting is disabled
                               on mobile anyway (see .header-paint-fill/.header-paint-texture
                               display:none below). */
    }

    .header-paint-fill,
    .header-paint-texture {
        display: none;
    }

    .site-header.is-scrolled {
        height: auto;
    }

    .site-header .logo-default {
        opacity: 1;
    }

    .site-header .logo-scrolled {
        opacity: 0;
    }

    .nav-links a,
    .btn-donate {
        color: var(--primary);
        border-color: var(--primary);
    }

    .header-inner {
        position: relative;
        flex-wrap: nowrap;
        justify-content: space-between;
        padding: 0 5vw;
    }

    /* Hamburger button, left-aligned */
    .menu-toggle {
        display: block;
        order: 1;
        background: none;
        border: none;
        padding: 0.25rem;
        font-size: 1.5rem;
        line-height: 1;
        color: var(--primary);
        cursor: pointer;
        z-index: 1002;
    }

    .menu-icon-close {
        display: none;
    }

    .site-header.nav-open .menu-icon-open {
        display: none;
    }

    .site-header.nav-open .menu-icon-close {
        display: inline-block;
    }

    /* Logo centered independently of the hamburger's width */
    .site-logo {
        order: 2;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        height: 55px; /* fix: was height:auto + max-height:55px. An absolutely-positioned
                          parent with height:auto can't size itself from absolutely-positioned
                          children (they're out of normal flow), so it was collapsing to 0
                          height and taking the height:100% logo images down with it. */
    }

    /* Dimmed backdrop shown behind the open menu */
    .nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background-color: rgba(44, 14, 55, 0.45);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.35s ease;
        z-index: 1000;
    }

    .site-header.nav-open .nav-overlay {
        opacity: 1;
        pointer-events: auto;
    }

    /* Off-canvas nav panel, slides in from the right */
    .site-nav {
        order: 3;
        position: fixed;
        top: 0;
        right: -85%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        margin: 0;
        background-color: var(--offwhite);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 1.75rem;
        padding: 5.5rem 2rem 2rem;
        box-sizing: border-box;
        box-shadow: -6px 0 20px rgba(0, 0, 0, 0.15);
        transition: right 0.4s cubic-bezier(0.65, 0, 0.35, 1);
        z-index: 1001;
        overflow-y: auto;
    }

    .site-header.nav-open .site-nav {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
        width: 100%;
    }

    .nav-links a {
        font-size: 1.1rem;
    }

    .btn-donate {
        width: 100%;
        text-align: center;
    }
}

/* ===== Small phones ===== */
@media (max-width: 480px) {
    .nav-links {
        gap: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }

    .btn-donate {
        padding: 0.35rem 0.85rem;
        font-size: 0.9rem;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 2rem 1rem;
    }

    .team-card-img {
        width: 110px;
        height: 110px;
    }

    .team-modal-content {
        padding: 1.75rem 1.25rem;
        margin: 15vh auto;
    }

    .ma-newsletter-form {
        flex-direction: column;
        gap: 0.75rem;
    }

    .ma-newsletter-form button {
        width: 100%;
    }
}

/* ===== Body content layout ===== */
.site-content {
    width: 100%;
    max-width: 1600px; /* prevents margins from ballooning on huge screens */
    margin: 0 auto;
    padding: 4rem 8%; /* top/bottom, left/right — the 8% is your side margin */
    box-sizing: border-box;
}

/* Tighten side margins a bit on smaller screens so content isn't overly squeezed */
@media (max-width: 991px) {
    .site-content {
        padding: 3rem 6%;
    }
}

@media (max-width: 576px) {
    .site-content {
        padding: 2rem 5%;
    }
}

/* ===== Baseline typography for editor-driven content ===== */
.entry-content h1,
.entry-content h2,
.entry-content h3 {
    color: var(--primary);
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.entry-content p {
    line-height: 1.7;
    margin-bottom: 1.2em;
}

.entry-content a {
    color: var(--primary);
    text-decoration: underline;
}

.entry-content img {
    max-width: 100%;
    height: auto;
}

/* ===== Full-bleed color section ===== */
.full-bleed-section {
    background-color: var(--primary);
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 4rem 8%;
    box-sizing: border-box;
}



/* ===== Team section spacing ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 3rem 2rem;
    margin: 4rem 0;
}

/* ===== Individual team card ===== */
.team-card {
    background: none;
    border: none;
    cursor: pointer;
    text-align: center;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Photo — auto-crop, centered, circular */
.team-card-img {
    width: 160px;
    height: 160px;
    object-fit: cover;      /* auto-crops the image rather than squishing it */
    object-position: center; /* keeps the crop centered on the subject */
    border-radius: 50%;
    margin-bottom: 1.25rem;
}

/* Name — large, purple, underline on hover */
.team-card-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 0.4rem;
    text-decoration: none;
    transition: text-decoration-color 0.2s ease;
}

.team-card:hover .team-card-name {
    text-decoration: underline;
}

/* Title/role — smaller, muted */
.team-card-role {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}


.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
}

.team-card {
    background: none;
    border: none;
    cursor: pointer;
    text-align: center;
    padding: 0;
}

.team-card-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 0.75rem;
}

.team-card h3 { color: var(--primary); margin: 0; }
.team-card p { margin: 0.25rem 0 0; font-size: 0.9rem; }

/* Modal */
.team-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
}

.team-modal.is-open {
    display: block;
}

.team-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.team-modal-content {
    position: relative;
    background: #fff;
    width: 90%;
    max-width: 500px;
    margin: 10vh auto;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    z-index: 1;
    box-sizing: border-box;
}

.team-modal-content img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.team-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== Footer ===== */
.site-footer {
    background-color: var(--offwhite);
    padding: 4rem 8% 2rem;
    box-sizing: border-box;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: start;
    gap: 3rem;
    max-width: 1600px;
    margin: 0 auto;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

/* Left: social icons */
.ma-social-links {
    flex-direction: row;
    align-items: center;
    gap: 1.2rem;
}

.ma-social-link {
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.ma-social-link svg {
    width: 24px;
    height: 24px;
}

.ma-social-link:hover {
    opacity: 0.65;
}

/* Center: mailing list signup */
.ma-newsletter {
    align-items: center;
    text-align: center;
}

.ma-newsletter-title {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 0 1rem;
}

.ma-newsletter-form {
    display: flex;
    gap: 0.6rem;
    width: 100%;
    max-width: 340px;
}

.ma-newsletter-form input[type="email"] {
    flex: 1;
    padding: 0.6rem 0.9rem;
    border: 2px solid var(--primary);
    border-radius: 10px;
    font-size: 0.95rem;
    background-color: #fff;
    color: #333;
}

.ma-newsletter-form input[type="email"]::placeholder {
    color: #999;
}

.ma-newsletter-form button {
    padding: 0.6rem 1.2rem;
    border: 2px solid var(--primary);
    border-radius: 10px;
    background-color: var(--primary);
    color: var(--offwhite);
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}

.ma-newsletter-form button:hover {
    background-color: var(--offwhite);
    color: var(--primary);
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

/* Right: connect info */
.ma-contact {
    align-items: flex-end;
    text-align: right;
}

.ma-contact-title {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 0 0.6rem;
}

.ma-contact a {
    color: #555;
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
    transition: color 0.3s ease;
}

.ma-contact a:hover {
    color: var(--primary);
}

/* Bottom bar: legal text, centered */
.footer-bottom {
    text-align: center;
    margin-top: 3rem;
}

.footer-bottom p {
    color: #777;
    font-size: 0.8rem;
    margin: 0;
}

/* Stack footer columns on smaller screens */
@media (max-width: 767px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .ma-social-links {
        justify-content: center;
    }

    .ma-contact {
        align-items: center;
        text-align: center;
    }
}

/* ===== Featured Artists Module ===== */
.featured-artists-module {
    width: 100%;
    padding: 60px 0;
}

/* Header */
.featured-artists-header {
    text-align: center;
    margin-bottom: 50px;
}

.featured-artists-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
    letter-spacing: -0.5px;
}

/* Container - Side by side layout */
.featured-artists-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* Groups the subtitle + card together as one grid item */
.featured-artist-card-group {
    display: flex;
    flex-direction: column;
}

/* Cards - 4:5 aspect ratio vertical */
.featured-artist-card {
    aspect-ratio: 4 / 5;
    border-radius: 12px;
    overflow: hidden;
}

.featured-artist-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Overlay image on top of background */
.featured-artist-card-overlay-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    border-radius: 12px;
}

/* Subtitle above the card */
.featured-artist-card-subtitle {
    margin-bottom: 16px;
}

.featured-artist-card-subtitle h3 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin: 0;
    color: var(--primary);
}

/* Content at bottom right */
.featured-artist-card-content {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 2;
    padding: 30px;
    color: var(--primary);
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: right;
    width: 100%;
    box-sizing: border-box;
}

.featured-artist-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.featured-artist-card-excerpt {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    opacity: 0.95;
}

/* Call to Action Button */
.featured-artist-card-cta {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    align-self: flex-end;
}

.featured-artist-card-cta:hover {
    opacity: 0.8;
    padding-bottom: 4px;
}

.featured-artist-card-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.featured-artist-card-cta:hover .featured-artist-card-arrow {
    transform: translateX(4px);
}

/* Empty state */
.featured-artist-card-empty {
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-artist-card-empty .featured-artist-card-content {
    position: relative;
    padding: 30px;
    text-align: center;
    color: #666;
    bottom: auto;
    right: auto;
    width: auto;
}

.featured-artist-card-empty p {
    margin: 0;
}

/* Footer */
.featured-artists-footer {
    text-align: center;
}

.featured-artists-footer-text {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 2px;
    transition: all 0.3s ease;
    display: inline-block;
}

.featured-artists-footer-text:hover {
    opacity: 0.7;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .featured-artists-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .featured-artists-title {
        font-size: 2rem;
    }

    .featured-artist-card {
        aspect-ratio: 4 / 5;
    }

    .featured-artist-card-content {
        padding: 25px;
    }

    .featured-artist-card-title {
        font-size: 1.3rem;
    }
}

/* ===== Post Feed (lazy-loaded, 3 at a time) ===== */
.feed-module {
    width: 100%;
}

.feed-filter {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.feed-filter-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
}

.feed-year-filter {
    padding: 0.5rem 0.9rem;
    border: 2px solid var(--primary);
    border-radius: 10px;
    font-size: 0.95rem;
    background-color: #fff;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
}

.feed-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feed-item {
    display: flex;
    align-items: center;
    gap: 24px;
    text-decoration: none;
    color: inherit;
    padding: 16px;
    border-radius: 12px;
    transition: background-color 0.3s ease;
}

.feed-item:hover {
    background-color: var(--offwhite);
}

.feed-item-image {
    flex: 0 0 180px;
    width: 180px;
    height: 180px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    background-color: var(--lightgrey);
}

.feed-item-content {
    flex: 1;
    min-width: 0;
}

.feed-item-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 8px;
    line-height: 1.25;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.feed-item-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

.feed-sentinel {
    height: 1px;
}

.feed-loading {
    text-align: center;
    padding: 20px 0 0;
    color: var(--primary);
    font-weight: 600;
}

.feed-empty {
    text-align: center;
    color: #777;
}

/* ===== Post Feed: mobile ===== */
@media (max-width: 576px) {
    .feed-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 12px;
    }

    .feed-item-image {
        width: 100%;
        height: 200px;
        flex-basis: auto;
    }
}


:root {
    --hero-wave-clearance: 8rem; /* reserved space above the bottom wave so content never runs into it */
}

.hero-module {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    display: grid;
    grid-template-columns: 60% 40%;
    align-items: stretch;
    width: 100vw;
    min-height: 65vh;
    background-color: var(--offwhite);
    overflow: hidden;
    box-sizing: border-box;
}

/* Left: cross-fading featured image, shrunk to ~30% of the section, moved toward the top */
.hero-image-col {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    height: 100%;
    min-height: 65vh;
    padding-top: 6%;
    padding-bottom: var(--hero-wave-clearance);
    box-sizing: border-box;
    overflow: hidden;
}

.hero-image-track {
    position: relative;
    width: 50%; /* 50% of the 60% column = ~30% of the full section width */
    aspect-ratio: 4 / 5;
    border-radius: 12px;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero-bg-image.is-active {
    opacity: 1;
}

/* Right: headline text, pinned near the top */
.hero-text-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 4% 6% calc(4rem + var(--hero-wave-clearance));
    box-sizing: border-box;
    background-color: var(--offwhite);
}

/* Invisible hit-box - no visible styling of its own, just a hover target
   for the whole headline so we're not limited to hovering the name itself */
.hero-hover-zone {
    position: relative;
    display: block;
    cursor: default;
}

.hero-text {
    color: var(--primary);
    font-size: clamp(2.25rem, 6vw, 6rem);
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    text-align: left;
}

.hero-text-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.hero-text-default {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.hero-hover-zone:hover .hero-text-default {
    opacity: 0;
}

.hero-hover-zone:hover .hero-text-hover {
    opacity: 1;
}

.hero-you {
    text-decoration: underline;
}

/* Call to action: resource guide */
.hero-cta-btn {
    display: inline-block;
    margin-top: 2rem;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.7rem 1.6rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.hero-cta-btn:hover {
    background-color: var(--primary);
    color: var(--offwhite);
}

/* Bottom: full-bleed wave image */
.hero-bottom-wave {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    display: block;
    transform: scaleY(0.5);
    transform-origin: bottom;
    z-index: 2;
    pointer-events: none;
}

/* ===== Hero Module: mobile ===== */
@media (max-width: 767px) {
    :root {
        --hero-wave-clearance: 5rem;
    }

    .hero-module {
        grid-template-columns: 1fr;
        min-height: unset;
    }

    .hero-image-col {
        min-height: 45vh;
        padding-top: 2%;
        padding-bottom: 2rem;
    }

    .hero-image-track {
        width: 60%;
    }

    .hero-text-col {
        align-items: center;
        padding: 4% 6% calc(2.5rem + var(--hero-wave-clearance));
        text-align: center;
    }

    .hero-text {
        text-align: center;
    }

    .hero-hover-zone {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .featured-artists-module {
        padding: 40px 0;
    }

    .featured-artists-header {
        margin-bottom: 30px;
    }

    .featured-artists-title {
        font-size: 1.5rem;
    }

    .featured-artist-card {
        aspect-ratio: 4 / 5;
    }

    .featured-artist-card-content {
        padding: 20px;
        gap: 10px;
    }

    .featured-artist-card-subtitle {
        margin-bottom: 10px;
    }

    .featured-artist-card-subtitle h3 {
        font-size: 0.75rem;
    }

    .featured-artist-card-title {
        font-size: 1.1rem;
    }

    .featured-artist-card-excerpt {
        font-size: 0.85rem;
    }

    .featured-artists-footer {
        margin-top: 30px;
    }
}

/* ===== Inspiro Feed ===== */
.inspiro-feed-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.inspiro-feed-item {
    display: flex;
    align-items: flex-start;
    gap: 32px;
}

.inspiro-feed-image {
    flex: 0 0 380px;
    width: 380px;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: var(--offwhite);
}

.inspiro-feed-content {
    flex: 1;
    min-width: 0;
    color: #333;
    line-height: 1.7;
}

.inspiro-feed-content p:first-child {
    margin-top: 0;
}

@media (max-width: 767px) {
    .inspiro-feed-item {
        flex-direction: column;
        gap: 16px;
    }

    .inspiro-feed-image {
        width: 100%;
        flex-basis: auto;
        height: auto;
        aspect-ratio: 1 / 1;
    }
}