:root {
  color-scheme: light;
  --bg: #f7f3ee;
  --surface: #ffffff;
  --ink: #1f1f1f;
  --muted: #6f6a64;
  --accent: #6b4f3f;
  --accent-dark: #463428;
  --border: rgba(31, 31, 31, 0.12);
  --shadow: 0 18px 45px rgba(31, 31, 31, 0.08);
  --max-width: 1200px;
  --radius: 18px;
}

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

body {
  font-family: "Inter", "Noto Serif SC", "Noto Sans SC", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 0 20px;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 243, 238, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 16px;
}

.logo {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--muted);
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--ink);
}

.lang-switch {
  display: flex;
  gap: 8px;
  font-size: 0.85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  background: var(--surface);
}

.lang-switch a {
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--muted);
}

.lang-switch a.active {
  background: var(--accent);
  color: #fff;
}

.hero {
  padding: 80px 0 60px;
  display: grid;
  gap: 32px;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 600;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-weight: 500;
  transition: all 0.2s ease;
}

.button.secondary {
  background: transparent;
  color: var(--accent);
}

.section {
  padding: 60px 0;
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.card-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 768px) {
  .hero {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
  }

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

@media (min-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--border);
}

.card-body {
  padding: 16px;
}

.card-title {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.card-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.filter-button {
  border: 1px solid var(--border);
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--surface);
  cursor: pointer;
}

.gallery-layout {
  display: grid;
  gap: 24px;
}

@media (min-width: 1024px) {
  .gallery-layout {
    grid-template-columns: 280px 1fr;
  }
}

.filter-panel {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--border);
}

.filter-panel h4 {
  margin-bottom: 12px;
}

.filter-panel label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--muted);
}

.filter-drawer {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  z-index: 40;
}

.filter-drawer.open {
  display: block;
}

.drawer-content {
  background: var(--surface);
  padding: 20px;
  width: min(320px, 90%);
  height: 100%;
}

.artwork-header {
  display: grid;
  gap: 24px;
}

@media (min-width: 960px) {
  .artwork-header {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.image-gallery {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.thumb-row {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.thumb-row img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
  cursor: pointer;
}

.info-card {
  background: var(--surface);
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.info-card h3 {
  margin-bottom: 12px;
}

.info-grid {
  display: grid;
  gap: 12px;
  font-size: 0.95rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(107, 79, 63, 0.1);
  color: var(--accent-dark);
  font-size: 0.85rem;
}

.sticky-cta {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border-radius: 999px;
  padding: 10px;
  display: flex;
  gap: 8px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  z-index: 30;
}

.sticky-cta a {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.9rem;
}

.sticky-cta a.secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

@media (min-width: 960px) {
  .sticky-cta {
    position: sticky;
    bottom: auto;
    left: auto;
    transform: none;
    width: 100%;
  }
}

.share-sheet,
.lead-modal,
.cookie-banner {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.share-sheet.open,
.lead-modal.open,
.cookie-banner.open {
  display: flex;
}

.modal-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  width: min(480px, 90%);
  box-shadow: var(--shadow);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

input,
textarea,
select {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font: inherit;
}

footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 60px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.notice {
  color: var(--muted);
  font-size: 0.95rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--muted);
}

.split-panel {
  display: grid;
  gap: 24px;
}

@media (min-width: 960px) {
  .split-panel {
    grid-template-columns: 1fr 1fr;
  }
}

.page-header {
  padding: 60px 0 30px;
}

.page-header h1 {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.legal-card {
  background: var(--surface);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.cookie-bar {
  background: var(--surface);
  padding: 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: min(540px, 92%);
}

.toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-dark);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  display: none;
  z-index: 70;
}

.toast.show {
  display: block;
}

.gallery-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.inline-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.inline-actions button {
  border: none;
  background: none;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--accent-dark);
}

.notice-panel {
  background: #fff8ee;
  border: 1px solid rgba(107, 79, 63, 0.2);
  padding: 16px;
  border-radius: 12px;
}
