:root {
  --gold: #966215;
  --gold-soft: rgba(150, 98, 21, 0.08);
  --dark: #121212;
  --ink: #232323;
  --muted: #6b6560;
  --faint: #6b7280;
  --cream: #faf8f5;
  --sand: #f2ede4;
  --line: #e7dfd3;
  --white: #ffffff;
  --sold: #4b5563;
  --available: #047857;
  --shadow-frame: 0 20px 25px -5px rgba(0, 0, 0, 0.25), 0 10px 10px -5px rgba(0, 0, 0, 0.15);
  --shadow-card: 0 20px 30px -12px rgba(0, 0, 0, 0.16);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 112.5%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--white);
  background-image: radial-gradient(rgba(150, 98, 21, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  color: var(--dark);
  font-family: var(--sans);
  font-size: 0.9rem;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--gold);
  color: var(--white);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--sand);
}

::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 4px;
}

body::before,
body::after {
  position: fixed;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

body::before {
  content: "";
  inset: 0;
  background: rgba(18, 18, 18, 0.25);
  backdrop-filter: blur(8px);
}

body::after {
  content: attr(data-busy-message);
  top: 50%;
  left: 50%;
  min-width: min(320px, calc(100vw - 48px));
  border: 1px solid var(--line);
  padding: 66px 22px 22px;
  background:
    radial-gradient(circle at 50% 28px, transparent 0 17px, var(--white) 18px),
    var(--white);
  color: var(--dark);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  box-shadow: 0 24px 80px rgba(18, 18, 18, 0.25);
  transform: translate(-50%, -50%);
}

body.is-busy {
  overflow: hidden;
}

body.is-busy::before,
body.is-busy::after {
  opacity: 1;
  pointer-events: auto;
}

body.is-busy .app::after {
  content: "";
  position: fixed;
  z-index: 1001;
  top: calc(50% - 42px);
  left: calc(50% - 14px);
  width: 28px;
  height: 28px;
  border: 3px solid var(--gold);
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 720ms linear infinite;
}

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

picture {
  display: contents;
}

a {
  color: inherit;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sand);
}

.header-inner {
  width: min(1200px, calc(100% - 32px));
  margin-inline: auto;
  height: 75px;
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  text-decoration: none;
  white-space: nowrap;
}

.brand-name {
  font-family: var(--sans);
  font-size: clamp(1.3rem, 2.6vw, 1.75rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--gold);
  transition: color 300ms ease;
}

.brand:hover .brand-name {
  color: var(--dark);
}

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

.nav-link {
  padding: 4px 0;
  border: none;
  border-bottom: 2px solid transparent;
  background: none;
  font-family: inherit;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--dark);
  cursor: pointer;
  transition: color 300ms ease, border-color 300ms ease;
}

.nav-link:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-cta {
  padding: 10px 18px;
}

#mobile-menu-btn {
  display: none;
  padding: 6px;
  background: none;
  border: none;
  color: var(--dark);
  cursor: pointer;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px 20px;
  border-top: 1px solid var(--sand);
  background: var(--white);
  text-align: center;
  box-shadow: 0 12px 24px rgba(18, 18, 18, 0.08);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-link {
  display: block;
  padding: 10px;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--dark);
  cursor: pointer;
}

.mobile-link:hover {
  color: var(--gold);
}

/* ---------- Section Artiste ---------- */

.artiste-section {
  margin-top: 80px;
  background: var(--cream);
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
}

.artiste-inner {
  width: min(1200px, calc(100% - 32px));
  margin-inline: auto;
  padding: 88px 0;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 56px;
  align-items: start;
}

.artiste-portrait {
  position: sticky;
  top: 110px;
  z-index: 1;
}

.artiste-portrait::after {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  background: var(--gold-soft);
  border: 1px solid rgba(150, 98, 21, 0.2);
  z-index: -1;
}

.artiste-frame {
  background: var(--white);
  padding: 12px;
  border: 1px solid var(--sand);
  box-shadow: 0 20px 40px -14px rgba(18, 18, 18, 0.22);
}

.artiste-frame img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.artiste-lead {
  margin: 14px 0 0;
  font-size: 0.92rem;
  font-weight: 300;
  font-style: italic;
  color: var(--muted);
  line-height: 1.7;
}

.bio-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 26px;
}

.bio-item {
  display: flex;
  gap: 18px;
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--sand);
  box-shadow: 0 1px 3px rgba(18, 18, 18, 0.05);
  transition: box-shadow 300ms ease;
}

.bio-item:hover {
  box-shadow: var(--shadow-card);
}

.bio-num {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
}

.bio-item h3 {
  margin: 0 0 5px;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--dark);
}

.bio-item p {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.65;
}

/* ---------- Section Contact ---------- */

.contact-section {
  padding-top: 88px;
}

.contact-inner {
  max-width: 760px;
  margin-inline: auto;
}

.contact-direct {
  margin: 16px 0 0;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.contact-form {
  margin-top: 36px;
  padding: 36px 40px;
  background: var(--white);
  border: 1px solid var(--sand);
  box-shadow: 0 20px 45px -18px rgba(18, 18, 18, 0.16);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-form .field {
  background: rgba(250, 248, 245, 0.55);
  border-color: var(--line);
  font-size: 0.84rem;
}

.contact-submit {
  text-align: center;
  padding-top: 6px;
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--dark);
  color: var(--white);
  border-left: 4px solid var(--gold);
  box-shadow: 0 18px 45px rgba(18, 18, 18, 0.3);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.toast[hidden] {
  display: none;
}

.toast svg {
  color: var(--gold);
  flex-shrink: 0;
}

/* ---------- Shared ---------- */

.app {
  padding: 0 0 72px;
}

.app > section:not(.hero):not(.artiste-section),
.app > .empty {
  width: min(1200px, calc(100% - 32px));
  margin-inline: auto;
}

.eyebrow {
  display: block;
  margin: 0 0 10px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

h1,
h2,
h3 {
  font-family: var(--serif);
  line-height: 1.15;
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--dark);
}

h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
}

h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 400;
  color: var(--dark);
}

h3 {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 400;
}

.divider {
  width: 64px;
  height: 2px;
  background: var(--gold);
  margin: 18px auto 0;
}

.divider-left {
  margin-inline: 0;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.lead {
  color: var(--muted);
  font-weight: 300;
  line-height: 1.7;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--dark);
  border-radius: 0;
  padding: 13px 26px;
  text-decoration: none;
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: transparent;
  color: var(--dark);
  cursor: pointer;
  transition: background 300ms ease, color 300ms ease, border-color 300ms ease, opacity 160ms ease;
}

.button:hover {
  background: var(--dark);
  color: var(--white);
}

.button.primary {
  background: var(--dark);
  color: var(--white);
}

.button.primary:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(to bottom, var(--cream), var(--white) 85%);
  border-bottom: 1px solid var(--sand);
}

.hero-inner {
  width: min(1200px, calc(100% - 32px));
  margin-inline: auto;
  padding: 72px 0 80px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.hero-sun {
  width: 56px;
  height: 56px;
  color: var(--gold);
}

.hero-lead {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
}

.hero-frame {
  display: block;
  width: min(420px, 100%);
  margin-inline: auto;
  padding: 14px 14px 18px;
  background: var(--white);
  border: 10px solid var(--white);
  outline: 1px solid #e2d9cd;
  box-shadow: var(--shadow-frame);
  text-decoration: none;
  transition: transform 500ms ease;
}

.hero-frame:hover {
  transform: rotate(-1.2deg);
}

.hero-frame-media {
  display: block;
  height: 340px;
  background: var(--sand);
  overflow: hidden;
}

.hero-frame-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.hero-frame:hover .hero-frame-img {
  transform: scale(1.05);
}

.hero-frame-caption {
  display: block;
  padding-top: 16px;
  text-align: center;
}

.hero-frame-eyebrow {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-frame-title {
  display: block;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--dark);
  margin-top: 4px;
}

.hero-frame-specs {
  display: block;
  font-size: 0.72rem;
  font-style: italic;
  color: var(--faint);
  margin-top: 2px;
}

/* ---------- Category filters ---------- */

.category-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding-top: 22px;
}

.cat-btn {
  padding: 9px 16px;
  border: 1px solid var(--sand);
  border-radius: 0;
  background: var(--white);
  color: var(--dark);
  font-family: inherit;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 300ms ease, color 300ms ease, border-color 300ms ease;
}

.cat-btn:hover {
  border-color: var(--gold);
}

.cat-btn.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

/* ---------- Toolbar ---------- */

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 640px;
  margin: 32px auto 40px;
}

.toolbar-search {
  position: relative;
  flex: 1;
}

.toolbar-search::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  background: var(--faint);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23000' d='M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23000' d='M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.input,
.toolbar-input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--sand);
  border-radius: 0;
  padding: 0 14px 0 40px;
  background: var(--cream);
  color: var(--dark);
  font: inherit;
  font-size: 0.78rem;
  transition: border-color 160ms ease;
}

.toolbar-input:focus {
  outline: none;
  border-color: var(--gold);
}

.artwork-count {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}

/* ---------- Gallery grid ---------- */

.gallery-section {
  padding-top: 64px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 32px;
  width: 100%;
}

.grid-empty {
  grid-column: 1 / -1;
  padding: 56px 0;
  text-align: center;
  color: var(--muted);
  font-weight: 300;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--sand);
  box-shadow: 0 1px 3px rgba(18, 18, 18, 0.05);
  overflow: hidden;
  transition: box-shadow 300ms ease;
}

.card:hover {
  box-shadow: var(--shadow-card);
}

.card-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream);
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 500ms ease;
}

.card:hover .card-image {
  transform: scale(1.05);
}

.card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}

.badge {
  display: inline-block;
  padding: 5px 11px;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
}

.badge-available {
  background: var(--available);
}

.badge-sold {
  background: #1f2937;
}

.card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 18, 18, 0.32);
  opacity: 0;
  transition: opacity 300ms ease;
}

.card:hover .card-overlay {
  opacity: 1;
}

.card-overlay-label {
  padding: 11px 22px;
  background: rgba(255, 255, 255, 0.95);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dark);
  box-shadow: 0 8px 20px rgba(18, 18, 18, 0.2);
}

.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 20px 22px 22px;
}

.card-eyebrow {
  margin: 0;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.card-body h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  font-style: normal;
  color: var(--dark);
  transition: color 300ms ease;
}

.card:hover .card-body h3 {
  color: var(--gold);
}

.specs {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 300;
  font-style: italic;
  color: var(--faint);
}

.card-foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--sand);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.price {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
}

.price-sold {
  color: var(--faint);
  font-weight: 400;
  font-style: italic;
}

.card-cta {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  transition: color 300ms ease;
}

.card:hover .card-cta {
  color: var(--dark);
}

/* ---------- Detail ---------- */

.detail {
  display: flex;
  flex-direction: column;
  max-width: 1240px;
  margin-top: 56px;
  background: var(--white);
  border: 1px solid var(--sand);
  box-shadow: 0 24px 50px -20px rgba(18, 18, 18, 0.2);
}

.detail-media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px;
  background: var(--cream);
  border-bottom: 1px solid var(--sand);
}

.detail-image {
  width: auto;
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  box-shadow: 0 14px 30px rgba(18, 18, 18, 0.2);
}

.detail-panel {
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
  padding: 30px 32px 34px;
  display: flex;
  flex-direction: column;
}

.detail-panel h1 {
  font-size: 2.2rem;
}

.detail-panel .divider {
  margin-top: 12px;
}

.description {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 300;
  line-height: 1.7;
}

.spec-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--sand);
}

.spec {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.spec span {
  color: var(--faint);
}

.spec strong {
  font-weight: 500;
  color: var(--ink);
  text-align: right;
}

.spec strong.price-value {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: none;
  letter-spacing: 0;
}

.status {
  font-weight: 500;
  color: var(--available);
}

.status.sold {
  color: var(--faint);
}

.detail-panel .actions {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--sand);
}

.frame-cta {
  display: block;
  margin-top: 6px;
  padding: 0;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  cursor: pointer;
  text-align: left;
  transition: color 200ms ease;
}

.frame-cta:hover {
  color: var(--dark);
}

/* ---------- Pop-in encadrement ---------- */

.frame-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

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

.frame-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 18, 18, 0.45);
  backdrop-filter: blur(6px);
}

.frame-modal-panel {
  position: relative;
  background: var(--white);
  border: 1px solid var(--sand);
  max-width: 720px;
  width: 100%;
  max-height: calc(100vh - 48px);
  overflow: auto;
  box-shadow: 0 24px 60px rgba(18, 18, 18, 0.28);
}

.frame-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--white);
  border: 1px solid var(--sand);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--dark);
  transition: background 200ms ease, color 200ms ease;
}

.frame-modal-close:hover {
  background: var(--gold);
  color: var(--white);
}

.frame-modal-layout {
  display: flex;
  align-items: stretch;
}

.frame-modal-image {
  flex: 0 0 42%;
  background: var(--cream);
  border-right: 1px solid var(--sand);
}

.frame-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.frame-modal-body {
  flex: 1;
  padding: 32px 34px;
}

.frame-modal-body h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 400;
  color: var(--dark);
}

.frame-modal-body p {
  margin: 16px 0 0;
  font-size: 0.84rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted);
}

.frame-modal-body strong {
  color: var(--gold);
  font-weight: 600;
}

/* ---------- QR / admin ---------- */

.qr-panel,
.empty,
.error {
  margin-top: 48px;
  border: 1px solid var(--sand);
  background: var(--white);
  padding: 32px;
  box-shadow: 0 8px 24px rgba(18, 18, 18, 0.06);
  text-align: center;
}

.qr-panel .description,
.error .description {
  max-width: 620px;
  margin-inline: auto;
}

.qr-panel .actions,
.error .actions {
  justify-content: center;
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.qr-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--sand);
  padding: 16px;
  background: var(--white);
  transition: box-shadow 300ms ease;
}

.qr-item:hover {
  box-shadow: var(--shadow-card);
}

.qr-item img {
  width: 110px;
  height: 110px;
  background: var(--white);
  border: 1px solid var(--sand);
}

.qr-item h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  margin: 2px 0 4px;
}

.meta {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.url {
  margin: 0;
  word-break: break-all;
  color: var(--faint);
  font-size: 0.72rem;
}

.admin-form {
  margin-top: 28px;
  text-align: left;
}

.admin-form > .form-grid {
  padding: 20px;
  border: 1px solid var(--sand);
  background: var(--cream);
}

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

.form-grid label,
.editor-fields > label {
  display: grid;
  gap: 6px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.field {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 8px 12px;
  background: var(--white);
  color: var(--dark);
  font: inherit;
  font-size: 0.85rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}

.textarea {
  min-height: 110px;
  resize: vertical;
}

.admin-status {
  min-height: 40px;
  margin-top: 14px;
  border: 1px solid rgba(150, 98, 21, 0.25);
  padding: 10px 14px;
  background: var(--gold-soft);
  color: var(--gold);
  font-weight: 500;
  font-size: 0.8rem;
}

.editor-list {
  display: grid;
  gap: 22px;
  margin-top: 24px;
}

.editor-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--sand);
  padding: 20px;
  background: var(--white);
  box-shadow: 0 4px 14px rgba(18, 18, 18, 0.05);
}

.editor-item.is-loading {
  pointer-events: none;
}

.editor-item-layout {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 22px;
  align-items: start;
}

.editor-preview,
.editor-fields {
  display: grid;
  gap: 14px;
}

.editor-thumb {
  width: 100%;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--sand);
  object-fit: cover;
  background: var(--cream);
}

.editor-thumb-empty {
  display: grid;
  place-items: center;
  padding: 16px;
  color: var(--faint);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
}

.upload-control {
  display: grid;
  gap: 8px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.upload-control input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.upload-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--dark);
  padding: 0 14px;
  background: var(--dark);
  color: var(--white);
  cursor: pointer;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 300ms ease, border-color 300ms ease, opacity 160ms ease;
}

.upload-button:hover,
.button:hover {
  opacity: 1;
}

.upload-button:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.admin-actions {
  margin-top: 16px;
}

.loader {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 720ms linear infinite;
}

.is-loading .loader,
.is-saving .button[type="submit"] .loader {
  display: inline-block;
}

.is-loading .button-label,
.is-saving .button[type="submit"] .button-label {
  opacity: 0.72;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Footer ---------- */

.site-footer {
  margin-top: 8px;
  background: var(--dark);
  color: var(--white);
}

.footer-inner {
  width: min(1200px, calc(100% - 32px));
  margin-inline: auto;
  padding: 48px 0 36px;
  text-align: center;
}

.footer-brand {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-brand span {
  color: var(--gold);
}

.footer-sub {
  margin: 0;
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #9ca3af;
}

.footer-copy {
  margin: 28px 0 0;
  padding-top: 24px;
  border-top: 1px solid #292524;
  font-size: 0.72rem;
  font-weight: 300;
  color: #9ca3af;
}

/* ---------- Responsive ---------- */

@media (max-width: 840px) {
  .header-inner {
    height: 61px;
    padding: 12px 0;
  }

  .nav,
  .nav-cta {
    display: none;
  }

  #mobile-menu-btn {
    display: block;
  }

  .brand-name {
    font-size: 1.3rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 56px 0 64px;
  }

  .hero-text {
    align-items: center;
    text-align: center;
  }

  .toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .artwork-count {
    text-align: center;
  }

  .detail-media {
    padding: 24px;
  }

  .detail-image {
    max-height: 55vh;
  }

  .detail-panel {
    padding: 28px;
  }

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

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

  .editor-thumb {
    max-height: 300px;
  }

  .qr-item {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .qr-item .actions {
    justify-content: center;
  }

  .artiste-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 64px 0;
  }

  .artiste-portrait {
    position: static;
    max-width: 420px;
    margin-inline: auto;
  }

  .contact-section {
    padding-top: 64px;
  }

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

  .contact-form {
    padding: 26px 22px;
  }

  .toast {
    left: 16px;
    right: 16px;
  }

  .frame-modal-layout {
    flex-direction: column;
  }

  .frame-modal-image {
    border-right: none;
    border-bottom: 1px solid var(--sand);
  }

  .frame-modal-image img {
    height: 280px;
    object-position: 50% 45%;
  }

  .frame-modal-body {
    padding: 24px 22px;
  }
}
