:root {
  --paper: #f3f0e8;
  --ink: #171717;
  --muted: #62605a;
  --line: #d3c7b6;
  --white: #fffaf1;
  --sage: #536b55;
  --clay: #c65332;
  --blue: #255f7a;
  --gold: #d6a13b;
  --shadow: 0 28px 70px rgba(23, 23, 23, 0.2);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(23, 23, 23, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, #fff8ea 0%, var(--paper) 46%, #e8e2d6 100%);
  background-size: 56px 56px, auto;
  color: var(--ink);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 10px clamp(18px, 5vw, 64px);
  background: rgba(28, 24, 21, 0.96);
  color: var(--white);
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 10px 30px rgba(23, 23, 23, 0.16);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  background: var(--gold);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: 50%;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(255, 250, 241, 0.72);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--gold);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(255, 250, 241, 0.26);
  background: rgba(255, 250, 241, 0.1);
  border-radius: 50%;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
}

main {
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
}

body:has(.home-hero) main > section {
  position: relative;
  isolation: isolate;
}

body:has(.home-hero) main > section::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  border-block: 1px solid rgba(23, 23, 23, 0.08);
}

body:has(.home-hero) .home-hero::before,
body:has(.home-hero) .exhibitions-section::before {
  background: rgba(255, 250, 241, 0.52);
}

body:has(.home-hero) .artist-section::before,
body:has(.home-hero) .preview-section::before {
  background: rgba(232, 226, 214, 0.62);
}

body:has(.gallery-hero) main > section,
body:has(.journey-hero) main > section,
body:has(.contact-layout) main > section,
body:has(.expositions-hero) main > section {
  position: relative;
  isolation: isolate;
}

body:has(.gallery-hero) main > section::before,
body:has(.journey-hero) main > section::before,
body:has(.contact-layout) main > section::before,
body:has(.expositions-hero) main > section::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  border-block: 1px solid rgba(23, 23, 23, 0.08);
}

body:has(.gallery-hero) main > section:nth-child(odd)::before,
body:has(.journey-hero) main > section:nth-child(odd)::before,
body:has(.contact-layout) main > section:nth-child(odd)::before,
body:has(.expositions-hero) main > section:nth-child(odd)::before {
  background: rgba(255, 250, 241, 0.52);
}

body:has(.gallery-hero) main > section:nth-child(even)::before,
body:has(.journey-hero) main > section:nth-child(even)::before,
body:has(.contact-layout) main > section:nth-child(even)::before,
body:has(.expositions-hero) main > section:nth-child(even)::before {
  background: rgba(232, 226, 214, 0.62);
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(390px, 1.14fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  min-height: auto;
  padding: 46px 0 54px;
}

@media (min-width: 1600px) {
  .home-hero {
    grid-template-columns: minmax(0, 0.96fr) minmax(390px, 1.04fr);
  }
}

.hero-copy,
.page-intro {
  max-width: 680px;
}

.kicker {
  margin: 0 0 10px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

p {
  text-align: justify;
  text-justify: inter-word; /* Gère l'espacement entre les mots proprement */
}

h1,
h2 {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.02;
}

h1 {
  max-width: 8ch;
  font-size: clamp(3.4rem, 8vw, 7.4rem);
}

.artist-title {
  max-width: none;
}

.artist-title span {
  display: block;
  white-space: nowrap;
}

.page-title {
  max-width: none;
  font-size: clamp(3.4rem, 7vw, 6.7rem);
  line-height: 0.98;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
}

.hero-copy p:not(.kicker),
.page-intro p,
.contact-layout p,
.artist-text p {
  color: var(--muted);
  font-size: 1.05rem;
}

.artist-affiliations {
  display: grid;
  gap: 8px;
  max-width: 520px;
  margin-top: 16px;
}

.affiliation-link {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 8px 12px;
  background: rgba(237, 232, 224, 0.62);
  border: 1px solid rgba(23, 23, 23, 0.14);
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.affiliation-link:hover,
.affiliation-link:focus-visible {
  background: rgba(250, 230, 154, 0.34);
  border-color: rgba(214, 161, 59, 0.62);
  box-shadow: 0 12px 28px rgba(23, 23, 23, 0.09);
}

.affiliation-link img {
  width: 48px;
  max-height: 42px;
  object-fit: contain;
}

.affiliation-link .affiliation-logo-maf {
  width: 70px;
  max-height: 50px;
  margin-left: 0px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  background: var(--ink);
  color: var(--white);
  /* box-shadow: 8px 8px 0 var(--gold); */
}

.button.secondary {
  background: rgba(255, 250, 241, 0.72);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.compact-button {
  min-height: 42px;
  padding-inline: 16px;
  white-space: nowrap;
}

.carousel-frame {
  position: relative;
  overflow: hidden;
  height: 500px;
  min-height: 500px;
  background: var(--white);
  border: 1px solid rgba(23, 23, 23, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.carousel-frame.wide {
  height: 480px;
  min-height: 480px;
}

.carousel-frame:hover,
.carousel-frame:focus-within {
  border-color: rgba(214, 161, 59, 0.58);
  box-shadow:
    0 0 0 4px rgba(250, 230, 154, 0.32),
    var(--shadow);
}

.carousel-stage {
  height: 100%;
}

.carousel-slide {
  position: relative;
  height: 100%;
  min-height: inherit;
}

.carousel-image-button {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  transition: transform 220ms ease;
}

.carousel-image-button:hover img,
.carousel-image-button:focus-visible img {
  transform: scale(1.018);
}

.wide .carousel-slide img {
  min-height: 480px;
}

.carousel-copy {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 24px;
  left: 24px;
  padding: 18px;
  background: rgba(23, 23, 23, 0.55);
  color: var(--white);
  border: 1px solid rgba(255, 250, 241, 0.35);
  border-radius: 8px;
  /* backdrop-filter: blur(8px); */
}

.carousel-copy span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.carousel-copy strong {
  display: block;
  margin-top: 4px;
  font-family: Arial, sans-serif;
  font-size: 1.8rem;
  line-height: 1.05;
}

.carousel-copy p {
  margin: 8px 0 0;
  color: rgba(255, 250, 241, 0.78);
}

.carousel-button,
.lightbox-arrow,
.lightbox-close {
  display: grid;
  place-items: center;
  border: 0;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.carousel-button:hover {
  background: var(--white);
  color: var(--ink);
  transform: translateY(-50%) scale(1.04);
}

.lightbox-arrow:hover,
.lightbox-close:hover {
  background: var(--clay);
  transform: scale(1.04);
}

.lightbox-close:hover {
  background: var(--gold);
  color: var(--ink);
}

.carousel-button {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 42px;
  height: 42px;
  padding: 0;
  background: var(--gold);
  color: var(--ink);
  border-radius: 50%;
  font-size: 0;
  line-height: 0;
  transform: translateY(-50%);
}

.carousel-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 11px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.carousel-button.previous {
  left: 16px;
}

.carousel-button.previous::before {
  transform: translate(-38%, -50%) rotate(-135deg);
}

.carousel-button.next {
  right: 16px;
}

.carousel-button.next::before {
  transform: translate(-62%, -50%) rotate(45deg);
}

.carousel-dots {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid var(--ink);
  background: var(--white);
  border-radius: 50%;
  cursor: pointer;
}

.carousel-dots button.is-active {
  background: var(--ink);
}

.artist-section,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: 64px 0;
  border-top: 2px solid rgba(23, 23, 23, 0.14);
}

.artist-portrait {
  overflow: hidden;
  justify-self: start;
  width: min(100%, 360px);
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 42px rgba(23, 23, 23, 0.12);
}

.artist-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% center;
}

.preview-section,
.exhibitions-section {
  padding: 58px 0;
  border-top: 2px solid rgba(23, 23, 23, 0.14);
}

.exhibitions-section {
  padding: 46px 0;
}

.exhibitions-section .section-heading {
  margin-bottom: 14px;
}

.exhibitions-section h2 {
  font-size: clamp(2rem, 4.2vw, 3.8rem);
}

.artist-section h2,
.preview-section h2 {
  font-size: clamp(2rem, 4.2vw, 3.8rem);
}

.exhibition-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.exhibition-card {
  position: relative;
  display: block;
  min-height: 150px;
  padding: 16px 16px 14px;
  background: rgba(255, 250, 241, 0.86);
  color: var(--ink);
  border: 1px solid rgba(23, 23, 23, 0.18);
  border-left: 5px solid var(--ink);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(23, 23, 23, 0.12);
}

.exhibition-card.is-archive {
  border-left-color: var(--gold);
}

.exhibition-date {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  width: 86px;
  min-height: 64px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--white);
  border: 1px solid rgba(23, 23, 23, 0.18);
  border-radius: 6px;
  text-align: center;
  box-shadow: 5px 5px 0 var(--gold);
}

.exhibition-date span {
  color: var(--gold);
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
}

.exhibition-date-line {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  line-height: 1.05;
}

.exhibition-date-line strong {
  color: var(--white);
}

.exhibition-date-line span {
  color: var(--gold);
}

.exhibition-date-separator {
  margin: 1px 0;
  color: rgba(255, 250, 241, 0.58);
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 1;
  text-transform: none;
}

.exhibition-date strong {
  font-family: Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.exhibition-date-year {
  margin-top: 4px;
  color: rgba(255, 250, 241, 0.72);
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1;
}

.exhibition-content {
  padding-right: 98px;
}

.exhibition-content .kicker {
  margin-bottom: 8px;
  font-size: 0.68rem;
}

.exhibition-content h3 {
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: clamp(1.25rem, 1.8vw, 1.7rem);
  line-height: 1.04;
}

.exhibition-content p:not(.kicker) {
  margin: 7px 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.exhibition-content small {
  display: block;
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 700;
}

.text-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--gold);
  font-weight: 800;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.page-intro {
  padding: 72px 0 34px;
}

.expositions-hero {
  padding: 64px 0 42px;
  border-bottom: 2px solid rgba(23, 23, 23, 0.14);
}

.expositions-hero .page-intro {
  max-width: 760px;
  padding: 0;
}

.expositions-page-section {
  padding: 52px 0;
  border-bottom: 2px solid rgba(23, 23, 23, 0.14);
}

.expositions-page-section:last-child {
  border-bottom: 0;
}

.expositions-page-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.expositions-page-list .exhibition-card {
  min-height: 170px;
}

.archive-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.archive-accordion {
  display: grid;
  gap: 14px;
}

.archive-year {
  background: rgba(255, 250, 241, 0.72);
  border: 1px solid rgba(23, 23, 23, 0.16);
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(23, 23, 23, 0.1);
}

.archive-year summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
}

.archive-year summary::-webkit-details-marker {
  display: none;
}

.archive-year summary::after {
  content: "+";
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  background: var(--ink);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1;
}

.archive-year[open] summary::after {
  content: "-";
  background: var(--gold);
  color: var(--ink);
}

.archive-year summary span {
  color: var(--ink);
  font-size: clamp(1.45rem, 2.4vw, 2.25rem);
  font-weight: 900;
  line-height: 1;
}

.archive-year summary small {
  margin-left: auto;
  color: var(--muted);
  font-weight: 800;
}

.archive-year .exhibition-list {
  padding: 0 18px 18px;
}

.gallery-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.82fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  padding: 56px 0;
  border-bottom: 2px solid rgba(23, 23, 23, 0.14);
}

.gallery-hero .page-intro {
  padding: 0;
}

.gallery-hero-carousel {
  height: 300px;
  min-height: 300px;
}

.gallery-hero-carousel .carousel-slide img {
  min-height: 300px;
}

.gallery-hero-carousel .carousel-copy {
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 12px;
}

.gallery-hero-carousel .carousel-copy strong {
  font-size: 1.25rem;
}

.gallery-hero-carousel .carousel-copy p {
  font-size: 0.82rem;
}

.gallery-toolbar {
  display: grid;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 2px solid rgba(23, 23, 23, 0.14);
}

.gallery-toolbar-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: center;
  min-width: 0;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tab {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font-weight: 700;
}

.filter-tab.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.availability-filter,
.gallery-search-control,
.gallery-sort-control {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 800;
}

.availability-filter,
.gallery-search-control {
  grid-template-columns: 96px minmax(0, 1fr);
}

.gallery-sort-control {
  grid-template-columns: auto 170px;
  white-space: nowrap;
}

.availability-filter select,
.gallery-search-control input,
.gallery-sort-control select {
  min-height: 40px;
  padding: 0 38px 0 14px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
}

.availability-filter select,
.gallery-sort-control select {
  min-width: 210px;
  border-radius: 999px;
  cursor: pointer;
}

.gallery-sort-control select {
  min-width: 0;
  width: 170px;
}

.gallery-search-control input {
  width: 100%;
  padding-right: 14px;
  border-radius: 8px;
}

.availability-filter select {
  width: 100%;
}

.title-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  white-space: nowrap;
}

.gallery-display-options {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: flex-start;
}

.art-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 15px;
  padding-bottom: 30px;
  padding-top: 30px;
}

.art-grid.compact {
  padding-bottom: 0;
}

.gallery-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 0 46px;
  color: var(--muted);
  font-weight: 700;
}

.gallery-pagination div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.gallery-pagination button,
.gallery-pagination div span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  color: var(--muted);
  font-weight: 800;
}

.gallery-pagination button {
  cursor: pointer;
}

.gallery-pagination button:hover,
.gallery-pagination button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.gallery-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.gallery-pagination button:disabled:hover {
  border-color: var(--line);
  background: var(--white);
  color: var(--muted);
}

.gallery-pagination div span {
  border-color: transparent;
  background: transparent;
}

.art-card {
  overflow: hidden;
  background: rgba(255, 250, 241, 0.84);
  border: 1px solid rgba(23, 23, 23, 0.16);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(23, 23, 23, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.art-card:hover {
  transform: translateY(-4px);
  border-color: rgba(214, 161, 59, 0.55);
  box-shadow:
    0 0 0 4px rgba(250, 230, 154, 0.48),
    0 24px 52px rgba(214, 161, 59, 0.32),
    0 18px 38px rgba(23, 23, 23, 0.14);
}

.art-card button {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
  text-align: left;
}

.art-image-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  line-height: 0;
}

.art-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 180ms ease;
}

.art-card button:hover img {
  transform: scale(1.025);
}

.art-status-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 6px 9px;
  background: #b5241f;
  border-radius: 999px;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.art-status-badge.is-sold {
  background: #b5241f;
}

.art-status-badge.is-private {
  background: #2f6f68;
}

.art-year-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 2;
  padding: 6px 9px;
  background: rgba(23, 23, 23, 0.58);
  border: 1px solid rgba(255, 250, 241, 0.28);
  border-radius: 999px;
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1;
  backdrop-filter: blur(6px);
}

.art-caption {
  display: grid;
  gap: 2px;
  padding: 16px;
  border-top: 1px solid rgba(23, 23, 23, 0.12);
}

.art-caption strong {
  font-family: Arial, sans-serif;
  font-size: 1rem;
}

.art-caption small {
  color: var(--muted);
  font-weight: 700;
}

.art-caption em {
  color: var(--muted);
  font-size: 0.82rem;
  font-style: normal;
  line-height: 1.35;
}

.hide-titles .art-caption {
  display: none;
}

.hide-titles .art-card {
  line-height: 0;
}

.hide-years .art-year-badge {
  display: none;
}

.contact-layout {
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1fr);
  max-width: none;
  min-height: calc(100svh - 126px);
  padding: 64px 0;
  border-top: 0;
}

.contact-visual {
  overflow: hidden;
  align-self: stretch;
  min-height: 540px;
  background: var(--white);
  border: 1px solid rgba(23, 23, 23, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.contact-content {
  max-width: 620px;
}

.contact-content h1 {
  max-width: 10ch;
}

.contact-content p {
  max-width: 560px;
}

.contact-panel {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  padding: 22px;
  background: rgba(255, 250, 241, 0.88);
  border: 1px solid rgba(23, 23, 23, 0.16);
  border-left: 5px solid var(--ink);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(23, 23, 23, 0.12);
  font-style: normal;
}

.contact-panel a,
.contact-panel span {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(23, 23, 23, 0.14);
  font-weight: 700;
}

.contact-panel :last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  padding: 22px;
  background: rgba(255, 250, 241, 0.88);
  border: 1px solid rgba(23, 23, 23, 0.28);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(23, 23, 23, 0.1);
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 6px;
}

.contact-form span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--ink);
  background: rgba(255, 253, 248, 0.9);
  border-radius: 0;
  color: var(--ink);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  min-height: 44px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  font-weight: 800;
}

.contact-form button:hover {
  background: var(--gold);
  color: var(--ink);
}

.contact-message {
  margin: 20px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(23, 23, 23, 0.16);
  border-radius: 8px;
  font-weight: 800;
  text-align: left;
}

.contact-message.is-success {
  background: rgba(83, 107, 85, 0.14);
  color: var(--sage);
}

.contact-message.is-error {
  background: rgba(198, 83, 50, 0.14);
  color: var(--clay);
}

.contact-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.journey-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.65fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: 64px 0;
  border-bottom: 2px solid rgba(23, 23, 23, 0.14);
}

.journey-hero-copy p:not(.kicker),
.journey-text p,
.journey-card p,
.journey-closing p {
  color: var(--muted);
  font-size: 1.02rem;
}

.journey-hero-image {
  overflow: hidden;
  justify-self: center;
  width: min(100%, 360px);
  aspect-ratio: 4 / 5;
  background: var(--white);
  border: 1px solid rgba(23, 23, 23, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.journey-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% center;
}

.journey-intro {
  display: grid;
  grid-template-columns: minmax(220px, 0.6fr) minmax(0, 1.4fr);
  gap: clamp(28px, 5vw, 72px);
  padding: 62px 0;
  border-bottom: 2px solid rgba(23, 23, 23, 0.14);
}

.journey-intro h2,
.journey-closing h2 {
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
}

.journey-text {
  display: grid;
  gap: 14px;
}

.journey-text p,
.journey-card p,
.journey-closing p {
  margin: 0;
}

.journey-timeline {
  display: grid;
  gap: 0;
}

.journey-step {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: clamp(20px, 4vw, 52px);
  padding: 46px 0;
  border-bottom: 1px solid rgba(23, 23, 23, 0.16);
}

.journey-year {
  color: var(--clay);
  font-weight: 900;
}

.journey-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(22px, 4vw, 46px);
  align-items: center;
}

.journey-card.reverse {
  grid-template-columns: minmax(0, 1.25fr) minmax(220px, 0.75fr);
}

.journey-card.reverse img {
  order: 2;
}

.journey-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--white);
  border: 1px solid rgba(23, 23, 23, 0.16);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(23, 23, 23, 0.12);
}

.journey-card h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4.2vw, 3.8rem);
}

.journey-card div {
  display: grid;
  gap: 12px;
}

.journey-closing {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  max-width: none;
  padding: 62px 0 76px;
}

.journey-closing .button {
  margin-top: 24px;
}

.journey-closing-text {
  align-self: center;
  max-width: 620px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  align-items: center;
  gap: 18px;
  padding: 28px;
  background: rgba(10, 10, 10, 0.91);
  backdrop-filter: blur(10px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox figure {
  margin: 0;
}

.lightbox img {
  width: 100%;
  max-height: 78svh;
  object-fit: contain;
}

.lightbox figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: center;
  margin-top: 16px;
  color: var(--white);
  text-align: center;
}

.lightbox figcaption span {
  color: #d8d0c3;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--gold);
  border-radius: 50%;
  color: var(--ink);
  font-size: 2rem;
  line-height: 1;
}

.lightbox-arrow {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  font-size: 2.3rem;
}

.no-scroll {
  overflow: hidden;
}

.notice {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: left;
  text-justify: auto;
}

.art-grid > .notice {
  grid-column: 1 / -1;
  margin: 0;
}

.legal-note {
  margin: 26px 0 0;
  padding: 14px 16px;
  background: rgba(255, 250, 241, 0.72);
  border: 1px solid rgba(23, 23, 23, 0.14);
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(180px, 0.75fr) minmax(280px, 1.4fr) minmax(220px, 0.85fr);
  grid-template-areas:
    "copy eco links"
    "copy rights links";
  align-items: center;
  gap: 18px 34px;
  padding: 28px clamp(18px, 5vw, 64px);
  background: rgba(28, 24, 21, 0.96);
  color: rgba(255, 250, 241, 0.74);
  border-top: 3px solid var(--gold);
}

.site-footer p {
  margin: 0;
  text-align: left;
}

.site-footer > p:first-child {
  grid-area: copy;
  align-self: center;
}

.site-footer p:nth-child(2),
.site-footer .copyright-note {
  justify-self: center;
  max-width: 620px;
  text-align: center;
}

.site-footer p:nth-child(2) {
  grid-area: eco;
}

.site-footer .copyright-note {
  grid-area: rights;
}

.site-footer nav {
  margin-top: 0;
  margin-bottom: 0;
}

.site-footer a {
  color: var(--white);
}

.copyright-note {
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: flex-end;
  grid-area: links;
  align-self: center;
}

.footer-links a + a {
  color: rgba(255, 250, 241, 0.74);
}

.admin-main {
  padding-bottom: 48px;
}

.admin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 26px 0 22px;
  border-bottom: 2px solid rgba(23, 23, 23, 0.14);
}

.admin-hero h1 {
  max-width: 11ch;
  font-size: clamp(2.6rem, 4.5vw, 4.6rem);
}

.admin-hero-copy p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.05rem;
}

.admin-hero .admin-status {
  grid-column: 1 / -1;
}

.admin-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
  padding: 0;
}

.admin-tab,
.admin-item-actions button,
.admin-item-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(23, 23, 23, 0.18);
  background: var(--white);
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
}

.admin-tab.is-active,
.admin-item-actions button:hover,
.admin-item-actions a:hover {
  background: var(--ink);
  color: var(--white);
}

.admin-panel {
  display: none;
}

.admin-panel.is-active {
  display: block;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 8px 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.admin-toolbar h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.admin-toolbar p {
  margin: 8px 0 0;
  color: var(--muted);
}

.admin-status {
  display: inline-flex;
  margin-top: 12px !important;
  padding: 7px 10px;
  background: rgba(83, 107, 85, 0.12);
  border: 1px solid rgba(83, 107, 85, 0.28);
  border-radius: 999px;
  color: var(--sage) !important;
  font-size: 0.82rem;
  font-weight: 800;
}

.admin-status.is-dirty {
  background: rgba(198, 83, 50, 0.12);
  border-color: rgba(198, 83, 50, 0.34);
  color: var(--clay) !important;
}

.admin-actions,
.admin-form-actions,
.admin-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-item-actions {
  justify-content: flex-end;
  min-width: 270px;
}

.admin-delete-form {
  display: grid;
  gap: 12px;
  justify-items: end;
}

.admin-item-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.admin-actions a,
.admin-form-actions a {
  text-decoration: none;
}

.admin-file-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  background: rgba(255, 250, 241, 0.72);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
}

.admin-file-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.admin-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
  margin-top: 20px;
}

.admin-filterbar {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
  margin-top: 0;
}

.admin-filter-panel {
  margin-bottom: 16px;
  padding: 14px;
  background: rgba(255, 250, 241, 0.42);
  border: 1px solid rgba(23, 23, 23, 0.12);
  border-radius: 8px;
}

.admin-filter-panel h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  line-height: 1.1;
}

.admin-filterbar label {
  display: grid;
  gap: 7px;
  min-width: min(260px, 100%);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-filterbar select,
.admin-filterbar input {
  padding: 11px 12px;
  border: 1px solid rgba(23, 23, 23, 0.2);
  background: var(--white);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
}

.admin-filterbar button,
.admin-filterbar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(23, 23, 23, 0.18);
  background: var(--ink);
  border-radius: 999px;
  color: var(--white);
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
}

.admin-filterbar a {
  background: var(--white);
  color: var(--muted);
}

.admin-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 20px;
  background: rgba(226, 218, 202, 0.92);
  border: 1px solid rgba(23, 23, 23, 0.22);
  border-left: 5px solid var(--ink);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(23, 23, 23, 0.13);
}

.admin-form > label,
.admin-form > .admin-field-grid,
.admin-form > .admin-choice-group,
.admin-form > .admin-form-actions,
.admin-form > .admin-check,
.admin-form > .admin-edit-preview,
.admin-form > .admin-upload-field {
  min-width: 0;
}

.admin-form > label,
.admin-form > .admin-field-grid,
.admin-form > .admin-choice-group,
.admin-form > .admin-form-actions,
.admin-form > .admin-check,
.admin-form > .admin-edit-preview,
.admin-form > .admin-upload-field {
  grid-column: span 3;
}

@media (min-width: 980px) {
  .admin-form > label,
  .admin-form > .admin-field-grid,
  .admin-form > .admin-choice-group,
  .admin-form > .admin-form-actions,
  .admin-form > .admin-check,
  .admin-form > .admin-upload-field {
    grid-column: span 1;
  }

  .admin-form > .admin-edit-preview {
    grid-column: span 3;
  }

  .admin-form > .admin-span-2 {
    grid-column: span 2;
  }

  .admin-form > .admin-span-3 {
    grid-column: span 3;
  }

  .admin-form > .admin-check {
    align-self: center;
  }

  .admin-form > .admin-form-actions {
    align-self: end;
  }
}

.admin-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid rgba(23, 23, 23, 0.2);
  background: var(--white);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  text-transform: none;
}

.admin-upload-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.admin-upload-field .button {
  min-height: 44px;
  white-space: nowrap;
}

.admin-artwork-form {
  grid-template-columns: 1fr;
}

.admin-artwork-form > .admin-edit-preview,
.admin-artwork-form > .admin-col-left,
.admin-artwork-form > .admin-col-right {
  grid-column: 1 / -1;
}

.admin-image-options {
  display: grid;
  gap: 12px;
  align-content: start;
}

@media (min-width: 980px) {
  .admin-artwork-form {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 42px;
    row-gap: 16px;
    grid-template-areas:
      "preview preview"
      "title categories"
      "description date"
      "availability display"
      "upload image"
      "actions actions";
  }

  .admin-artwork-form:not(:has(.admin-edit-preview)) {
    grid-template-areas:
      "title categories"
      "description date"
      "availability display"
      "upload image"
      "actions actions";
  }

  .admin-artwork-form > .admin-edit-preview {
    grid-area: preview;
  }

  .admin-artwork-form > .admin-art-title {
    grid-area: title;
  }

  .admin-artwork-form > .admin-art-categories {
    grid-area: categories;
  }

  .admin-artwork-form > .admin-art-description {
    grid-area: description;
  }

  .admin-artwork-form > .admin-art-date {
    grid-area: date;
    align-self: start;
  }

  .admin-artwork-form > .admin-upload-field {
    grid-area: upload;
  }

  .admin-artwork-form > .admin-image-options {
    grid-area: image;
  }

  .admin-artwork-form > .admin-art-availability {
    grid-area: availability;
  }

  .admin-artwork-form > .admin-art-display {
    grid-area: display;
  }

  .admin-artwork-form > .admin-art-actions {
    grid-area: actions;
    justify-content: flex-start;
  }
}

.admin-edit-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  background: rgba(255, 250, 241, 0.52);
  border: 1px solid rgba(23, 23, 23, 0.16);
  border-radius: 8px;
}

.admin-edit-preview img {
  width: 82px;
  height: 82px;
  object-fit: cover;
  background: var(--white);
  border: 1px solid rgba(23, 23, 23, 0.14);
  border-radius: 6px;
}

.admin-edit-preview strong,
.admin-edit-preview span {
  display: block;
}

.admin-edit-preview strong {
  color: var(--clay);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-edit-preview span {
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 800;
}

.admin-check {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px !important;
  color: var(--ink) !important;
  text-transform: none !important;
}

.admin-check input {
  width: auto;
}

.admin-choice-group {
  display: grid;
  gap: 8px;
  padding: 12px;
  background: rgba(255, 250, 241, 0.42);
  border: 1px solid rgba(23, 23, 23, 0.18);
  border-radius: 8px;
}

.admin-choice-group legend {
  padding: 0 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-list {
  display: grid;
  gap: 12px;
  max-height: min(72vh, 760px);
  overflow: auto;
  padding: 2px 8px 2px 2px;
  overscroll-behavior: contain;
}

.admin-list-panel {
  padding: 16px;
  background: rgba(226, 218, 202, 0.58);
  border: 1px solid rgba(23, 23, 23, 0.14);
  border-radius: 8px;
}

.admin-list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.admin-list-heading h3 {
  margin: 0;
  font-size: 1.35rem;
}

.admin-list-heading span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.admin-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  background: rgba(255, 250, 241, 0.86);
  border: 1px solid rgba(23, 23, 23, 0.16);
  border-radius: 8px;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.admin-item:hover {
  background: rgba(250, 230, 154, 0.46);
  border-color: rgba(202, 157, 41, 0.38);
  box-shadow: 0 14px 34px rgba(23, 23, 23, 0.1);
}

.admin-image-preview {
  display: block;
  width: 92px;
  height: 92px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.admin-item img,
.admin-date-preview {
  width: 92px;
  height: 92px;
  object-fit: cover;
  background: var(--white);
  border: 1px solid rgba(23, 23, 23, 0.14);
  border-radius: 6px;
}

.admin-image-preview img {
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.admin-image-preview:hover img,
.admin-image-preview:focus-visible img {
  opacity: 0.84;
  transform: scale(1.02);
}

.admin-date-preview {
  display: grid;
  place-items: center;
  padding: 8px;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 900;
}

.admin-item strong {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 1.35rem;
  line-height: 1.05;
}

.admin-item span,
.admin-item p,
.admin-item small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
}

.admin-item p {
  margin-bottom: 0;
}

.admin-item small {
  color: var(--clay);
  font-weight: 900;
}

.admin-status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.admin-status-list small {
  display: inline-flex;
  margin-top: 0;
  padding: 4px 8px;
  background: rgba(198, 83, 50, 0.12);
  border-radius: 999px;
}

.admin-status-list .is-sold {
  background: rgba(181, 36, 31, 0.14);
  color: #b5241f;
}

.admin-status-list .is-private {
  background: rgba(47, 111, 104, 0.14);
  color: #2f6f68;
}

.admin-status-list .is-archived {
  background: rgba(23, 23, 23, 0.1);
  color: var(--muted);
}

.admin-image-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 52px);
  background: rgba(18, 15, 13, 0.88);
}

.admin-image-modal[hidden] {
  display: none;
}

.admin-image-modal figure {
  display: grid;
  gap: 12px;
  width: min(100%, 980px);
  margin: 0;
}

.admin-image-modal img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: rgba(255, 250, 241, 0.08);
  border: 1px solid rgba(255, 250, 241, 0.28);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.admin-image-modal figcaption {
  color: var(--white);
  font-weight: 800;
  text-align: center;
}

.admin-image-modal-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--gold);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

.help-main {
  padding-bottom: 72px;
}

.help-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: 54px 0 36px;
  border-bottom: 2px solid rgba(23, 23, 23, 0.14);
}

.help-hero h1 {
  max-width: none;
  font-size: clamp(2.4rem, 4.4vw, 4.2rem);
}

.help-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.06rem;
}

.help-summary {
  position: sticky;
  top: 71px;
  z-index: 8;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 0;
  background:
    linear-gradient(90deg, rgba(23, 23, 23, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, #fff8ea 0%, var(--paper) 100%);
  background-size: 56px 56px, auto;
  border-bottom: 1px solid rgba(23, 23, 23, 0.14);
}

.help-summary a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  background: rgba(255, 250, 241, 0.76);
  border: 1px solid rgba(23, 23, 23, 0.16);
  border-radius: 999px;
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

.help-summary a:hover,
.help-summary a:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.help-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 52px);
  padding: 46px 0;
  border-bottom: 1px solid rgba(23, 23, 23, 0.14);
}

.help-section-title {
  position: sticky;
  top: 150px;
  align-self: start;
}

.help-section-title h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.help-card {
  padding: 18px;
  background: rgba(255, 250, 241, 0.82);
  border: 1px solid rgba(23, 23, 23, 0.16);
  border-left: 5px solid var(--ink);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(23, 23, 23, 0.09);
}

.help-card.is-important {
  border-left-color: var(--gold);
  background: rgba(250, 230, 154, 0.22);
}

.help-card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  line-height: 1.15;
}

.help-card p,
.help-card li {
  color: var(--muted);
}

.help-card p {
  margin: 0 0 10px;
}

.help-card p:last-child {
  margin-bottom: 0;
}

.help-card ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
}

.help-card code {
  display: block;
  margin: 10px 0;
  padding: 10px 12px;
  overflow-x: auto;
  background: rgba(23, 23, 23, 0.08);
  border: 1px solid rgba(23, 23, 23, 0.12);
  border-radius: 6px;
  color: var(--ink);
  font-family: Consolas, monospace;
  font-size: 0.9rem;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: rgba(28, 24, 21, 0.98);
    border: 1px solid rgba(255, 250, 241, 0.2);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .home-hero,
  .gallery-hero,
  .artist-section,
  .journey-hero,
  .journey-intro,
  .journey-step,
  .journey-card,
  .journey-card.reverse,
  .journey-closing,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .journey-card.reverse img {
    order: 0;
  }

  .contact-layout {
    padding: 42px 0;
  }

  .help-hero,
  .help-section,
  .help-grid {
    grid-template-columns: 1fr;
  }

  .help-section-title {
    position: static;
  }

  .help-summary {
    position: static;
  }

  .contact-visual {
    min-height: 360px;
  }

  .home-hero {
    min-height: auto;
    padding-top: 42px;
  }

  .carousel-frame,
  .carousel-frame.wide {
    height: 400px;
    min-height: 400px;
  }

  .carousel-slide img,
  .wide .carousel-slide img {
    min-height: 400px;
  }

  .gallery-hero-carousel {
    height: 360px;
    min-height: 360px;
  }

  .gallery-hero-carousel .carousel-slide img {
    min-height: 360px;
  }

  .gallery-toolbar,
  .section-heading,
  .admin-toolbar,
  .admin-hero,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .availability-filter {
    width: 100%;
  }

  .gallery-toolbar-row {
    grid-template-columns: 1fr;
  }

  .availability-filter,
  .gallery-search-control,
  .gallery-sort-control {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .availability-filter select,
  .gallery-search-control input,
  .gallery-sort-control select {
    min-width: 0;
    width: 100%;
  }

  .gallery-display-options {
    width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "eco"
      "rights"
      "links";
  }

  .site-footer p:nth-child(2),
  .site-footer .copyright-note,
  .footer-links {
    grid-column: 1;
    justify-self: start;
    text-align: left;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .admin-hero {
    display: flex;
  }

  .admin-layout,
  .admin-item {
    grid-template-columns: 1fr;
  }

  .admin-item-actions,
  .admin-delete-form {
    justify-content: flex-start;
    justify-items: start;
    min-width: 0;
    width: 100%;
  }

  .admin-item-buttons {
    justify-content: flex-start;
  }

  .admin-filterbar {
    justify-content: stretch;
  }

  .admin-filterbar label {
    min-width: 0;
    width: 100%;
  }

  .admin-image-preview,
  .admin-item img,
  .admin-date-preview {
    width: 100%;
    height: 180px;
  }

  .art-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-pagination {
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery-pagination div {
    justify-content: flex-start;
  }

  .exhibition-list {
    grid-template-columns: 1fr;
  }

  .lightbox {
    grid-template-columns: 1fr;
  }

  .lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  .lightbox-arrow.previous {
    left: 14px;
  }

  .lightbox-arrow.next {
    right: 14px;
  }
}

@media (max-width: 560px) {
  main {
    width: min(100% - 28px, 1180px);
  }

  h1 {
    font-size: 3rem;
  }

  .page-title {
    font-size: clamp(3rem, 13vw, 4.6rem);
  }

  .contact-content h1 {
    max-width: 12ch;
  }

  .contact-visual {
    min-height: 300px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .art-grid {
    grid-template-columns: 1fr;
  }

  .admin-field-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .exhibition-card {
    min-height: 0;
  }

  .exhibition-date {
    position: static;
    width: fit-content;
    min-width: 92px;
    margin-bottom: 12px;
  }

  .exhibition-content {
    padding-right: 0;
  }

  .carousel-frame,
  .carousel-frame.wide {
    height: 360px;
    min-height: 360px;
  }

  .carousel-slide img,
  .wide .carousel-slide img {
    min-height: 360px;
  }

  .carousel-copy {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }
}
