/*
Theme Name: Galeria 1084
Theme URI: https://galeria1084.com
Author: Galeria 1084
Description: A clean white contemporary gallery theme for Galeria 1084.
Version: 0.11.4
Text Domain: galeria1084
*/

:root {
    --background: #fff;
    --text: #151515;
    --muted: #686868;
    --border: #dedede;
    --soft-border: #eeeeee;
    --max: 1440px;
    --gutter: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: #fff;
    color: var(--text);
    font-family: "Raleway", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0;
}
body.menu-is-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--text);
    outline-offset: 4px;
}
img { display: block; max-width: 100%; height: auto; }
p { color: var(--muted); line-height: 1.7; }

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}
.skip-link:focus {
    position: fixed;
    left: 12px;
    top: 12px;
    z-index: 1000;
    width: auto;
    height: auto;
    padding: 12px 16px;
    background: var(--text);
    color: #fff;
    clip: auto;
}

.site-alert {
    display: grid;
    place-items: center;
    min-height: 56px;
    padding: 12px var(--gutter);
    border-bottom: 1px solid var(--soft-border);
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}
.site-header {
    position: relative;
    z-index: 50;
    padding: 24px var(--gutter) 18px;
    background: #fff;
    border-bottom: 1px solid var(--soft-border);
}
.header-social-links {
    position: absolute;
    top: 18px;
    right: var(--gutter);
    display: flex;
    gap: 8px;
}
.header-social-links a {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--soft-border);
    color: var(--muted);
}
.header-social-links a:hover {
    border-color: #00747c;
    color: #00747c;
}
.header-social-links .dashicons {
    width: 17px;
    height: 17px;
    font-size: 17px;
}
.site-branding {
    display: grid;
    justify-items: center;
    margin-bottom: 20px;
    text-align: center;
}
.custom-logo-link { display: block; }
.custom-logo { width: auto; max-width: 470px; max-height: 180px; object-fit: contain; }
.site-title {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 48px;
    font-weight: 500;
    line-height: 1;
}
.site-location,
.site-tagline {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
    text-transform: uppercase;
}
.site-location { font-size: 14px; font-weight: 500; }
.site-tagline { margin-top: 12px; font-weight: 500; }
.menu-toggle { display: none; }
.main-navigation > ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.main-navigation li { position: relative; }
.main-navigation a {
    display: block;
    padding: 6px 0;
    color: #444;
    font-family: "Raleway", Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    text-transform: uppercase;
}
.main-navigation a:hover { color: #000; }
.main-navigation .sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 20;
    display: none;
    min-width: 210px;
    margin: 0;
    padding: 12px 18px;
    transform: translateX(-50%);
    border: 1px solid var(--border);
    background: #fff;
    list-style: none;
    text-align: left;
}
.main-navigation li:hover > .sub-menu,
.main-navigation li:focus-within > .sub-menu { display: block; }
.main-navigation .sub-menu a { padding: 9px 0; }
.main-navigation .menu-artist-group > .artist-name-menu {
    top: -13px;
    left: calc(100% + 1px);
    max-height: 70vh;
    overflow-y: auto;
    transform: none;
}
.main-navigation .menu-group-guest-artist > .artist-name-menu {
    width: 440px;
    columns: 2;
    column-gap: 28px;
}
.main-navigation .menu-group-guest-artist > .artist-name-menu li { break-inside: avoid; }
.main-navigation .menu-connected .menu-submissions > .sub-menu {
    top: -13px;
    right: calc(100% + 1px);
    left: auto;
    transform: none;
}

.container,
.site-main > article,
.site-main > section:not(.gallery-hero) {
    width: min(var(--max), calc(100% - (var(--gutter) * 2)));
    margin-inline: auto;
}
.section { padding: 104px 0; }
.section--ruled { border-top: 1px solid var(--soft-border); }
.page-header { padding: 56px 0 28px; }
.page-header--events { padding-bottom: 0; }
.events-calendar-section { padding-top: 40px; }
.events-details-section { padding-top: 64px; }
.page-header--centered { text-align: center; }
.artists-index-header {
    max-width: 1180px;
    margin-inline: auto;
    text-align: left;
}
.artists-index-header .eyebrow { display: none; }
.artists-index-header h1 {
    margin-bottom: 0;
    font-size: clamp(36px, 4vw, 48px);
}
.artist-directory-section { padding-top: 24px; padding-bottom: 56px; }
.artist-directory-section + .artist-directory-section { padding-top: 44px; }
.artist-directory-section h2 {
    margin-bottom: 28px;
    border-top: 1px solid var(--soft-border);
    padding-top: 24px;
    font-size: clamp(31px, 3.4vw, 42px);
    text-align: left;
}
.artist-collection-header {
    display: grid;
    justify-items: center;
    gap: 42px;
    padding-bottom: 86px;
    text-align: center;
}
.artist-collection-header h1 {
    display: grid;
    grid-template-columns: minmax(80px, 180px) auto minmax(80px, 180px);
    gap: 26px;
    align-items: center;
    margin-bottom: 0;
    font-size: clamp(38px, 4.2vw, 56px);
    line-height: 1;
    text-transform: uppercase;
}
.artist-collection-header h1::before,
.artist-collection-header h1::after {
    content: "";
    height: 1px;
    background: var(--soft-border);
}
.artist-more-link {
    color: var(--text);
    font-size: 17px;
    line-height: 1.4;
}
.artist-more-link:hover { color: #00747c; }
.artist-bio-panel {
    display: grid;
    grid-template-columns: minmax(220px, 0.5fr) minmax(0, 1fr);
    gap: 64px;
    align-items: start;
    border-top: 1px solid var(--soft-border);
    padding-top: 70px;
}
.artist-bio-panel img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}
.collection-filters { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 34px; }
.collection-filters a { border-bottom: 1px solid var(--border); padding-bottom: 5px; color: var(--muted); font-size: 12px; text-transform: uppercase; }
.collection-filters a:hover { border-color: var(--text); color: var(--text); }
.collection-filter-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(160px, 1fr)) auto auto;
    gap: 14px;
    align-items: end;
    margin-top: 38px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.collection-filter-form label { display: grid; gap: 7px; }
.collection-filter-form label span { color: var(--muted); font-size: 11px; text-transform: uppercase; }
.collection-filter-form select {
    width: 100%;
    min-height: 46px;
    padding: 0 34px 0 10px;
    border: 1px solid var(--border);
    border-radius: 0;
    background: #fff;
    color: var(--text);
    font: inherit;
    font-size: 13px;
}
.collection-filter-form__reset { align-self: center; border-bottom: 1px solid var(--text); padding-bottom: 3px; font-size: 12px; }
.eyebrow {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.4;
    text-transform: uppercase;
}
h1, h2, h3 {
    margin-top: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 500;
    letter-spacing: 0;
}
h1 { margin-bottom: 18px; font-size: 66px; line-height: 1; }
h2 { margin-bottom: 16px; font-size: 48px; line-height: 1.05; }
h3 { font-size: 27px; line-height: 1.2; }

.gallery-hero {
    position: relative;
    display: grid;
    align-content: center;
    width: min(1360px, calc(100% - (var(--gutter) * 2)));
    min-height: calc(100svh - 176px);
    margin-inline: auto;
    padding: 34px 72px 30px;
    background: #fff;
}
.gallery-carousel__viewport {
    width: min(1120px, 100%);
    min-height: 0;
    margin-inline: auto;
}
.gallery-carousel__slide { display: none; margin: 0; }
.gallery-carousel__slide.is-active { display: grid; }
.gallery-hero__art {
    display: grid;
    place-items: center;
    min-height: clamp(520px, 62svh, 760px);
    overflow: hidden;
}
.gallery-hero__art img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: clamp(500px, 60svh, 740px);
    object-fit: contain;
    object-position: center;
}
.gallery-hero__caption {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    width: 100%;
    margin: 18px auto 0;
    border-top: 1px solid var(--soft-border);
    padding-top: 14px;
    font-size: 12px;
}
.gallery-hero__caption p { display: flex; gap: 12px; margin: 0; font-size: inherit; }
.gallery-hero__caption strong { color: var(--text); font-weight: 600; }
.gallery-hero__caption a, .text-link { border-bottom: 1px solid var(--text); padding-bottom: 3px; }
.gallery-hero__welcome { max-width: 760px; margin: auto; text-align: center; }
.gallery-carousel__control {
    position: absolute;
    top: 44%;
    width: 44px;
    min-height: 72px;
    padding: 0;
    border: 0;
    background: #fff;
    color: var(--muted);
    font-family: Georgia, serif;
    font-size: 42px;
    line-height: 1;
}
.gallery-carousel__control:hover { background: #fff; color: var(--text); }
.gallery-carousel__control--previous { left: 4px; }
.gallery-carousel__control--next { right: 4px; }
.gallery-carousel__dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}
.gallery-carousel__dots button {
    width: 7px;
    min-height: 7px;
    padding: 0;
    border: 1px solid var(--muted);
    border-radius: 50%;
    background: #fff;
}
.gallery-carousel__dots button[aria-current="true"] { background: var(--text); border-color: var(--text); }
.gallery-intro { border-bottom: 1px solid var(--soft-border); }
.gallery-intro > div {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 80px;
    align-items: end;
}
.gallery-intro h2 { max-width: 950px; margin-bottom: 0; font-size: 58px; }
.gallery-intro > div > div { padding-bottom: 6px; }
.journal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 32px; }
.journal-entry { min-width: 0; }
.journal-entry__image {
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 1;
    margin-bottom: 22px;
    overflow: hidden;
    border: 1px solid var(--soft-border);
    background: #fafafa;
}
.journal-entry__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 240ms ease; }
.journal-entry__image:hover img { transform: scale(1.02); }
.journal-entry__image span {
    color: var(--muted);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 28px;
}
.journal-entry > .eyebrow { margin-bottom: 8px; }
.journal-entry h3 { margin-bottom: 10px; }

.button, .wp-block-button__link, button, input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border: 1px solid var(--text);
    border-radius: 0;
    background: #fff;
    color: var(--text);
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    text-transform: uppercase;
}
.button:hover, .wp-block-button__link:hover, button:hover, input[type="submit"]:hover,
.button--solid { background: var(--text); color: #fff; }
.button--solid:hover { background: #fff; color: var(--text); }
.event-banner {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto 42px;
    align-items: center;
    min-height: 56px;
    border-bottom: 1px solid var(--soft-border);
    background: #fff;
}
.event-banner > button {
    min-height: 71px;
    padding: 0;
    border: 0;
    background: #fff;
    color: var(--muted);
    font-family: Georgia, serif;
    font-size: 34px;
}
.event-banner > button:hover { background: #fff; color: var(--text); }
.event-banner__slides { min-width: 0; text-align: center; }
.event-banner__slide {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 22px;
    color: #444;
    font-size: 17px;
    line-height: 1.4;
}
.event-banner__slide.is-active { display: flex; }
.event-banner__slide span { color: var(--text); font-weight: 600; text-transform: uppercase; }
.event-banner__calendar {
    border-bottom: 1px solid var(--border);
    color: var(--muted);
    font-size: 13px;
    text-transform: uppercase;
}
.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 48px;
}
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 620px; }
.editorial-split, .single-layout, .visit-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
    gap: 80px;
    align-items: start;
}
.entry-content { max-width: 900px; }
.submission-page__intro { margin-bottom: clamp(40px, 6vw, 72px); }
.submission-page__intro h1 { margin-bottom: 28px; }
.submission-page__intro h2,
.submission-page__intro h3 { margin-top: 34px; margin-bottom: 12px; }
.single-media { position: sticky; top: 28px; }
.single-media img { width: 100%; max-height: 82vh; object-fit: contain; }
.artwork-gallery__main {
    position: relative;
    display: grid;
    width: 100%;
    min-height: 0;
    padding: 0;
    border: 0;
    background: #fff;
}
.artwork-gallery__main:hover { background: #fff; color: var(--text); }
.artwork-gallery__view-label {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 7px 9px;
    background: rgb(255 255 255 / 92%);
    color: var(--text);
    font-size: 10px;
    text-transform: uppercase;
}
.g1084-watermark {
    position: absolute;
    inset: 50% auto auto 50%;
    z-index: 2;
    transform: translate(-50%, -50%) rotate(-24deg);
    color: rgb(255 255 255 / 62%);
    font-family: "Raleway", Arial, sans-serif;
    font-size: clamp(18px, 3vw, 48px);
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1;
    pointer-events: none;
    text-shadow: 0 1px 9px rgb(0 0 0 / 28%);
    text-transform: uppercase;
    white-space: nowrap;
}
.artwork-gallery__thumbnails { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 12px; }
.artwork-gallery__thumbnails button {
    width: 100%;
    min-height: 0;
    aspect-ratio: 1;
    padding: 4px;
    border: 1px solid var(--soft-border);
    background: #fff;
}
.artwork-gallery__thumbnails button[aria-current="true"] { border-color: var(--text); }
.artwork-gallery__thumbnails img { width: 100%; height: 100%; object-fit: contain; }
.artwork-lightbox {
    width: min(96vw, 1500px);
    height: 94vh;
    padding: 56px 36px 36px;
    border: 0;
    background: #fff;
    overflow: auto;
}
.artwork-lightbox::backdrop { background: rgb(0 0 0 / 82%); }
.artwork-lightbox__close {
    position: fixed;
    top: 14px;
    right: 20px;
    z-index: 2;
    min-height: 40px;
    padding: 0 10px;
    border: 0;
    background: #fff;
    color: var(--text);
    font-size: 34px;
}
.artwork-lightbox > img { display: block; width: auto; max-width: 100%; height: auto; max-height: none; margin: 0 auto; cursor: zoom-in; }
.artwork-lightbox > img.is-zoomed { width: auto; max-width: none; cursor: zoom-out; }
.artwork-lightbox__watermark { position: fixed; }
.artwork-status {
    display: inline-block;
    margin: 0 0 16px;
    border: 1px solid var(--border);
    padding: 6px 9px;
    color: var(--muted);
    font-size: 10px;
    text-transform: uppercase;
}
.artwork-status--available { border-color: #00747c; color: #00747c; }
.artwork-status--sold { border-color: #777; background: #f6f6f6; }
.artist-profile-placeholder {
    display: grid;
    place-items: end start;
    width: 100%;
    aspect-ratio: 4 / 5;
    padding: 42px;
    border: 1px solid var(--border);
}
.artist-profile-placeholder span {
    max-width: 12ch;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 54px;
    line-height: 1;
}
.meta-list { margin: 28px 0; border-top: 1px solid var(--border); }
.meta-list div {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 18px;
    padding: 13px 0;
    border-bottom: 1px solid var(--border);
}
.meta-list strong { font-size: 12px; text-transform: uppercase; }
.artwork-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.artist-profile-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
#artist-artwork { scroll-margin-top: 28px; }
.room-viewer {
    width: min(1280px, calc(100vw - 40px));
    max-width: none;
    height: min(820px, calc(100vh - 40px));
    max-height: none;
    padding: 0;
    border: 0;
    background: #fff;
    color: var(--text);
}
.room-viewer::backdrop { background: rgb(255 255 255 / 86%); }
.room-viewer__close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 8;
    min-height: 44px;
    border-color: var(--soft-border);
    background: #fff;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 20px;
    letter-spacing: 0.06em;
    text-transform: none;
}
.room-viewer__stage {
    position: relative;
    overflow: hidden;
    height: calc(100% - 114px);
    min-height: 520px;
    background-color: #f8f7f2;
    background-position: center center;
    background-size: cover;
}
.room-viewer__wall-tint {
    position: absolute;
    inset: 0 0 45% 15%;
    z-index: 1;
    background: var(--room-wall, transparent);
    mix-blend-mode: multiply;
    pointer-events: none;
}
.room-viewer__artwork {
    position: absolute;
    top: clamp(26px, 5%, 50px);
    left: 57%;
    z-index: 3;
    width: var(--room-art-width, 34%);
    min-width: 128px;
    max-width: 620px;
    transform: translateX(-50%);
}
.room-viewer__artwork--estimated {
    top: clamp(24px, 4%, 42px);
    width: min(var(--room-art-width, 24%), 360px);
}
.room-viewer__artwork img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 36vh;
    box-shadow: 0 14px 26px rgb(0 0 0 / 28%);
}
.room-viewer__artwork--estimated img {
    max-height: 30vh;
}
.room-viewer__options {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 26px;
    align-items: center;
    min-height: 114px;
    padding: 20px 28px;
    border-top: 1px solid var(--soft-border);
    background: #fff;
}
.room-viewer__options p { margin: 0; }
.room-viewer__swatches {
    display: flex;
    gap: 10px;
}
.room-viewer__swatches button {
    width: 34px;
    min-height: 34px;
    padding: 0;
    border: 1px solid #999;
    border-radius: 5px;
    background: var(--swatch);
}
.room-viewer__swatches button[aria-current="true"] { outline: 2px solid #151515; outline-offset: 3px; }
.visit-strip { grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr); }
.page-intro { max-width: 760px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 30px; line-height: 1.35; }
.visit-details { border-top: 1px solid var(--border); padding-top: 24px; }
.gallery-map { display: block; width: 100%; aspect-ratio: 16 / 8; min-height: 420px; border: 0; }
.about-story { gap: 48px; padding-top: 34px; padding-bottom: 64px; }
.about-story .entry-content p { margin-top: 0; margin-bottom: 14px; }
.map-section { padding-top: 64px; }
.home-recent-art { padding-top: clamp(58px, 8vw, 104px); }
.home-map-section { padding-top: clamp(58px, 8vw, 104px); }
.home-map-section__heading {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 64px;
    align-items: end;
    margin-bottom: 38px;
}
.home-map-section__heading h2 { margin-bottom: 0; }
.home-map-section__details { border-left: 1px solid var(--border); padding-left: 28px; }
.home-map-section__details p { margin: 0 0 8px; font-size: 13px; }
.home-map-section__details .button { margin-top: 12px; }

.newsletter-callout {
    padding: clamp(50px, 7vw, 82px) var(--gutter);
    border-top: 1px solid var(--soft-border);
    border-bottom: 1px solid var(--soft-border);
    background: #fff;
}
.newsletter-callout__inner {
    display: grid;
    align-items: center;
    justify-items: center;
    gap: 26px;
    width: min(var(--max), 100%);
    margin: 0 auto;
    text-align: center;
}
.newsletter-callout h2 { max-width: 760px; margin: 0; font-size: clamp(32px, 4vw, 50px); }
.newsletter-callout__button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 14px 22px;
    background: #00747c;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}
.newsletter-callout__button:hover { background: #005f66; color: #fff; }
.newsletter-callout__button .dashicons { width: 18px; height: 18px; font-size: 18px; }
.site-footer { padding: 76px var(--gutter) 32px; border-top: 1px solid var(--soft-border); }
.newsletter-callout + .site-footer { border-top: 0; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr 0.7fr;
    gap: 48px;
    width: min(var(--max), 100%);
    margin: 0 auto 54px;
}
.footer-grid h2 { font-size: 30px; }
.footer-grid ul { margin: 0; padding: 0; list-style: none; }
.footer-grid li, .footer-grid p { margin: 0 0 10px; font-size: 13px; }
.social-links { display: grid; gap: 10px; }
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 40px;
    padding: 0 14px;
    gap: 8px;
    border: 1px solid #00747c;
    color: #00747c;
    font-size: 11px;
    text-transform: uppercase;
}
.social-links a .dashicons { width: 18px; height: 18px; font-size: 18px; }
.social-links a:hover { border-color: #00747c; background: #00747c; color: #fff; }
.footer-bottom {
    width: min(var(--max), 100%);
    margin: 0 auto;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
    text-align: left;
}
.footer-bottom a { border-bottom: 1px solid var(--border); color: var(--text); }
.footer-bottom a:hover { border-color: #00747c; color: #00747c; }
input, textarea { font: inherit; }

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 22px;
    font-weight: 500;
}
.woocommerce ul.products li.product a img { background: #fff; object-fit: contain; }
.woocommerce span.onsale { border-radius: 0; background: var(--text); }

@media (max-width: 980px) {
    :root { --gutter: 28px; }
    .editorial-split, .single-layout, .visit-strip, .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .artist-bio-panel { grid-template-columns: 1fr; gap: 30px; }
    .gallery-intro > div, .home-map-section__heading { grid-template-columns: 1fr; gap: 28px; }
    .single-media { position: static; }
    .home-map-section__details { border-left: 0; border-top: 1px solid var(--border); padding-top: 22px; padding-left: 0; }
    .collection-filter-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
    .site-header { display: grid; grid-template-columns: 1fr auto; align-items: center; padding-block: 18px; }
    .header-social-links {
        position: static;
        grid-column: 1 / -1;
        justify-content: flex-start;
        order: 3;
        margin-top: 14px;
    }
    .site-branding { justify-items: start; margin: 0; text-align: left; }
    .custom-logo { max-width: 270px; max-height: 112px; }
    .site-title { font-size: 31px; }
    .site-description { margin-top: 5px; }
    .menu-toggle {
        position: relative;
        z-index: 30;
        display: inline-flex;
        gap: 10px;
        min-height: 42px;
        padding: 0;
        border: 0;
        background: #fff;
        color: var(--text);
    }
    .menu-toggle:hover { background: #fff; color: var(--text); }
    .menu-toggle__icon { display: grid; gap: 5px; width: 18px; }
    .menu-toggle__icon span { display: block; height: 1px; background: currentColor; }
    .main-navigation {
        position: fixed;
        inset: 0;
        z-index: 20;
        display: none;
        overflow-y: auto;
        padding: 126px 28px 40px;
        background: #fff;
    }
    .main-navigation.is-open { display: block; }
    .main-navigation > ul { display: block; }
    .main-navigation a { padding: 12px 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: 27px; text-transform: none; }
    .main-navigation .sub-menu {
        position: static;
        display: block;
        min-width: 0;
        padding: 0 0 12px 20px;
        transform: none;
        border: 0;
    }
    .main-navigation .sub-menu a { padding: 8px 0; color: var(--muted); font-family: "Raleway", Arial, sans-serif; font-size: 13px; text-transform: uppercase; }
    .main-navigation .menu-artist-group > .artist-name-menu {
        position: static;
        width: auto;
        max-height: none;
        padding-left: 18px;
        columns: 1;
    }
    .main-navigation .menu-connected .menu-submissions > .sub-menu {
        position: static;
        padding-left: 18px;
    }
    .gallery-hero { min-height: 0; padding-block: 30px 36px; }
    .gallery-carousel__slide.is-active { grid-template-rows: auto auto; height: auto; }
    .gallery-hero__art { min-height: clamp(360px, 58svh, 620px); }
    .gallery-hero__art img { max-height: clamp(340px, 56svh, 600px); }
}

@media (max-width: 640px) {
    :root { --gutter: 18px; }
    .site-alert { font-size: 11px; }
    .section { padding: 72px 0; }
    h1 { font-size: 44px; }
    h2 { font-size: 36px; }
    h3 { font-size: 24px; }
    .gallery-intro h2 { font-size: 40px; }
    .journal-grid { grid-template-columns: 1fr; gap: 42px; }
    .gallery-hero { width: calc(100% - (var(--gutter) * 2)); padding: 24px 34px 34px; }
    .gallery-hero__art { min-height: clamp(330px, 54svh, 520px); }
    .gallery-hero__art img { max-height: clamp(310px, 52svh, 500px); object-fit: contain; }
    .gallery-carousel__control { top: 40%; transform: translateY(-50%); }
    .gallery-carousel__control--previous { left: -8px; }
    .gallery-carousel__control--next { right: -8px; }
    .gallery-hero__caption, .section-heading { display: grid; gap: 14px; }
    .gallery-hero__caption p { display: grid; gap: 2px; }
    .section-heading { margin-bottom: 34px; }
    .artist-collection-header {
        gap: 28px;
        padding-bottom: 54px;
    }
    .artist-collection-header h1 {
        grid-template-columns: 1fr;
        gap: 12px;
        font-size: 34px;
    }
    .artist-collection-header h1::before,
    .artist-collection-header h1::after { display: none; }
    .artist-more-link { font-size: 15px; }
    .meta-list div { grid-template-columns: 105px 1fr; }
    .artwork-actions .button { width: 100%; }
    .artist-profile-actions .button { width: 100%; }
    .room-viewer {
        width: 100vw;
        height: 100vh;
        max-height: 100vh;
    }
    .room-viewer__stage {
        height: calc(100% - 156px);
        min-height: 420px;
        background-position: 55% center;
    }
    .room-viewer__artwork {
        top: 7%;
        left: 50%;
        width: min(var(--room-art-width, 34%), 48vw);
        min-width: 96px;
    }
    .room-viewer__artwork--estimated {
        top: 6%;
        width: min(var(--room-art-width, 24%), 42vw);
    }
    .room-viewer__artwork img {
        max-height: 30vh;
    }
    .room-viewer__artwork--estimated img {
        max-height: 26vh;
    }
    .room-viewer__options {
        grid-template-columns: 1fr;
        gap: 14px;
        min-height: 156px;
        padding: 16px 18px;
    }
    .collection-filter-form { grid-template-columns: 1fr; }
    .collection-filter-form button { width: 100%; }
    .collection-filter-form__reset { justify-self: start; }
    .artwork-gallery__thumbnails { grid-template-columns: repeat(4, 1fr); }
    .artwork-lightbox { width: 100vw; height: 100vh; padding: 58px 12px 24px; }
    .event-banner { grid-template-columns: 32px minmax(0, 1fr) 32px; }
    .event-banner__calendar { display: none; }
    .event-banner__slide { gap: 8px; padding: 10px 4px; font-size: 13px; }
}

@media (max-width: 420px) {
    .custom-logo { max-width: 205px; max-height: 92px; }
    .site-location, .site-tagline { max-width: 210px; }
    .site-location { font-size: 11px; }
    .site-tagline { font-size: 9px; }
}
