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

:root {
  --cream: #F8F4EE;
  --warm-white: #FDFAF6;
  --paper-hero: #F7F2EA;
  --paper-about: #F2ECE3;
  --paper-gallery: #FCF8F2;
  /* About: stepped warm paper (a touch stronger for visible depth) */
  --about-bg-top: #F0E2D4;
  --about-bg-mid: #DFCAB8;
  --about-bg-deep: #CEB8A2;
  --about-bg-bottom: #C0A892;
  --ink: #1C1A17;
  --ink-soft: #4A4540;
  --ink-muted: #8C8078;
  --gold: #B8956A;
  --gold-light: #D4B896;
  --rust: #8B4A2F;
  --sage: #6B7C6E;
  --canvas: #EDE8DF;
  --card-radius: 14px;
  --card-shadow: 0 10px 30px rgba(24, 20, 16, 0.12);
  --card-shadow-hover: 0 16px 36px rgba(24, 20, 16, 0.16);
  --card-lift: translateY(-5px) scale(1.01);
  --border: rgba(28,26,23,0.12);
}

html { scroll-behavior: smooth; }

body {
  background: var(--paper-hero);
  color: var(--ink);
  font-family: "Jost", sans-serif;
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
}

.skip-link {
  position: fixed;
  top: -48px;
  left: 1rem;
  z-index: 1200;
  background: var(--ink);
  color: var(--warm-white);
  padding: 0.55rem 0.85rem;
  border-radius: 0.35rem;
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  transition: top 0.2s ease;
}
.skip-link:focus-visible { top: 1rem; }

a:focus-visible,
button:focus-visible,
.filter-tab:focus-visible,
.painting-card:focus-visible,
#aboutFeatureImg:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
a {
  color: var(--gold);
  text-underline-offset: 0.15em;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 4rem;
  background: rgba(248,244,238,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.4s, padding 0.4s;
}
nav.scrolled {
  background: rgba(248,244,238,0.92);
  backdrop-filter: blur(12px);
  padding: 1.2rem 4rem;
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--ink);
  text-decoration: none;
}
.nav-links { display: flex; gap: 3rem; list-style: none; }
.nav-links a {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -3px; left: 0; right: 100%;
  height: 1px;
  background: var(--gold);
  transition: right 0.3s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { right: 0; }

/* HERO */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  background: url("./Images/Sandy Pond Lake Ontario/Sunset.png") center 42% / cover no-repeat;
  padding: 7rem 4rem 7rem;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(24, 20, 16, 0.2), rgba(24, 20, 16, 0.08) 45%, rgba(247, 242, 234, 0.14));
  pointer-events: none;
}
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 760px;
  width: 100%;
  padding: clamp(0.75rem, 1.4vw, 1.2rem) clamp(1.6rem, 3.2vw, 2.8rem);
  border-radius: var(--card-radius);
  background: rgba(20, 14, 12, 0.24);
  backdrop-filter: blur(2px);
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.6);
}
.hero-eyebrow {
  font-size: clamp(0.82rem, 1.4vw, 1rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.9rem;
  opacity: 0;
  animation: fadeUp 1s ease 0.3s forwards;
}
.hero-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.8rem, 4.8vw, 4.4rem);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeUp 1s ease 0.5s forwards;
}
.hero-title { color: var(--warm-white); }
.hero-title em { font-style: italic; color: var(--gold-light); }
.hero-quote {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-style: italic;
  color: rgba(253, 250, 246, 0.98);
  line-height: 1.5;
  max-width: 680px;
  border-top: 1px solid rgba(212, 184, 150, 0.9);
  padding-top: 0.75rem;
  margin-bottom: 1.4rem;
  opacity: 0;
  animation: fadeUp 1s ease 0.7s forwards;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: clamp(0.82rem, 1.4vw, 0.98rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--warm-white);
  text-decoration: none;
  opacity: 0;
  animation: fadeUp 1s ease 0.9s forwards;
  transition: gap 0.3s;
}
.hero-cta:hover { gap: 1.6rem; }
.hero-cta-line {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--gold-light);
  transition: width 0.3s;
}
.hero-cta:hover .hero-cta-line { width: 60px; }

.hero-mobile-info {
  display: none;
}

/* ABOUT */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(1rem, 2vw, 2.25rem);
  /* Base: clear vertical + slight diagonal so it never reads as flat white */
  background: linear-gradient(
      168deg,
      var(--about-bg-top) 0%,
      var(--about-bg-mid) 38%,
      var(--about-bg-deep) 72%,
      var(--about-bg-bottom) 100%
    ),
    var(--about-bg-mid);
  color: var(--ink);
  min-height: 60vh;
  align-items: center;
  padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 4vw, 4rem);
  position: relative;
  overflow: hidden;
}
.about::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  /* Warm overlays only — avoid a strong white veil (it killed the base gradient) */
  background:
    radial-gradient(ellipse 110% 60% at 50% -5%, rgba(228, 150, 105, 0.38), transparent 54%),
    radial-gradient(85% 55% at 100% 45%, rgba(184, 149, 106, 0.22), transparent 48%),
    radial-gradient(70% 50% at 0% 80%, rgba(90, 108, 92, 0.1), transparent 44%),
    linear-gradient(110deg, rgba(255, 232, 210, 0.32) 0%, transparent 40%);
  pointer-events: none;
}
.about::after {
  content: "";
  position: absolute;
  top: clamp(3rem, 9vh, 5.5rem);
  bottom: clamp(3rem, 9vh, 5.5rem);
  /* Slightly left of center so the line reads with the text block, not dead viewport center */
  left: calc(50% - clamp(2rem, 5vw, 5.5rem));
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    rgba(28, 26, 23, 0),
    rgba(184, 149, 106, 0.45) 15%,
    rgba(184, 149, 106, 0.45) 85%,
    rgba(28, 26, 23, 0)
  );
  pointer-events: none;
}
.about-text {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 720px;
  position: relative;
  z-index: 1;
}
.section-label {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.5rem;
}
.about-text h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  font-weight: 300;
  line-height: 1.08;
  margin-bottom: 1.5rem;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.about-text h2 em {
  font-style: italic;
  color: var(--gold);
}
.contact-section h2 em {
  font-style: italic;
  color: var(--gold-light);
}
.about-text p {
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.92;
  color: var(--ink-soft);
  max-width: 560px;
}
.about-text p::before {
  content: "";
  display: block;
  width: 84px;
  height: 1px;
  margin-bottom: 1.15rem;
  background: linear-gradient(90deg, var(--gold), rgba(184, 149, 106, 0.2));
}
.about-visual-wrap {
  justify-self: end;
  width: min(100%, 700px);
  position: relative;
  z-index: 1;
}
.about-visual {
  background: #141210;
  position: relative;
  overflow: hidden;
  /* Image is position:absolute + object-fit:cover so random aspect ratios never letterbox */
  min-height: clamp(320px, 48vw, 560px);
  border-radius: var(--card-radius);
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  width: 100%;
}
.about-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  opacity: 0.92;
  z-index: 0;
}
#aboutFeatureImg { cursor: pointer; }
.about-visual-label {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  z-index: 1;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(253, 250, 246, 0.78);
  background: rgba(15, 13, 10, 0.58);
  border: 1px solid rgba(253, 250, 246, 0.2);
  border-radius: 999px;
  padding: 0.38rem 0.8rem;
}
.about-visual-meta {
  margin-top: 1rem;
  padding: 0.2rem 0.2rem 0;
}
.about-visual-meta h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.3rem, 2.1vw, 1.75rem);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.45rem;
}
.about-visual-meta p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--ink-muted);
}

@media (min-width: 1200px) {
  .about {
    grid-template-columns: minmax(380px, 620px) minmax(380px, 620px);
    justify-content: center;
    gap: clamp(2.25rem, 5vw, 6rem);
  }
  .about-text {
    max-width: 640px;
    justify-self: end;
  }
  .about-visual-wrap {
    justify-self: center;
    width: min(100%, 620px);
  }
}

/* STATS */
.stats {
  background: var(--gold);
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 4rem;
}
.stat {
  flex: 1;
  max-width: 220px;
  text-align: center;
  padding: 1rem 2rem;
  border-right: 1px solid rgba(28,26,23,0.15);
}
.stat:last-child { border-right: none; }
.stat-number {
  font-family: "Cormorant Garamond", serif;
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* GALLERY SECTION */
.gallery-section {
  padding: 9.25rem 4rem 8rem;
  background: var(--paper-gallery);
}
.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  width: 100%;
  max-width: none;
  margin-inline: 0;
}
.gallery-header h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.1;
}
.gallery-header h2 em { font-style: italic; color: var(--gold); }

/* Filter tabs */
.filter-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
  align-items: center;
}
.filter-tab {
  padding: 0.6rem 1.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--ink-soft);
  transition: all 0.3s;
  font-family: "Jost", sans-serif;
  font-weight: 300;
}
.filter-tab:hover, .filter-tab.active {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

/* Masonry Gallery */
.paintings-grid {
  columns: 3;
  column-gap: 1.5rem;
}
.painting-card {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  transform: translateY(0) scale(1);
  transition: transform 0.32s ease, box-shadow 0.32s ease;
  background: linear-gradient(160deg, rgba(249, 245, 239, 0.94), rgba(242, 235, 224, 0.72));
}
.painting-card img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.45s ease, opacity 0.28s ease;
  opacity: 1;
}
.painting-card img.img-loading {
  opacity: 0;
}
.painting-card:hover {
  transform: var(--card-lift);
  box-shadow: var(--card-shadow-hover);
}
.painting-card:hover img {
  transform: scale(1.015);
}
.painting-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(28,26,23,0.85));
  padding: 2.5rem 1.5rem 1.5rem;
  transform: translateY(4px);
  opacity: 0;
  transition: all 0.3s ease;
}
.painting-card:hover .painting-info {
  opacity: 1;
  transform: translateY(0);
}
.painting-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--warm-white);
  margin-bottom: 0.4rem;
}
.painting-desc {
  font-size: 0.75rem;
  color: rgba(248,244,238,0.7);
  line-height: 1.6;
}
.painting-view-affordance {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--warm-white);
  background: rgba(28, 26, 23, 0.42);
  border: 1px solid rgba(253, 250, 246, 0.36);
  border-radius: 999px;
  padding: 0.28rem 0.58rem;
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity 0.24s ease, transform 0.24s ease;
}
.painting-card:hover .painting-view-affordance,
.painting-card:focus-visible .painting-view-affordance {
  opacity: 1;
  transform: translateY(0);
}
.painting-card:active .painting-view-affordance,
.painting-card:active .painting-info {
  opacity: 1;
  transform: translateY(0);
}
.painting-view-icon {
  width: 0.72rem;
  height: 0.72rem;
}
.painting-category-tag {
  display: inline-block;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}
.painting-card.hidden { display: none; }

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 18, 15, 0.985);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 0;
  max-width: 1280px;
  width: 94vw;
  max-height: 90vh;
  overflow: hidden;
}
.lightbox-img-wrap {
  position: relative;
  overflow: hidden;
  background: #0F0E0C;
  border: 1px solid rgba(212, 184, 150, 0.55);
  cursor: zoom-in;
  user-select: none;
}
.lightbox-img-wrap.zoomed { cursor: zoom-out; }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(248,244,238,0.35);
  background: rgba(15, 13, 10, 0.45);
  color: var(--warm-white);
  font-size: 1.6rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
}
.lightbox-nav:hover { background: rgba(15, 13, 10, 0.7); }
.lightbox-nav-prev { left: 0.8rem; }
.lightbox-nav-next { right: 0.8rem; }
.lightbox-nav[disabled] {
  opacity: 0.35;
  cursor: not-allowed;
}
.lightbox-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-height: 90vh;
  transform-origin: center center;
  transition: transform 0.14s ease-out;
  will-change: transform;
  user-select: none;
  pointer-events: none;
}
.lightbox-details {
  background: #efe7da;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.lightbox-tag {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.lightbox-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 300;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.lightbox-desc {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 2rem;
}
.lightbox-medium {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.lightbox-help {
  margin-top: 0.9rem;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: rgba(74, 69, 64, 0.82);
}
.lightbox-help-mobile { display: none; }
.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: 1px solid rgba(248,244,238,0.3);
  color: var(--cream);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s;
}
.lightbox-close:hover { background: rgba(248,244,238,0.1); }

/* CONTACT / FOOTER */
.contact-section {
  background: var(--ink);
  padding: 8rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-section::before {
  content: "VILLAGE ART";
  position: absolute;
  font-family: "Cormorant Garamond", serif;
  font-size: 18vw;
  font-weight: 300;
  color: rgba(248,244,238,0.03);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
}
.contact-section .section-label { text-align: center; margin-bottom: 2rem; }
.contact-section h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 1.5rem;
  position: relative;
}
.contact-section p {
  color: rgba(248,244,238,0.6);
  font-size: 1rem;
  max-width: 760px;
  margin: 0 auto 3rem;
  line-height: 1.92;
  position: relative;
}
.contact-email {
  display: inline-block;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  font-style: italic;
  color: var(--gold-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(212,184,150,0.3);
  padding-bottom: 0.3rem;
  transition: border-color 0.3s, color 0.3s;
  position: relative;
}
.contact-email:hover { color: var(--gold); border-color: var(--gold); }

footer {
  background: #0F0E0C;
  padding: 1.6rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(248,244,238,0.05);
}
footer .foot-logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.02rem;
  font-weight: 300;
  color: rgba(248,244,238,0.42);
  letter-spacing: 0.06em;
}
footer .foot-copy {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: rgba(248,244,238,0.2);
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal-heading {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-heading.visible { opacity: 1; transform: translateY(0); }

/* Divider ornament */
.ornament {
  text-align: center;
  padding: 3rem 0;
  color: var(--gold);
  font-size: 1.2rem;
  letter-spacing: 0.5rem;
}

/* Category section headers inside gallery */
.cat-divider {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 3rem 0 1.5rem;
}
.cat-divider-line { flex: 1; height: 1px; background: var(--border); }
.cat-divider-text {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-muted);
  white-space: nowrap;
}

@media (max-width: 900px) {
  nav { padding: 1rem 2rem; }
  nav.scrolled { padding: 1rem 2rem; }
  .filter-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.35rem;
    margin-bottom: 2rem;
    scrollbar-width: thin;
  }
  .filter-tabs .filter-tab { flex: 0 0 auto; }
  .hero {
    min-height: 62svh;
    padding: 5.5rem 0 0;
    background-position: center center;
  }
  .hero::before { content: none; }
  .hero-left { display: none; }
  .hero-mobile-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--cream);
    color: var(--ink);
    padding: 2.25rem 1.5rem 2.75rem;
  }
  .hero-mobile-info .hero-eyebrow {
    color: var(--ink-soft);
    background: transparent;
    border: none;
    padding: 0;
    text-shadow: none;
    margin-bottom: 1.25rem;
  }
  .hero-mobile-info .hero-title {
    color: var(--ink);
    font-size: clamp(2.8rem, 9vw, 4.2rem);
    margin-bottom: 1.25rem;
    text-shadow: none;
  }
  .hero-mobile-info .hero-title em { color: var(--gold); }
  .hero-mobile-info .hero-quote {
    color: var(--ink-soft);
    border-top: 1px solid rgba(28, 26, 23, 0.18);
    max-width: 640px;
    margin-bottom: 2rem;
    text-shadow: none;
  }
  .hero-mobile-info .hero-cta {
    color: var(--ink);
    opacity: 1;
    animation: none;
    text-shadow: none;
  }
  .hero-mobile-info .hero-cta-line { background: var(--gold); }
  .about { grid-template-columns: 1fr; }
  .about::after { display: none; }
  .about-visual-wrap {
    width: 100%;
    justify-self: stretch;
  }
  .about-visual {
    min-height: 300px;
    width: 100%;
  }
  .about-text {
    padding: 1rem 0;
    max-width: 100%;
  }
  .gallery-section { padding: 5.75rem 1.25rem 4.75rem; }
  .gallery-header { margin-bottom: 2.5rem; }
  .filter-tabs { margin-bottom: 2.15rem; }
  .paintings-grid { columns: 2; }
  .painting-card {
    margin-bottom: 1rem;
    border-radius: 12px;
  }
  .painting-info {
    opacity: 1;
    transform: translateY(0);
    padding: 2.2rem 1rem 1rem;
    background: linear-gradient(transparent, rgba(28,26,23,0.72));
  }
  .painting-title { font-size: 1.02rem; }
  .painting-desc { font-size: 0.68rem; }
  .painting-view-affordance {
    opacity: 1;
    transform: translateY(0);
    top: 0.65rem;
    right: 0.65rem;
    padding: 0.24rem 0.5rem;
    font-size: 0.58rem;
  }
  .stats { flex-wrap: wrap; }
  .lightbox-inner { grid-template-columns: 1fr; max-height: 90vh; overflow-y: auto; }
  .lightbox-img-wrap { max-height: 50vh; }
  .lightbox-nav {
    width: 36px;
    height: 36px;
    font-size: 1.3rem;
  }
  .lightbox-help {
    margin-top: 0.7rem;
    font-size: 0.68rem;
  }
  .lightbox-help-desktop { display: none; }
  .lightbox-help-mobile { display: inline; }
  footer { flex-direction: column; gap: 1rem; text-align: center; }
  .contact-section { padding: 5rem 2rem; }
  .nav-links { gap: 1.5rem; }
}
@media (max-width: 600px) {
  .paintings-grid { columns: 1; }
  .gallery-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .gallery-section { padding: 5rem 1rem 4rem; }
  .filter-tabs { margin-bottom: 1.75rem; }
  .painting-info { padding: 2rem 0.9rem 0.9rem; }
  nav { padding: 1.2rem 1.5rem; }
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 0.65rem; }
  .hero {
    min-height: 50svh;
    padding: 4.8rem 0 0;
  }
  .hero-mobile-info {
    padding: 1.8rem 1rem 2.2rem;
  }
  .hero-mobile-info .hero-quote {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.6;
  }
}

@media (hover: none), (pointer: coarse) {
  .painting-card {
    transform: none;
  }
  .painting-card:hover {
    transform: none;
    box-shadow: var(--card-shadow);
  }
  .painting-card:hover img {
    transform: none;
  }
  .painting-info,
  .painting-view-affordance {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero::after,
  .ornament,
  .painting-view-affordance {
    transition: none !important;
  }
  .painting-card:hover,
  .painting-card:hover img {
    transform: none !important;
  }
}
