/* ============================================================
   George Rivera, Ph.D. — Artist Portfolio
   style.css
   ============================================================ */

/* --- Custom Font --- */
@font-face {
  font-family: 'Posada';
  src: url('../fonts/P22-Posada-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* --- Google Font: Lato --- */
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;1,300;1,400&display=swap');

/* --- CSS Variables --- */
:root {
  --bg:       #F2F2F0;
  --text:     #261201;
  --label:    #733E10;
  --link:     #731F0D;
  --muted:    #8C8880;
  --border:   rgba(38, 18, 1, 0.12);

  --font-display: 'Posada', Georgia, serif;
  --font-body:    'Lato', system-ui, sans-serif;

  --nav-height: 76px;
  --max-width:  1200px;
  --ease:       0.3s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img  { display: block; max-width: 100%; }
ul   { list-style: none; }
a    { text-decoration: none; }

/* --- Base --- */
body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: normal;
  line-height: 1.15;
  color: var(--text);
}
h1 { font-size: clamp(2.8rem, 5vw, 5.5rem); }
h2 { font-size: clamp(2rem,   4vw, 3.5rem);  }
h3 { font-size: clamp(1.4rem, 2vw, 2rem);    }
p  { color: var(--muted); line-height: 1.8; }

/* --- Utility --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.label-text {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--label);
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background var(--ease), color var(--ease), transform var(--ease);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--label);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--link);
  color: var(--bg);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--label);
  border: 2px solid var(--label);
}
.btn-outline:hover {
  background: var(--label);
  color: var(--bg);
  transform: translateY(-2px);
}
.btn-light {
  background: var(--bg);
  color: var(--text);
}
.btn-light:hover {
  background: var(--label);
  color: var(--bg);
  transform: translateY(-2px);
}

/* --- Section Shared --- */
.section { padding: 6rem 2rem; }
.section-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }

.section-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  margin-bottom: 3rem;
}
.section-header .label-text { display: block; margin-bottom: 0.75rem; }
.section-header h2 {
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.25;
}
.section-header .view-all {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--label);
  transition: color var(--ease);
}
.section-header .view-all:hover { color: var(--link); }

/* ============================================================
   NAVIGATION
   ============================================================ */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Brand */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-brand img {
  height: 48px;
  width: 48px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.nav-brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.2;
}

/* Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: block;
  padding: 0.4rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text);
  transition: color var(--ease);
}
.nav-menu > li > a:hover { color: var(--label); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-top: 2px solid var(--label);
  min-width: 210px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
  box-shadow: 0 8px 24px rgba(38, 18, 1, 0.07);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li a {
  display: block;
  padding: 0.65rem 1.25rem;
  font-size: 0.83rem;
  color: var(--text);
  border-bottom: 1px solid rgba(38, 18, 1, 0.05);
  transition: background var(--ease), padding-left var(--ease), color var(--ease);
}
.dropdown li:last-child a { border-bottom: none; }
.dropdown li a:hover {
  background: rgba(115, 62, 16, 0.05);
  color: var(--label);
  padding-left: 1.75rem;
}

/* CTA link */
.nav-cta {
  background: var(--label) !important;
  color: var(--bg) !important;
  margin-left: 0.5rem;
  padding: 0.4rem 1.1rem !important;
  border-radius: 2px;
}
.nav-cta:hover {
  background: var(--link) !important;
  color: var(--bg) !important;
}

/* MENU button */
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--text);
  border-radius: 2px;
  cursor: pointer;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.7rem;
  transition: background var(--ease), color var(--ease);
}
.nav-toggle:hover {
  background: var(--text);
  color: var(--bg);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: calc(100vh - var(--nav-height));
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem 2rem;
}

.hero-content { }
.hero-eyebrow {
  display: inline-block;
  margin-bottom: 1.5rem;
}
.hero-content h1 {
  margin-bottom: 1.5rem;
  color: var(--text);
}
.hero-content p {
  font-size: 1.15rem;
  max-width: 440px;
  margin-bottom: 2.5rem;
}

.hero-image {
  position: relative;
  height: 620px;
  border-radius: 3px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(115,62,16,0.1) 0%, rgba(140,136,128,0.15) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-placeholder-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--muted);
  text-align: center;
  padding: 2rem;
}

.hero-image-link {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.hero-image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.3s ease;
}
.hero-image:hover .hero-image-link img {
  transform: scale(1.03);
  opacity: 0.92;
}

.hero-image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(transparent, rgba(38,18,1,0.75));
  pointer-events: none;
}
.hero-image-caption .label-text {
  color: rgba(242,242,240,0.75);
  display: block;
  margin-bottom: 0.3rem;
}
.hero-caption-title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: rgba(242,242,240,0.95);
  line-height: 1.3;
  margin-bottom: 0.25rem;
}
.hero-caption-detail {
  font-size: 0.75rem;
  color: rgba(242,242,240,0.65);
  line-height: 1.55;
}

/* ============================================================
   ARTWORKS SECTION
   ============================================================ */
.artworks-section { background: var(--bg); }

.artwork-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.artwork-card {
  display: block;
  text-decoration: none;
  transition: transform var(--ease);
}
.artwork-card:hover { transform: translateY(-5px); }

.artwork-card-image {
  aspect-ratio: 3 / 4;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 1rem;
  background: linear-gradient(145deg, rgba(115,62,16,0.12), rgba(140,136,128,0.18));
  position: relative;
}
.artwork-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.artwork-card:hover .artwork-card-image img { transform: scale(1.06); }

.artwork-card-image .img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--muted);
  text-align: center;
  padding: 1rem;
}

.artwork-card .label-text { margin-bottom: 0.35rem; }
.artwork-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text);
  line-height: 1.25;
}

/* ============================================================
   EXHIBITIONS SECTION  (dark)
   ============================================================ */
.exhibitions-section {
  background: var(--text);
}
.exhibitions-section .section-header {
  border-bottom-color: rgba(242, 242, 240, 0.12);
}
.exhibitions-section .section-header h2 { color: var(--bg); }
.exhibitions-section .section-header .view-all { color: var(--label); }
.exhibitions-section .section-header .view-all:hover { color: #a05520; }

.exhibitions-intro {
  color: rgba(242, 242, 240, 0.55);
  max-width: 560px;
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

.countries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(242, 242, 240, 0.08);
}

.country-card {
  display: block;
  padding: 2.5rem 1.75rem;
  background: var(--text);
  text-decoration: none;
  transition: background var(--ease);
  text-align: center;
}
.country-card:hover { background: rgba(115, 62, 16, 0.28); }

.country-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--bg);
  margin-bottom: 0.4rem;
}
.country-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--label);
}

/* ============================================================
   PUBLICATIONS SECTION
   ============================================================ */
.publications-section { background: var(--bg); }

.publications-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.pub-card {
  display: block;
  text-decoration: none;
  transition: transform var(--ease);
}
.pub-card:hover { transform: translateY(-5px); }

.pub-card-cover {
  aspect-ratio: 3 / 4;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  background: linear-gradient(145deg, rgba(115,62,16,0.1), rgba(115,31,13,0.07));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}
.pub-card-cover img { width: 100%; height: 100%; object-fit: cover; }
.pub-card-cover .pub-placeholder {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--muted);
}

.pub-card .label-text { margin-bottom: 0.4rem; }
.pub-card-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text);
  line-height: 1.2;
}

/* ============================================================
   ARTNAUTS SECTION
   ============================================================ */
.artnauts-section {
  background: rgba(115, 62, 16, 0.06);
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.artnauts-inner {
  max-width: 680px;
  margin: 0 auto;
}
.artnauts-section h2 { margin-bottom: 1.5rem; }

.artnauts-logo {
  margin: 0 auto 2rem;
}
.artnauts-logo img {
  max-width: 264px;
  width: 100%;
  display: block;
  margin: 0 auto;
}
.artnauts-section p {
  font-size: 1.1rem;
  margin-bottom: 2.25rem;
}
.artnauts-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section { background: var(--bg); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-image {
  aspect-ratio: 4 / 5;
  border-radius: 3px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(140,136,128,0.18), rgba(115,62,16,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-image-placeholder {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--muted);
  text-align: center;
  padding: 2rem;
}

.about-content .label-text { margin-bottom: 1rem; display: block; }
.about-content h2 { margin-bottom: 1.5rem; }
.about-content p { margin-bottom: 1.25rem; }
.about-content .btn { margin-top: 1rem; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--text);
  color: var(--bg);
  padding: 4rem 2rem 2.5rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(242, 242, 240, 0.08);
  margin-bottom: 2rem;
  align-items: start;
}

/* --- Shared column base --- */
.footer-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* --- Logo + text group --- */
.footer-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-group-text {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.footer-col-logo {
  height: 72px;
  width: 72px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-col-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--bg);
  line-height: 1.2;
}

.footer-col-sub {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--label);
  margin: 0;
}

.footer-col-role {
  font-size: 0.85rem;
  color: rgba(242, 242, 240, 0.5);
  line-height: 1.75;
  margin: 0;
}

/* --- Col 3: Contact --- */
.footer-col--contact {
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-col-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--label);
  margin: 0 0 0.25rem;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-contact-list li a {
  font-size: 0.9rem;
  color: rgba(242, 242, 240, 0.65);
  transition: color var(--ease);
}
.footer-contact-list li a:hover { color: var(--bg); }

/* --- Bottom bar --- */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(242, 242, 240, 0.3);
}
.footer-bottom a {
  color: rgba(242, 242, 240, 0.3);
  transition: color var(--ease);
}
.footer-bottom a:hover { color: var(--bg); }

/* --- Responsive --- */
@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ============================================================
   ARTWORKS INDEX PAGE
   ============================================================ */
.artworks-index-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

/* Last two cards: center them in the third row */
.artworks-index-card:nth-child(4) { grid-column: 1; }
.artworks-index-card:nth-child(5) { grid-column: 2; }

.artworks-index-card {
  display: block;
  text-decoration: none;
  transition: transform var(--ease);
}
.artworks-index-card:hover { transform: translateY(-5px); }

.artworks-index-img {
  aspect-ratio: 1;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  background: linear-gradient(145deg, rgba(115,62,16,0.1), rgba(140,136,128,0.15));
}
.artworks-index-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.5s ease;
}
.artworks-index-card:hover .artworks-index-img img { transform: scale(1.04); }


.artworks-index-body .label-text { display: block; margin-bottom: 0.4rem; }
.artworks-index-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.65rem;
  line-height: 1.2;
}
.artworks-index-body p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
}

@media (max-width: 900px) {
  .artworks-index-grid { grid-template-columns: repeat(2, 1fr); }
  .artworks-index-card:nth-child(4),
  .artworks-index-card:nth-child(5) { grid-column: auto; }
}
@media (max-width: 540px) {
  .artworks-index-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   INNER PAGES — SHARED STYLES
   ============================================================ */

/* Page hero banner */
.page-hero {
  background: var(--text);
  padding: 5rem 2rem 4rem;
  text-align: center;
}
.page-hero-inner { max-width: var(--max-width); margin: 0 auto; }
.page-hero .label-text { color: var(--label); display: block; margin-bottom: 1rem; }
.page-hero h1 {
  color: var(--bg);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1rem;
}
.page-hero p {
  color: rgba(242,242,240,0.6);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Breadcrumb */
.breadcrumb {
  padding: 1rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  font-size: 0.8rem;
  color: var(--muted);
}
.breadcrumb a { color: var(--label); }
.breadcrumb a:hover { color: var(--link); }
.breadcrumb span { margin: 0 0.4rem; }

/* Exhibition grid on country index pages */
.exhibition-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.exhibition-card {
  display: block;
  text-decoration: none;
  transition: transform var(--ease);
}
.exhibition-card:hover { transform: translateY(-5px); }
.exhibition-card-cover {
  aspect-ratio: 3 / 4;
  background: linear-gradient(145deg, rgba(115,62,16,0.12), rgba(140,136,128,0.18));
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.exhibition-card-cover img { width: 100%; height: 100%; object-fit: cover; }
.exhibition-card-cover .img-placeholder {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--muted);
  text-align: center;
  padding: 1rem;
}
.exhibition-card-year {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--label);
  margin-bottom: 0.3rem;
}
.exhibition-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 0.3rem;
}
.exhibition-card-location {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Individual exhibition page */
.exhibition-featured-cover {
  width: 100%;
  max-width: 600px;
  margin: 0 auto 3rem;
  border-radius: 3px;
  overflow: visible;
  box-shadow: 0 12px 40px rgba(38,18,1,0.12);
  text-align: center;
}
.exhibition-featured-cover img { width: 100%; height: auto; display: block; object-fit: contain; }
.exhibition-featured-placeholder {
  aspect-ratio: 3 / 4;
  background: linear-gradient(145deg, rgba(115,62,16,0.1), rgba(140,136,128,0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--muted);
}

.exhibition-meta {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.exhibition-meta-item { }
.exhibition-meta-item .meta-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--label);
  display: block;
  margin-bottom: 0.2rem;
}
.exhibition-meta-item .meta-value {
  font-size: 0.95rem;
  color: var(--text);
}

.exhibition-essay {
  max-width: 100%;
  margin-bottom: 2.5rem;
}
.exhibition-essay .label-text { display: block; margin-bottom: 0.75rem; }
.exhibition-essay h2.essay-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 400;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 1.75rem;
  font-style: italic;
}
.exhibition-essay p { color: var(--text); margin-bottom: 1.25rem; font-size: 1.05rem; line-height: 1.8; }

.also-shown-note {
  max-width: 720px;
  margin-bottom: 3rem;
  font-size: 0.88rem;
  color: var(--muted);
  padding: 0.75rem 1rem;
  border-left: 2px solid var(--border);
}

/* Artwork grid within exhibition page */
.exhibition-single-artwork {
  max-width: 600px;
  margin: 0 auto 3rem;
  text-align: center;
}
.exhibition-single-artwork img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 8px 32px rgba(38,18,1,0.12);
}
.exhibition-single-caption {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 0.75rem;
}

.exhibition-artworks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.exhibition-artwork-item {
  border-radius: 2px;
  overflow: hidden;
}
.exhibition-artwork-item .artwork-img {
  aspect-ratio: 1;
  background: linear-gradient(145deg, rgba(115,62,16,0.1), rgba(140,136,128,0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.exhibition-artwork-item .artwork-img img { width: 100%; height: 100%; object-fit: cover; }
.exhibition-artwork-item .artwork-title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.exhibition-artwork-item .artwork-desc {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Next / Previous navigation */
.exhibition-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  margin-top: 4rem;
  gap: 1rem;
}
.exhibition-nav a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--label);
  transition: color var(--ease), gap var(--ease);
}
.exhibition-nav a:hover { color: var(--link); gap: 0.9rem; }
.exhibition-nav .nav-prev::before { content: '←'; }
.exhibition-nav .nav-next::after  { content: '→'; }
.exhibition-nav .nav-back {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.exhibition-nav .nav-back:hover { color: var(--text); }

/* Artworks page grid */
.artworks-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.artworks-page-item {
  display: block;
  text-decoration: none;
  transition: transform var(--ease);
}
.artworks-page-item:hover { transform: translateY(-4px); }
.artworks-page-item .item-img {
  aspect-ratio: 1;
  background: linear-gradient(145deg, rgba(115,62,16,0.1), rgba(140,136,128,0.15));
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}
.artworks-page-item .item-img img { width: 100%; height: 100%; object-fit: cover; }
.artworks-page-item .item-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 0.2rem;
}
.artworks-page-item .item-year {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ============================================================
   DIGITAL ART PAGE
   ============================================================ */

/* Featured image */
.featured-artwork {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 4rem;
  text-align: center;
}
.featured-artwork img {
  width: 100%;
  border-radius: 3px;
  display: block;
}
.featured-artwork-placeholder {
  aspect-ratio: 16 / 9;
  background: linear-gradient(145deg, rgba(115,62,16,0.1), rgba(140,136,128,0.15));
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.featured-artwork figcaption {
  font-size: 0.82rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 0.6rem;
}

/* Masonry salon gallery */
.masonry-gallery {
  columns: 3;
  column-gap: 1rem;
}
.masonry-gallery a {
  display: block;
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: 2px;
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
}
.masonry-gallery a img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease, opacity 0.3s ease;
}
.masonry-gallery a:hover img { transform: scale(1.03); opacity: 0.92; }

/* ============================================================
   Sticker Art — Hero with slideshow
   ============================================================ */
.sticker-hero {
  background-color: var(--bg);
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--border);
}
.sticker-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Slideshow */
.sticker-slideshow {
  position: relative;
}
.sticker-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 2px;
  background-color: var(--bg);
}
.sticker-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.sticker-slide.active {
  opacity: 1;
}
.sticker-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}
.sticker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
  transition: background var(--ease), transform var(--ease);
}
.sticker-dot.active {
  background: var(--label);
  transform: scale(1.3);
}
.sticker-dot:hover {
  background: var(--muted);
}

/* Hero text */
.sticker-hero-text .label-text {
  display: block;
  margin-bottom: 0.75rem;
}
.sticker-hero-text h1 {
  margin-bottom: 1.5rem;
}
.sticker-hero-text p {
  margin-bottom: 1.1rem;
}
.sticker-hero-text p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   Sticker Wall Gallery
   ============================================================ */
.sticker-wall {
  display: block;
  position: relative;
  min-height: 800px; /* JS sets this accurately after layout */
  padding: 0;
  background: #1a0f05;
  border-radius: 4px;
  margin-bottom: 4rem;
  overflow: hidden;
}

/* All sticker items — absolutely placed by JS */
.sticker-item {
  display: block;
  position: absolute;
  cursor: zoom-in;
  will-change: transform;
  transition: transform 0.25s ease, filter 0.25s ease;
  filter: drop-shadow(1px 3px 8px rgba(0,0,0,0.7));
}

.sticker-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.sticker-item:hover {
  filter: drop-shadow(2px 6px 14px rgba(0,0,0,0.9)) brightness(1.1);
}

/* Sticker Art intro text (standalone, below hero) */
.sticker-intro {
  max-width: 780px;
  margin-bottom: 4rem;
}
.sticker-intro p {
  margin-bottom: 1.25rem;
}
.sticker-intro p:last-child {
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .sticker-hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}
@media (max-width: 540px) {
  .sticker-hero {
    padding: 2rem 0;
  }
}

/* Masonry placeholder tiles */
.masonry-placeholder {
  background: linear-gradient(145deg, rgba(115,62,16,0.1), rgba(140,136,128,0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--muted);
  border-radius: 2px;
}

/* Large Prints section heading */
.digital-section-heading {
  margin-top: 4rem;
  margin-bottom: 2rem;
}

/* Large Prints gallery */
.large-prints-gallery {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.large-print-item {
  display: block;
  text-decoration: none;
  cursor: zoom-in;
  border-radius: 2px;
  overflow: hidden;
}
.large-print-item img {
  width: 100%;
  display: block;
  transition: opacity 0.3s ease;
}
.large-print-item:hover img { opacity: 0.92; }
.large-print-placeholder {
  aspect-ratio: 3 / 1;
  background: linear-gradient(145deg, rgba(115,62,16,0.08), rgba(140,136,128,0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--muted);
}
.large-print-caption {
  font-size: 0.8rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 0.5rem;
  padding: 0 0.25rem;
}

/* ============================================================
   INDIGENOUS INKS — MUTATIONS HERO
   ============================================================ */
.mutations-hero {
  background: var(--text);
  padding: 6rem 2rem;
  margin-bottom: 0;
}
.mutations-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.mutations-hero h2 {
  color: var(--bg);
  font-size: clamp(2.5rem, 4vw, 4rem);
  margin-bottom: 1rem;
}
.mutations-hero .mutations-year {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--label);
  display: block;
  margin-bottom: 1rem;
}
.mutations-hero p { color: rgba(242,242,240,0.65); font-size: 1.05rem; }
.mutations-hero-image {
  aspect-ratio: 4 / 5;
  background: linear-gradient(145deg, rgba(115,62,16,0.25), rgba(140,136,128,0.2));
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mutations-hero-image img { width: 100%; height: 100%; object-fit: cover; }
.mutations-hero-image-placeholder {
  font-family: var(--font-display);
  font-size: 1rem;
  color: rgba(242,242,240,0.5);
  text-align: center;
  padding: 2rem;
}

/* ============================================================
   SOUND ART PAGE
   ============================================================ */
.sound-section {
  border-bottom: 1px solid var(--border);
}
.sound-section:nth-child(even) {
  background: rgba(115,62,16,0.03);
}
.sound-section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem 2rem;
}
.sound-content .label-text { display: block; margin-bottom: 1rem; }
.sound-content h2 { margin-bottom: 1.5rem; }
.sound-content p { margin-bottom: 1.25rem; }
.sound-image {
  border-radius: 3px;
  overflow: hidden;
  align-self: start;
}
.sound-image img { width: 100%; height: auto; display: block; }
.sound-image video { width: 100%; height: auto; display: block; }
.sound-image-placeholder {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--muted);
  text-align: center;
  padding: 2rem;
}

/* ============================================================
   SOCIAL SCULPTURE PAGE
   ============================================================ */
.text-image-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 5rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.text-image-row.reverse { direction: rtl; }
.text-image-row.reverse > * { direction: ltr; }

.text-image-content .label-text { display: block; margin-bottom: 1rem; }
.text-image-content h2 { margin-bottom: 1.5rem; }
.text-image-content p { margin-bottom: 1.25rem; }

.text-image-visual {
  border-radius: 3px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(115,62,16,0.1), rgba(140,136,128,0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}
.text-image-visual img { width: 100%; display: block; }
.text-image-visual-placeholder {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--muted);
  text-align: center;
  padding: 2rem;
}

/* Projects stacked gallery */
.projects-gallery {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}
.project-block {
  padding: 3.5rem 0;
  border-top: 1px solid var(--border);
}
.project-block:last-child { border-bottom: 1px solid var(--border); }
.project-block-header { margin-bottom: 1.5rem; }
.project-block-header .label-text { display: block; margin-bottom: 0.5rem; }
.project-block-header h3 { font-size: clamp(1.3rem, 2vw, 1.9rem); margin: 0; }
.project-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.project-img-main {
  grid-row: span 2;
  overflow: hidden;
}
.project-img-side { overflow: hidden; }
.project-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.project-block-text p { line-height: 1.75; color: var(--text); }

/* ============================================================
   CV List (About page and Publications index)
   ============================================================ */
.cv-section {
  background: var(--bg);
  padding: 6rem 2rem;
}
.cv-section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.cv-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 3.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.cv-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.cv-header p { font-size: 0.9rem; color: var(--muted); }
.cv-category { margin-bottom: 2.5rem; }
.cv-category h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--label);
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}
.cv-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.cv-list li {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.65;
  padding-left: 0;
}
.cv-year {
  display: inline-block;
  min-width: 3.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--label);
  margin-right: 0.5rem;
}

/* ============================================================
   Publications Index Page -- Hero Cards
   ============================================================ */
.pub-hero-card {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 288px 1fr;
  gap: 4rem;
  align-items: start;
  border-bottom: 1px solid var(--border);
}
.pub-hero-card.reverse {
  grid-template-columns: 1fr 288px;
}
.pub-hero-card--40-60 {
  grid-template-columns: 35% 65%;
}
.pub-hero-card--40-60.reverse {
  grid-template-columns: 55% 45%;
}
.pub-hero-card--40-60 .pub-hero-cover {
  width: 100%;
  max-width: none;
  align-items: center;
  justify-content: center;
}
.pub-hero-card--40-60 .pub-hero-cover img {
  width: 100%;
  max-width: 100%;
  height: auto;
}
.pub-hero-card.reverse .pub-hero-cover { order: 2; }
.pub-hero-card.reverse .pub-hero-content { order: 1; }
.pub-hero-cover {
  width: 288px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.pub-hero-cover img { width: 100%; height: auto; max-width: 288px; display: block; border-radius: 2px; box-shadow: 0 12px 40px rgba(38,18,1,0.14); }
.pub-hero-cover-placeholder {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
  padding: 1rem;
}
.pub-hero-content .label-text { display: block; margin-bottom: 0.75rem; }
.pub-hero-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.pub-hero-content p {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 1.75rem;
  max-width: 560px;
}

/* ============================================================
   Publications Detail Pages -- Item List
   ============================================================ */
.pub-items-list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
.pub-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3rem;
  align-items: start;
}
.pub-item-cover {
  width: 200px;
  aspect-ratio: 3 / 4;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(38,18,1,0.14);
  background: linear-gradient(145deg, rgba(115,62,16,0.1), rgba(140,136,128,0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pub-item-cover img { width: 100%; height: 100%; object-fit: cover; }
.pub-item-cover-placeholder {
  font-family: var(--font-display);
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
  padding: 1rem;
}
.pub-item-details { padding-top: 0.25rem; }
.pub-item-details .label-text { display: block; margin-bottom: 0.6rem; }
.pub-item-details h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  font-weight: 400;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 0.6rem;
}
.pub-item-details h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 0.4rem;
}
.pub-meta {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.pub-item-details p {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}
.pub-item--article {
  grid-template-columns: 1fr;
  border-left: 2px solid var(--border);
  padding-left: 1.5rem;
  gap: 0;
}
.pub-divider {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.pub-divider .label-text { display: block; }
.pub-series-intro {
  max-width: 700px;
  margin-bottom: 3.5rem;
  padding: 1.5rem 2rem;
  background: rgba(115, 62, 16, 0.05);
  border-left: 3px solid var(--label);
  border-radius: 0 3px 3px 0;
}
.pub-series-intro .label-text { display: block; margin-bottom: 0.75rem; }
.pub-series-intro p { font-size: 0.95rem; line-height: 1.75; color: var(--text); }

/* Responsive */
@media (max-width: 720px) {
  .pub-hero-card,
  .pub-hero-card.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .pub-hero-card.reverse .pub-hero-cover { order: 0; }
  .pub-hero-card.reverse .pub-hero-content { order: 0; }
  .pub-hero-cover { width: 140px; }
  .pub-item { grid-template-columns: 1fr; gap: 1.5rem; }
  .pub-item-cover { width: 140px; }
  .cv-header { flex-direction: column; gap: 1.25rem; }
}

/* ============================================================
   Globalocational Art -- Featured Book Page
   ============================================================ */
.book-featured-wrap {
  background: var(--bg);
  padding: 4rem 2rem 2rem;
  text-align: center;
}
.book-featured-inner {
  max-width: 480px;
  margin: 0 auto;
}
.book-featured-cover {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(38,18,1,0.18);
  display: block;
  margin: 0 auto 1.5rem;
}
.book-featured-meta {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.03em;
  line-height: 1.6;
}
.book-essay-section { padding-top: 3rem; }
.book-essay-inner { max-width: 720px; }
.book-essay .label-text { display: block; margin-bottom: 0.5rem; }
.book-essay h2.essay-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 0.5rem;
}
.essay-byline {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 2rem;
}
.book-essay p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 1.4rem;
}

/* ============================================================
   Children's Books -- Card Grid Layout
   ============================================================ */
.childrens-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem 3rem;
}
.childrens-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.childrens-cover {
  width: 100%;
  /* No fixed height or aspect-ratio — image shows in full at natural proportions */
}
.childrens-cover img {
  width: 100%
/* ═══════════════════════════════════════════════════════════════════
   ABOUT PAGE
═══════════════════════════════════════════════════════════════════ */

/* Hero — matches sticker-hero style */
.about-hero {
  background: var(--bg);
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--border);
}
.about-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-hero-image img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  object-position: center top;
  display: block;
  border-radius: 2px;
}
.about-hero-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.about-hero-name-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.about-hero-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
}
.about-hero-name {
  color: var(--text);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 0.3rem;
}
.about-hero-sub {
  color: var(--label);
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.about-hero-role-group {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}
.about-hero-seal {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.about-hero-role-group p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}
.about-hero-contact .label-text {
  display: block;
  margin-bottom: 0.75rem;
}
.about-hero-contact ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.about-hero-contact ul a {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color var(--ease);
}
.about-hero-contact ul a:hover { color: var(--text); }

/* Bio & Statement sections */
.about-section {
  padding: 5rem 2rem;
}
.about-section + .about-section {
  padding-top: 0;
}
.about-section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  max-width: 860px;
}
.about-section .label-text {
  display: block;
  margin-bottom: 1rem;
}
.about-section h2 {
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}
.about-section p {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 1.25rem;
}
.about-section p:last-child { margin-bottom: 0; }

/* About buttons row */
.about-actions {
  padding: 0 2rem 5rem;
}
.about-actions-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  max-width: 860px;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
  .about-hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-hero-image img {
    max-height: 420px;
    width: 100%;
  }
}

/* ── Recent Exhibitions (About page) ───────────────────────────── */
.recent-ex-year {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.recent-ex-year:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
}
.recent-ex-year-label {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--label);
  padding-top: 0.15rem;
  line-height: 1;
}
.recent-ex-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.recent-ex-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.recent-ex-item strong {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.recent-ex-item span {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}
@media (max-width: 540px) {
  .recent-ex-year {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

/* ── GLightbox — global label styling (dark bg, light text) ─────── */
.glightbox-container .gslide-description {
  background: #1a0a02;
  box-shadow: none;
}
.glightbox-container .gdesc-inner {
  background: #1a0a02;
  padding: 0.85rem 1.25rem;
}
.glightbox-container .gslide-title {
  color: #e8e4df;
  font-family: inherit;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}
.glightbox-container .gslide-desc {
  color: #9a9590;
  font-size: 0.85rem;
}

/* ── Gallery captions (Digital Art, Indigenous Inks, Mutations) ─── */
.masonry-caption {
  display: block;
  padding: 0.5rem 0.25rem 0.75rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: #261201;
  font-style: italic;
}
.masonry-item {
  display: block;
  break-inside: avoid;
  margin-bottom: 0.25rem;
  border-radius: 2px;
  overflow: visible;
  cursor: zoom-in;
  text-decoration: none;
}
.artwork-hero-caption {
  display: block;
  margin-top: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: #261201;
  font-style: italic;
  text-align: center;
}
.artwork-hero-link {
  display: block;
  text-decoration: none;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1.25rem; }
.contact-info > p { margin-bottom: 2rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-detail .label-text { display: block; margin-bottom: 0.25rem; }
.contact-detail p { margin: 0; color: var(--text); }
.contact-detail a { color: var(--label); }
.contact-detail a:hover { color: var(--link); }

.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 2px;
  outline: none;
  transition: border-color var(--ease);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--label);
}
.form-group textarea { resize: vertical; min-height: 140px; }

/* ============================================================
   MOBILE RESPONSIVENESS — Global fixes
   ============================================================ */

/* ── Navigation (mobile hamburger) ─────────────────────────── */
@media (max-width: 768px) {
  .nav-toggle { display: flex; align-items: center; }

  .nav-menu {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 2px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0 1rem;
    box-shadow: 0 8px 24px rgba(38,18,1,0.08);
    z-index: 999;
  }
  .nav-menu.is-open { display: flex; }

  .nav-menu > li > a {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    border-bottom: 1px solid rgba(38,18,1,0.06);
  }

  .nav-cta {
    margin: 0.75rem 2rem 0 !important;
    display: block;
    text-align: center;
    padding: 0.6rem 1rem !important;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: none;
    min-width: 0;
    background: rgba(38,18,1,0.04);
    display: none;
  }
  .dropdown.is-open { display: block; }
  .dropdown li a { padding-left: 3rem; }

  header { position: sticky; }
}

/* ── Home Hero ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  /* .hero is now display:block (full-bleed); grid lives on .hero-inner */
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3rem 1.5rem;
    min-height: auto;
  }
  .hero-image { height: 380px; }
  .hero-content p { max-width: 100%; }
}

/* ── Home — Featured Artworks grid (repeat 5) ───────────────── */
@media (max-width: 900px) {
  .artwork-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .artwork-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Home — Countries grid (repeat 4) ──────────────────────── */
@media (max-width: 900px) {
  .countries-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .countries-grid { grid-template-columns: 1fr; }
}

/* ── Home — Publications grid (repeat 3) ───────────────────── */
@media (max-width: 768px) {
  .publications-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .publications-grid { grid-template-columns: 1fr; }
}

/* ── Home — About section grid ──────────────────────────────── */
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
}

/* ── Exhibition country pages — Exhibition grid (repeat 3) ──── */
@media (max-width: 768px) {
  .exhibition-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .exhibition-grid { grid-template-columns: 1fr; }
}

/* ── Individual Exhibition — Artworks grid ──────────────────── */
@media (max-width: 768px) {
  .exhibition-artworks-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .exhibition-artworks-grid { grid-template-columns: 1fr; }
}

/* ── Artworks page grid (repeat 3) ─────────────────────────── */
@media (max-width: 768px) {
  .artworks-page-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .artworks-page-grid { grid-template-columns: 1fr; }
}

/* ── Masonry Gallery (columns: 3) ───────────────────────────── */
@media (max-width: 768px) {
  .masonry-gallery { columns: 2; }
}
@media (max-width: 480px) {
  .masonry-gallery { columns: 1; }
}

/* ── Social Sculpture — text-image rows ─────────────────────── */
@media (max-width: 768px) {
  .text-image-row {
    grid-template-columns: 1fr;
  }
  /* Bring the image above the text in reversed rows on mobile */
  .text-image-row.reverse .text-image-visual { order: -1; }
}

/* ── Sound Art / Social Sculpture — project rows ────────────── */
@media (max-width: 768px) {
  .sound-section-inner { grid-template-columns: 1fr; gap: 2.5rem; padding: 3rem 1.5rem; }
  .projects-gallery { padding: 0 1.25rem; }
  .project-images { grid-template-columns: 1fr; grid-template-rows: 240px 180px 180px; }
  .project-img-main { grid-row: span 1; }
}

/* ── Publications — pub-hero-card--40-60 mobile ─────────────── */
@media (max-width: 720px) {
  .pub-hero-card--40-60,
  .pub-hero-card--40-60.reverse {
    grid-template-columns: 1fr;
  }
  .pub-hero-card--40-60 .pub-hero-cover,
  .pub-hero-card--40-60.reverse .pub-hero-cover {
    width: 200px;
    margin: 0 auto;
    order: 0;
  }
  .pub-hero-card--40-60 .pub-hero-content,
  .pub-hero-card--40-60.reverse .pub-hero-content {
    order: 0;
  }
}

/* ── Children's Books grid ──────────────────────────────────── */
@media (max-width: 540px) {
  .childrens-grid { grid-template-columns: 1fr; }
}

/* ── Mutations hero ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .mutations-page-hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ── Page hero text sizing ──────────────────────────────────── */
@media (max-width: 480px) {
  .page-hero { padding: 3rem 1.5rem 2.5rem; }
  .page-hero h1 { font-size: clamp(1.8rem, 7vw, 3rem); }
}

/* ── Section inner padding on small screens ─────────────────── */
@media (max-width: 480px) {
  .section-inner { padding: 0 1.25rem; }
  .section { padding: 3rem 0; }
}

/* ── Exhibition meta wrap on mobile ─────────────────────────── */
@media (max-width: 480px) {
  .exhibition-meta { gap: 1rem; }
  .exhibition-featured-cover { max-width: 100%; }
}

/* ── Breadcrumb overflow ─────────────────────────────────────── */
@media (max-width: 480px) {
  .breadcrumb {
    font-size: 0.75rem;
    padding: 0.6rem 1.25rem;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* ── Exhibition nav links ───────────────────────────────────── */
@media (max-width: 600px) {
  .exhibition-nav {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

/* ── About page — archive section text ─────────────────────── */
@media (max-width: 480px) {
  .about-bio-inner { gap: 2rem; }
}

/* ── Sticker wall grid on very small screens ────────────────── */
@media (max-width: 400px) {
  .sticker-wall { columns: 2; }
}

/* ── Contact page ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}
