/*
Theme Name: Art, etc... Gallery
Theme URI: https://art-etc.com/
Description: Gallery redesign of art-etc.com built from the 2026 reference mockup: serif display type, generous whitespace, artwork-first layouts. Uses the content and data structure of the Art, etc... Core plugin.
Author: Art, etc... restoration
Version: 1.0.3
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: artetc-gallery
*/

/* ==========================================================================
   Fonts (self-hosted, SIL Open Font License; see assets/fonts/FONTS-LICENSE.txt)
   ========================================================================== */
@font-face {
	font-family: "Cormorant Garamond";
	src: url(assets/fonts/cormorant-garamond-latin.woff2) format("woff2");
	font-weight: 300 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Inter";
	src: url(assets/fonts/inter-latin.woff2) format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

/* ==========================================================================
   Design tokens (measured from the reference mockup)
   ========================================================================== */
:root {
	--g-bg: #f8f6f3;
	--g-bg-alt: #efece8;
	--g-surface: #ffffff;
	--g-ink: #1d1d1b;
	--g-ink-soft: #4a4844;
	--g-muted: #75716b;
	--g-line: #d8d4cd;
	--g-footer: #222220;
	--g-footer-ink: #d3cec6;
	--g-on-dark: #ffffff;
	--g-serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
	--g-sans: "Inter", "Helvetica Neue", Arial, sans-serif;
	--g-width: 1180px;
	--g-gutter: clamp(20px, 5vw, 64px);
	--g-section: clamp(56px, 7vw, 96px);
	--g-ease: cubic-bezier(.2, .6, .2, 1);
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--g-bg);
	color: var(--g-ink);
	font-family: var(--g-sans);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--g-ink); }
:focus-visible { outline: 2px solid var(--g-ink); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--g-serif); font-weight: 500; line-height: 1.08; margin: 0 0 .5em; color: var(--g-ink); letter-spacing: -.005em; }
h1 { font-size: clamp(40px, 5vw, 72px); }
h2 { font-size: clamp(32px, 3.3vw, 48px); }
h3 { font-size: clamp(22px, 2vw, 28px); }
h4 { font-size: 20px; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
figure { margin: 0 0 1.5em; }
figcaption, .wp-caption-text { font-size: 13px; color: var(--g-muted); margin-top: 8px; }
blockquote { margin: 0 0 1.4em; padding: 0 0 0 20px; border-left: 1px solid var(--g-line); font-family: var(--g-serif); font-size: 22px; font-style: italic; line-height: 1.4; color: var(--g-ink-soft); }
blockquote p { font-size: inherit; }
hr { border: 0; border-top: 1px solid var(--g-line); margin: 2em 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto; padding: 10px 16px; background: #fff; color: var(--g-ink); }
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { margin-left: auto; margin-right: auto; }

.g-container { width: 100%; max-width: calc(var(--g-width) + 2 * var(--g-gutter)); margin: 0 auto; padding: 0 var(--g-gutter); }
.g-eyebrow { display: block; font-family: var(--g-sans); font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--g-ink-soft); margin: 0 0 14px; }
.g-lede { font-size: 17px; color: var(--g-ink-soft); max-width: 60ch; }

/* Outline button with arrow, as in the mockup */
.g-button, .ae-button, .ae-form .ae-submit {
	display: inline-flex; align-items: center; gap: 14px;
	padding: 12px 22px; border: 1px solid currentColor; border-radius: 0;
	background: transparent; color: var(--g-ink); font: 500 14px/1.2 var(--g-sans); letter-spacing: .01em;
	text-decoration: none; cursor: pointer; transition: background-color .25s var(--g-ease), color .25s var(--g-ease);
}
.g-button:hover, .g-button:focus-visible, .ae-button:hover, .ae-button:focus-visible, .ae-form .ae-submit:hover, .ae-form .ae-submit:focus-visible { background: var(--g-ink); color: #fff; }
.g-button--light { color: #fff; }
.g-button--light:hover, .g-button--light:focus-visible { background: #fff; color: var(--g-ink); }
.g-arrow { width: 14px; height: 10px; flex: none; transition: transform .25s var(--g-ease); }
a:hover .g-arrow, button:hover .g-arrow, a:focus-visible .g-arrow { transform: translateX(3px); }
.g-textlink { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--g-ink); }
.g-textlink:hover { text-decoration: underline; }

/* ==========================================================================
   Header
   ========================================================================== */
.g-header { background: var(--g-bg); position: relative; z-index: 50; }
.g-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 74px; }
.g-brand { justify-self: start; display: inline-flex; flex-direction: column; text-decoration: none; color: var(--g-ink); line-height: 1; }
.g-brand__name { font-family: var(--g-serif); font-size: 34px; font-weight: 500; letter-spacing: -.01em; }
.g-brand__tag { font-size: 9.5px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; margin-top: 6px; color: var(--g-ink-soft); }
.g-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(20px, 2.6vw, 40px); }
.g-nav a { display: block; padding: 6px 0; font-size: 14px; color: var(--g-ink); text-decoration: none; border-bottom: 1px solid transparent; }
.g-nav a:hover, .g-nav a:focus-visible { border-bottom-color: var(--g-line); }
.g-nav .current-menu-item > a, .g-nav .current-page-ancestor > a, .g-nav .current-menu-parent > a, .g-nav .current_page_parent > a, .g-nav .current-post-parent > a { border-bottom-color: var(--g-ink); }
.g-header__tools { justify-self: end; display: flex; gap: 6px; }
.g-iconbtn { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; padding: 0; color: var(--g-ink); cursor: pointer; }
.g-iconbtn svg { width: 19px; height: 19px; }

/* Off-canvas panel and search overlay (native <dialog>) */
.g-dialog { border: 0; padding: 0; margin: 0; max-width: none; max-height: none; background: transparent; color: var(--g-ink); }
.g-dialog::backdrop { background: rgba(20, 20, 18, .45); }
.g-panel { position: fixed; inset: 0 0 0 auto; width: min(420px, 100vw); height: 100%; background: var(--g-bg); padding: 28px 36px 40px; overflow-y: auto; }
.g-panel__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.g-panel ul { list-style: none; margin: 0 0 28px; padding: 0; }
.g-panel li a { display: block; padding: 9px 0; font-family: var(--g-serif); font-size: 28px; line-height: 1.15; text-decoration: none; color: var(--g-ink); }
.g-panel li a:hover, .g-panel li a:focus-visible { text-decoration: underline; }
.g-panel .g-panel__secondary a { font-family: var(--g-sans); font-size: 15px; padding: 6px 0; color: var(--g-ink-soft); }
.g-panel__contact { font-size: 14px; color: var(--g-ink-soft); border-top: 1px solid var(--g-line); padding-top: 20px; }
.g-search { position: fixed; inset: 0 0 auto 0; background: var(--g-bg); padding: 28px var(--g-gutter) 36px; }
.g-search form { max-width: var(--g-width); margin: 0 auto; display: flex; gap: 12px; align-items: center; }
.g-search input[type="search"] { flex: 1; font: 400 clamp(22px, 3vw, 34px) var(--g-serif); border: 0; border-bottom: 1px solid var(--g-ink); background: transparent; padding: 8px 0; color: var(--g-ink); min-width: 0; }
.g-search input[type="search"]:focus { outline: none; border-bottom-width: 2px; }

/* ==========================================================================
   Hero slider
   ========================================================================== */
.g-hero { position: relative; height: clamp(440px, 36vw, 640px); background: #2a2622; color: #fff; overflow: hidden; }
.g-hero__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.2s var(--g-ease); }
.g-hero__slide.is-active { opacity: 1; }
.g-hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.g-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24, 20, 16, .78) 0%, rgba(24, 20, 16, .55) 34%, rgba(24, 20, 16, .08) 62%, rgba(24, 20, 16, 0) 100%); pointer-events: none; }
.g-hero__content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.g-hero__text { max-width: 520px; }
.g-hero .g-eyebrow { color: rgba(255, 255, 255, .9); }
.g-hero h1 { color: #fff; margin-bottom: 22px; }
.g-hero p { color: rgba(255, 255, 255, .88); font-size: 16px; max-width: 30em; margin-bottom: 28px; }
.g-hero__controls { position: absolute; z-index: 3; right: var(--g-gutter); bottom: 22px; display: flex; align-items: center; gap: 14px; font-size: 13px; letter-spacing: .08em; }
.g-hero__controls button { background: none; border: 0; color: #fff; padding: 6px; cursor: pointer; display: inline-flex; }
.g-hero__controls .g-arrow { width: 16px; height: 12px; }
.g-hero__count { min-width: 3.5em; text-align: center; }
.g-hero__controls [data-dir="-1"] .g-arrow { transform: rotate(180deg); }
.g-hero__controls [data-dir="-1"]:hover .g-arrow { transform: rotate(180deg) translateX(3px); }
.g-card__media, .g-artist__media, .g-post-card__media, .g-feature__media { display: block; }

/* ==========================================================================
   Sections
   ========================================================================== */
.g-section { padding: var(--g-section) 0; }
.g-section--alt { background: var(--g-bg-alt); }
.g-section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 30px; }
.g-section__head h2 { margin: 0; }

/* Artwork cards */
.g-works { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 30px); }
.g-card { display: block; text-decoration: none; color: var(--g-ink); }
.g-card__media { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--g-bg-alt); }
.g-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--g-ease); }
.g-card:hover .g-card__media img, .g-card:focus-visible .g-card__media img { transform: scale(1.02); }
.g-card__media--contain { padding: 9%; display: flex; align-items: center; justify-content: center; }
.g-card__media--contain img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 1px 2px rgba(0, 0, 0, .12), 0 8px 18px -10px rgba(0, 0, 0, .35); }
.g-card__title { display: block; margin-top: 16px; font-size: 15px; font-weight: 500; line-height: 1.35; }
.g-card__artist { display: block; font-size: 13px; color: var(--g-muted); margin-top: 2px; }
.g-card__meta { display: block; font-size: 12.5px; color: var(--g-muted); margin-top: 6px; }
.g-card__meta span + span::before { content: "|"; padding: 0 8px; color: var(--g-line); }

/* Feature (exhibition slot in the mockup; used for a recent installation) */
.g-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.g-feature h2 { margin-bottom: 18px; }
.g-feature__date { font-size: 15px; font-weight: 500; margin-bottom: 18px; }
.g-feature__text { color: var(--g-ink-soft); font-size: 15px; margin-bottom: 28px; }
.g-feature__media { aspect-ratio: 1.85 / 1; overflow: hidden; background: #ddd; }
.g-feature__media img { width: 100%; height: 100%; object-fit: cover; }

/* Artists row */
.g-artists { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.g-artists__intro p { color: var(--g-ink-soft); font-size: 15px; max-width: 34em; margin-bottom: 28px; }
.g-artists__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.g-artist { display: block; text-decoration: none; color: var(--g-ink); }
.g-artist__media { aspect-ratio: 6 / 5; overflow: hidden; background: var(--g-bg-alt); }
.g-artist__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--g-ease); }
.g-artist:hover img, .g-artist:focus-visible img { transform: scale(1.03); }
.g-artist__name { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 14px; font-size: 15px; font-weight: 500; }
.g-artist__role { display: block; font-size: 13px; color: var(--g-muted); }

/* Visit band */
.g-band { position: relative; color: #fff; overflow: hidden; background: #3a3530; }
.g-band__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.g-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22, 20, 18, .72), rgba(22, 20, 18, .45)); }
.g-band__inner { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-top: clamp(36px, 4vw, 52px); padding-bottom: clamp(36px, 4vw, 52px); }
.g-band .g-eyebrow { color: rgba(255, 255, 255, .85); }
.g-band h2 { color: #fff; margin: 0 0 10px; font-size: clamp(30px, 3.2vw, 46px); }
.g-band p { margin: 0; color: rgba(255, 255, 255, .88); font-size: 15px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.g-footer { background: var(--g-footer); color: var(--g-footer-ink); font-size: 14px; }
.g-footer a { color: var(--g-footer-ink); text-decoration: none; }
.g-footer a:hover, .g-footer a:focus-visible { color: #fff; text-decoration: underline; }
.g-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr 1.6fr; gap: 32px; padding-top: 52px; padding-bottom: 40px; }
.g-footer .g-brand { color: #fff; }
.g-footer .g-brand__tag { color: var(--g-footer-ink); }
.g-footer ul { list-style: none; margin: 0; padding: 0; }
.g-footer li { margin-bottom: 6px; }
.g-footer__label { display: block; color: #fff; font-size: 13px; font-weight: 500; margin-bottom: 12px; }
.g-social { display: flex; gap: 14px; }
.g-social a { display: inline-flex; width: 22px; height: 22px; }
.g-social svg { width: 20px; height: 20px; }
.g-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 20px; padding-bottom: 28px; font-size: 12.5px; }
.g-footer__bottom ul { display: flex; gap: 22px; }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.g-pagehead { padding: clamp(48px, 6vw, 88px) 0 clamp(28px, 3vw, 44px); }
.g-pagehead h1 { margin-bottom: 18px; }
.g-pagehead p { font-size: 17px; color: var(--g-ink-soft); max-width: 62ch; margin: 0; }
.g-pagehead p a { text-decoration: underline; }
.g-content { padding-bottom: var(--g-section); }
.g-prose { max-width: 760px; font-size: 16.5px; }
.g-prose img { height: auto; }
.g-prose h2 { font-size: clamp(28px, 2.6vw, 36px); margin-top: 1.4em; }
.g-prose h3 { margin-top: 1.2em; }
.g-content > .g-container > .ae-cols, .g-content .contact-cols, .g-content .staff-grid, .g-content .ae-gallery, .g-content .artwork-grid { max-width: none; }
.page-note { font-size: 13px; color: var(--g-muted); border-left: 2px solid var(--g-line); padding: 4px 0 4px 14px; margin-bottom: 28px; }
.missing-media-note { font-size: 13px; color: var(--g-muted); font-style: italic; }

/* Restored content components */
.ae-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 300px); gap: clamp(32px, 5vw, 72px); align-items: start; }
.ae-col-side { border-left: 1px solid var(--g-line); padding-left: clamp(20px, 3vw, 40px); }
.ae-col-side.no-rule { border-left: 0; padding-left: 0; }
.ae-col-side ul { list-style: none; padding: 0; }
.ae-col-side li { padding: 3px 0; color: var(--g-ink-soft); }
.ae-col-side figure img { margin-bottom: 0; }
.client-testimonial { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(20px, 3vw, 40px); align-items: center; margin-bottom: 48px; }
.client-testimonial img { width: 100%; aspect-ratio: 285 / 200; object-fit: cover; }
.client-testimonial blockquote { border: 0; padding: 0; }
.staff-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 48px clamp(24px, 3vw, 40px); }
.staff-member img, .staff-photo-missing { width: 100%; aspect-ratio: 285 / 173; object-fit: cover; margin-bottom: 18px; }
.staff-photo-missing { display: flex; align-items: center; justify-content: center; background: var(--g-bg-alt); color: var(--g-muted); font-size: 13px; text-align: center; padding: 16px; }
.staff-member h2 { font-family: var(--g-sans); font-size: 15px; font-weight: 500; line-height: 1.4; margin-bottom: 10px; }
.staff-member h2 a { text-decoration: none; }
.staff-member p { font-size: 15px; color: var(--g-ink-soft); }
.contact-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-map { width: 100%; height: 280px; border: 0; filter: grayscale(.35); margin: 8px 0 10px; }
.contact-right { border-left: 1px solid var(--g-line); padding-left: clamp(24px, 4vw, 56px); }
.ae-form .ae-field { margin-bottom: 22px; }
.ae-form label { display: block; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--g-ink-soft); margin-bottom: 6px; }
.ae-form input[type="text"], .ae-form input[type="email"], .ae-form select, .ae-form textarea {
	width: 100%; font: 400 16px/1.5 var(--g-sans); color: var(--g-ink); background: transparent; border: 0; border-bottom: 1px solid var(--g-line); border-radius: 0; padding: 8px 0;
}
.ae-form select { appearance: auto; }
.ae-form textarea { border: 1px solid var(--g-line); padding: 10px 12px; min-height: 150px; }
.ae-form input:focus, .ae-form select:focus, .ae-form textarea:focus { outline: none; border-color: var(--g-ink); }
.ae-form .ae-hp { position: absolute; left: -9999px; }
.ae-notice { padding: 14px 18px; margin-bottom: 24px; background: var(--g-surface); border-left: 2px solid var(--g-ink); }
.ae-notice.is-error { border-left-color: #9b2c2c; }

/* Galleries page (category rows with lightbox) */
.gallery-nav { list-style: none; padding: 0; margin: 0 0 40px; display: flex; flex-wrap: wrap; gap: 8px 28px; border-bottom: 1px solid var(--g-line); padding-bottom: 14px; }
.gallery-nav a { font-size: 14px; text-decoration: none; color: var(--g-ink-soft); }
.gallery-nav a:hover, .gallery-nav a:focus-visible { color: var(--g-ink); text-decoration: underline; }
.ae-gallery { margin-bottom: 56px; scroll-margin-top: 24px; }
.ae-gallery h2 { font-size: clamp(26px, 2.4vw, 34px); margin-bottom: 20px; }
.ae-carousel { position: relative; }
.ae-carousel-track { list-style: none; margin: 0; padding: 0 0 6px; display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; scroll-behavior: smooth; }
.ae-carousel-track li { flex: none; scroll-snap-align: start; }
.ae-carousel-track a { display: block; }
.ae-carousel-track img { height: 220px; width: auto; max-width: none; box-shadow: 0 1px 2px rgba(0, 0, 0, .12), 0 10px 20px -12px rgba(0, 0, 0, .4); transition: opacity .3s; }
.ae-carousel-track a:hover img, .ae-carousel-track a:focus-visible img { opacity: .85; }
.ae-carousel-btn { position: absolute; top: 50%; transform: translateY(-60%); z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--g-line); background: rgba(248, 246, 243, .92); color: var(--g-ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-size: 0; }
.ae-carousel-btn.prev { left: -14px; }
.ae-carousel-btn.next { right: -14px; }
.ae-carousel-btn::before { content: ""; width: 9px; height: 9px; border: solid var(--g-ink); border-width: 0 1.5px 1.5px 0; transform: rotate(135deg); margin-left: 4px; }
.ae-carousel-btn.next::before { transform: rotate(-45deg); margin: 0 4px 0 0; }

/* Lightbox */
.ae-lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; }
.ae-lightbox::backdrop { background: rgba(18, 17, 15, .9); }
.ae-lightbox-inner { text-align: center; color: #fff; }
.ae-lightbox img { max-width: 92vw; max-height: calc(92vh - 70px); width: auto; margin: 0 auto; }
.ae-lightbox-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 14px; font-size: 14px; color: #eee; }
.ae-lightbox-bar button { font: 500 13px var(--g-sans); background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .5); padding: 7px 14px; cursor: pointer; }
.ae-lightbox-bar button:hover, .ae-lightbox-bar button:focus-visible { background: #fff; color: var(--g-ink); }

/* Artwork catalogue grid (shortcode) */
.artwork-grid { list-style: none; margin: 0 0 48px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 44px clamp(18px, 2.2vw, 30px); }
.artwork-grid > li { margin: 0; }
.artwork-grid > li > a:not(.g-card) { display: block; text-decoration: none; color: var(--g-ink); }
.artwork-grid .artwork-thumb { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; padding: 9%; background: var(--g-bg-alt); }
.artwork-grid .artwork-thumb img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 1px 2px rgba(0, 0, 0, .12), 0 8px 18px -10px rgba(0, 0, 0, .35); }
.artwork-grid .artwork-name { display: block; margin-top: 16px; font-size: 15px; font-weight: 500; }
.collection-links { list-style: none; padding: 0; margin: 0 0 40px; display: flex; flex-wrap: wrap; gap: 10px; }
.collection-links a { display: inline-block; padding: 9px 18px; border: 1px solid var(--g-line); font-size: 14px; text-decoration: none; }
.collection-links a:hover, .collection-links a:focus-visible, .collection-links a[aria-current="page"] { border-color: var(--g-ink); }
.g-content h2[style*="center"] { font-size: clamp(24px, 2.4vw, 32px); }

/* Artwork detail */
.g-artwork { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; padding-top: clamp(32px, 4vw, 56px); }
.g-artwork__media { background: var(--g-bg-alt); padding: clamp(24px, 5vw, 64px); display: flex; justify-content: center; }
.g-artwork__media img { width: auto; max-height: 72vh; box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 18px 36px -18px rgba(0, 0, 0, .45); }
.g-artwork__info h1 { font-size: clamp(36px, 4vw, 56px); margin-bottom: 8px; }
.g-artwork__artist { font-size: 17px; color: var(--g-ink-soft); margin-bottom: 28px; }
.g-specs { margin: 0 0 32px; border-top: 1px solid var(--g-line); }
.g-specs div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--g-line); font-size: 15px; }
.g-specs dt { color: var(--g-muted); }
.g-specs dd { margin: 0; }
.g-backlink { display: inline-flex; gap: 10px; align-items: center; font-size: 14px; text-decoration: none; color: var(--g-ink-soft); margin-top: 28px; }
.g-backlink .g-arrow { transform: rotate(180deg); }

/* Journal (blog) */
.g-posts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px clamp(20px, 3vw, 40px); }
.g-post-card { display: flex; flex-direction: column; text-decoration: none; color: var(--g-ink); height: 100%; }
.g-post-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--g-bg-alt); margin-bottom: 18px; }
.g-post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--g-ease); }
.g-post-card:hover img, .g-post-card:focus-visible img { transform: scale(1.03); }
.g-post-card__media--text { display: flex; align-items: flex-end; padding: 22px; font-family: var(--g-serif); font-size: 24px; line-height: 1.15; color: var(--g-ink-soft); }
.g-post-card h2, .g-post-card h3 { font-size: 26px; margin-bottom: 8px; }
.g-post-card__date { font-size: 13px; color: var(--g-muted); }
.g-post-card p { font-size: 15px; color: var(--g-ink-soft); margin: 10px 0 0; }
.g-pagination { display: flex; justify-content: space-between; gap: 24px; margin-top: 64px; font-size: 14px; }
.g-pagination a { text-decoration: none; display: inline-flex; gap: 10px; align-items: center; }
.g-entry { max-width: 760px; margin: 0 auto; }
.g-entry__head { padding: clamp(48px, 6vw, 88px) 0 32px; }
.g-entry__meta { font-size: 14px; color: var(--g-muted); }
.g-entry__body { font-size: 17px; line-height: 1.75; }
.g-entry__body img { margin: 8px 0 18px; }
.g-entry__body a { text-decoration: underline; }
.g-entry__body .wp-caption { max-width: 100%; }
.g-entry__body figure.wp-caption img { width: 100%; }
.g-entry__terms { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--g-line); font-size: 14px; color: var(--g-muted); }
.g-entry__terms a { color: var(--g-ink-soft); }
.g-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 48px 0 0; padding-top: 24px; border-top: 1px solid var(--g-line); font-size: 15px; }
.g-postnav a { text-decoration: none; }
.g-postnav .next { text-align: right; }
.g-postnav span { display: block; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--g-muted); margin-bottom: 4px; }
.comments-area { margin-top: 48px; }
.comment-list { list-style: none; padding: 0; }
.comment-list li { padding: 16px 0; border-top: 1px solid var(--g-line); }
.comment-meta { font-size: 13px; color: var(--g-muted); }

/* ==========================================================================
   Motion and responsive
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media (max-width: 960px) {
	.g-nav { display: none; }
	.g-header__inner { grid-template-columns: 1fr auto; }
	.g-footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.g-footer__top > :first-child { grid-column: 1 / -1; }
	.g-artists { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
	.g-works { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.g-feature, .g-artwork, .contact-cols, .ae-cols { grid-template-columns: 1fr; }
	.g-feature__media { order: -1; }
	.g-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.contact-right { border-left: 0; padding-left: 0; border-top: 1px solid var(--g-line); padding-top: 32px; }
	.ae-col-side { border-left: 0; padding-left: 0; border-top: 1px solid var(--g-line); padding-top: 24px; }
	.ae-col-side.no-rule { border-top: 0; padding-top: 0; }
	.client-testimonial { grid-template-columns: 1fr; }
	.g-band__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
	body { font-size: 15.5px; }
	.g-brand__name { font-size: 28px; }
	.g-hero { height: auto; min-height: 520px; }
	.g-hero::after { background: linear-gradient(180deg, rgba(24, 20, 16, .35) 0%, rgba(24, 20, 16, .78) 70%); }
	.g-hero__content { justify-content: flex-end; padding-bottom: 72px; min-height: 520px; }
	.g-section__head { flex-direction: column; align-items: flex-start; }
	.g-artists__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.g-posts { grid-template-columns: 1fr; }
	.g-footer__top { grid-template-columns: 1fr 1fr; }
	.g-specs div { grid-template-columns: 100px 1fr; }
	.ae-carousel-track img { height: 170px; }
	.ae-carousel-btn { display: none; }
	.alignleft, .alignright { float: none; margin: 0 0 16px; }
}

@media print {
	.g-header__tools, .g-hero__controls, .g-band, .g-footer { display: none !important; }
}
