/* ═══════════════════════════════════════════════════════════════
   Summit Harmony — Ink-Wash Design System
   ═══════════════════════════════════════════════════════════════ */

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  /* Ink palette */
  --ink-deep:     #0d0d0d;
  --ink:          #1a1a1a;
  --ink-light:    #3d3833;
  --paper:        #f5f0eb;
  --paper-warm:   #f0e8de;
  --paper-dark:   #e8ddd0;
  --white:        #fbf9f6;
  --muted:        #6b6560;
  --muted-light:  #9e948c;
  --accent:       #8b5a2b;
  --cinnabar:     #c23b22;
  --gold:         #b8965c;
  --gold-light:   #ebdcc8;

  /* Borders */
  --line:       rgba(26,26,26,.10);
  --line-light: rgba(26,26,26,.06);

  /* Typography */
  --serif-cn: 'Noto Serif SC', 'Source Han Serif SC', 'Songti SC', serif;
  --serif-en: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --container: min(1200px, calc(100vw - 48px));
  --container-narrow: min(780px, calc(100vw - 48px));
  --radius:    20px;
  --radius-sm: 12px;
  --shadow:    0 4px 20px rgba(0,0,0,.06);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.04);

  /* Animation */
  --ease: cubic-bezier(.4,0,.2,1);
  --dur:  .35s;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(0,0,0,.008) 2px,
      rgba(0,0,0,.008) 3px
    );
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--accent); }

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--serif-en); font-weight: 500; line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
p { margin-bottom: 1em; }
.eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

/* ── Container ─────────────────────────────────────────────── */
.container { width: var(--container); margin: 0 auto; }
.container-narrow { width: var(--container-narrow); margin: 0 auto; }

/* ── Sections ──────────────────────────────────────────────── */
.section { padding: 80px 0; }
.section-alt { background: var(--white); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-subtitle {
  font-family: var(--serif-en);
  font-size: 1.6rem;
  margin-bottom: 32px;
  text-align: center;
}
.section-footer { text-align: center; margin-top: 48px; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--ink);
  color: var(--white);
  border: 1px solid var(--ink);
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  text-decoration: none;
}
.btn:hover { background: var(--ink-deep); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-sm { padding: 8px 20px; font-size: 12px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  text-decoration: none;
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

/* ── Divider ───────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--line);
  margin: 0;
  border: none;
}

/* ── Site Header ───────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink-deep);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 8px; font-family: var(--serif-en); font-size: 20px; letter-spacing: 2px; font-weight: 600; }
.site-logo { max-height: 32px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .05em;
  color: rgba(255,255,255,.7);
  position: relative;
  padding: 4px 0;
  transition: color var(--dur) var(--ease);
}
/* Ink wash spread effect on hover */
.nav a::before {
  content: '';
  position: absolute;
  inset: -6px -10px;
  background: radial-gradient(circle at center, rgba(255,255,255,.1) 0%, transparent 65%);
  border-radius: 6px;
  opacity: 0;
  transform: scale(.4);
  transition: opacity .45s ease, transform .45s ease;
  pointer-events: none;
}
.nav a:hover::before, .nav a.active::before {
  opacity: 1;
  transform: scale(1);
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 1px;
  background: rgba(255,255,255,.5);
  transition: width .35s ease, left .35s ease;
  transform: translateX(-50%);
}
.nav a:hover::after, .nav a.active::after { width: 80%; }
.nav a:hover, .nav a.active { color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: rgba(255,255,255,.7);
  transition: all .3s var(--ease);
  border-radius: 2px;
}

/* ── Hero Section ──────────────────────────────────────────── */
.hero-section {
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
}
.hero-ink-bg {
  background:
    radial-gradient(ellipse at 15% 50%, rgba(26,26,26,.04) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 30%, rgba(26,26,26,.06) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 85%, rgba(139,90,43,.04) 0%, transparent 40%);
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    /* White ink-wash diffusion over the image */
    radial-gradient(ellipse at 15% 50%, rgba(245,240,235,.07) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 30%, rgba(235,225,215,.05) 0%, transparent 45%),
    url(../images/site/main.jpg) center/cover no-repeat;
  z-index: 0;
}
.hero-content { max-width: 640px; position: relative; z-index: 2; }
.hero-content .eyebrow {
  color: #fff;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, 0 0 4px rgba(0,0,0,.5);
}
.hero-title { margin: 16px 0 20px; color: #fff; text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, 0 0 6px rgba(0,0,0,.4); }
.hero-title em { font-style: italic; color: var(--gold-light); }
.hero-subtitle { font-size: 1.05rem; color: #fff; margin-bottom: 32px; max-width: 480px; text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, 0 0 4px rgba(0,0,0,.5); }
.hero-content .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; }
.hero-content .btn-ghost:hover { border-color: #fff; color: #fff; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Ink wash decoration */
.ink-decoration {
  position: absolute;
  right: -5%;
  top: -10%;
  width: 50%;
  height: 120%;
  background:
    radial-gradient(circle at 70% 40%, rgba(0,0,0,.03) 0%, transparent 60%),
    radial-gradient(circle at 30% 60%, rgba(139,90,43,.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

/* ── Page Hero ─────────────────────────────────────────────── */
.page-hero {
  padding: 80px 0 24px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(26,26,26,.03) 0%, transparent 60%);
}
.page-hero h1 { margin-bottom: 12px; }
.page-hero p { color: var(--muted); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }
/* Reduce gap between page hero and content */
.page-hero + .section { padding-top: 40px; }

/* ── Masonry Grid (CSS Columns) ───────────────────────────── */
.masonry-grid {
  column-count: 3;
  column-gap: 20px;
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 20px;
}

/* ── Art Card ──────────────────────────────────────────────── */
.art-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all var(--dur) var(--ease);
  text-decoration: none;
  color: inherit;
}
.art-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.art-card-image {
  position: relative;
  overflow: hidden;
  background: var(--paper-warm);
}
.art-card-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .5s var(--ease);
}
.art-card:hover .art-card-image img { transform: scale(1.03); }
.art-card-info { padding: 16px; }
.art-card-info h3 { font-family: var(--serif-en); font-size: 1.05rem; margin-bottom: 4px; }
.art-card-artist { font-size: 13px; color: var(--muted); }
.art-card-meta { font-size: 12px; color: var(--muted-light); margin-top: 2px; }

/* ── Seal Badge (Chinese chop) ─────────────────────────────── */
.seal-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--cinnabar);
  color: #fff;
  font-family: var(--serif-cn);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
  border-radius: 4px;
  transform: rotate(-8deg);
  box-shadow: 2px 2px 8px rgba(194,59,34,.3);
  writing-mode: vertical-rl;
  text-orientation: upright;
  white-space: nowrap;
  z-index: 2;
}

/* ── Status Badges ─────────────────────────────────────────── */
.status-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: var(--white);
  color: var(--muted);
  z-index: 2;
}
.badge-available { background: rgba(45,106,45,.1); color: #2d6a2d; }
.badge-auction { background: rgba(154,122,42,.1); color: #9a7a2a; }
.badge-nfs { background: rgba(0,0,0,.05); color: var(--muted-light); }

/* ── Gallery Filters ───────────────────────────────────────── */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-light);
}
.filter-btn {
  padding: 6px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: transparent;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.filter-divider { width: 1px; height: 20px; background: var(--line); margin: 0 4px; }

/* ── Artist Showcase ───────────────────────────────────────── */
.artist-showcase { display: flex; flex-direction: column; gap: 48px; }
.showcase-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  align-items: start;
}
.showcase-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--paper-warm);
}
.showcase-avatar img { width: 100%; height: 100%; object-fit: cover; }
.showcase-info h3 { font-size: 1.3rem; margin-bottom: 4px; }
.showcase-title { font-size: 13px; color: var(--accent); margin-bottom: 12px; }
.showcase-bio { font-size: 14px; color: var(--muted); margin-bottom: 16px; }

/* ── Artists List ──────────────────────────────────────────── */
.artists-list { max-width: 800px; margin: 0 auto; }
.artist-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  padding: 48px 0;
  align-items: start;
}
.artist-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--paper-warm);
  flex-shrink: 0;
}
.artist-avatar img { width: 100%; height: 100%; object-fit: cover; }
.artist-number { font-family: var(--serif-en); font-size: 12px; color: var(--muted-light); letter-spacing: .1em; }
.artist-info h2 { margin: 4px 0; }
.artist-title { font-size: 13px; color: var(--accent); margin-bottom: 12px; }
.artist-bio { font-size: 14px; color: var(--muted); margin-bottom: 16px; }

/* ── Artist Detail ─────────────────────────────────────────── */
.artist-hero { padding: 60px 0 32px; }
.artist-hero-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  background: var(--paper-warm);
}
.artist-hero-avatar img { width: 100%; height: 100%; object-fit: cover; }
.artist-hero-title { color: var(--accent); font-size: 14px; margin-bottom: 16px; }
.artist-hero-bio { max-width: 640px; margin: 0 auto; color: var(--muted); font-size: 14px; }

.artist-nav {
  display: flex;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 16px;
}
.artist-nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 13px;
  transition: all var(--dur) var(--ease);
}
.artist-nav-link:hover { border-color: var(--ink); }
.artist-nav-link.next { margin-left: auto; }
.nav-arrow { font-size: 16px; }

/* ── Article Grid ──────────────────────────────────────────── */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.article-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all var(--dur) var(--ease);
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.article-card img { width: 100%; height: 200px; object-fit: cover; }
.article-card-body { padding: 20px; }
.article-card-body time { font-size: 12px; color: var(--muted-light); }
.article-card-body h3 { font-family: var(--serif-en); margin: 4px 0 8px; }
.article-card-body p { font-size: 14px; color: var(--muted); }

.read-more {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
}
.read-more::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--ink);
  transition: width var(--dur) var(--ease);
}
.read-more:hover::after { width: 100%; }

/* ── Article List Page ─────────────────────────────────────── */
.article-list { max-width: 720px; margin: 0 auto; }
.article-list-item { padding: 40px 0; }
.article-list-item time { font-size: 12px; color: var(--muted-light); }
.article-list-item h2 { margin: 8px 0 12px; }
.article-list-item p { color: var(--muted); font-size: 15px; }
.article-author { font-size: 13px; color: var(--muted-light); margin-bottom: 12px; }
.article-list-image { margin-bottom: 16px; }
.article-list-image img { width: 100%; max-height: 360px; object-fit: cover; border-radius: var(--radius-sm); }

/* ── Article Detail ────────────────────────────────────────── */
.article-page { padding: 60px 0; }
.article-header { text-align: center; margin-bottom: 40px; }
.article-header time { font-size: 13px; color: var(--muted-light); }
.article-header h1 { margin: 12px 0 8px; }
.article-featured-image { margin-bottom: 40px; }
.article-featured-image img { width: 100%; max-height: 500px; object-fit: cover; border-radius: var(--radius-sm); }
.article-body {
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
}
.article-body p { margin-bottom: 1.5em; }
.article-body em { font-style: italic; }
.article-body blockquote {
  border-left: 2px solid var(--accent);
  padding-left: 20px;
  margin: 24px 0;
  font-style: italic;
  color: var(--muted);
}
.article-footer { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }

/* ── Artwork Detail ────────────────────────────────────────── */
.artwork-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.artwork-detail-image img { width: 100%; border-radius: var(--radius-sm); }
.artwork-detail-header { margin-bottom: 16px; }
.artwork-detail h1 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 8px; }
.artwork-detail-artist { font-size: 16px; margin-bottom: 24px; }
.artwork-detail-artist a { color: var(--accent); border-bottom: 1px solid transparent; }
.artwork-detail-artist a:hover { border-color: var(--accent); }

.artwork-detail-meta { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.meta-item { display: flex; gap: 12px; font-size: 14px; }
.meta-label { color: var(--muted-light); min-width: 80px; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.meta-value { color: var(--ink); }
.meta-value.price { font-family: var(--serif-en); font-size: 1.2rem; font-weight: 500; }

.artwork-detail-description { font-size: 15px; line-height: 1.8; color: var(--muted); margin-bottom: 32px; }
.artwork-detail-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Mini Grid (related works) ─────────────────────────────── */
.mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }

/* ── Site Footer ───────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.8);
  padding: 64px 0 32px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-grid h4 {
  font-family: var(--serif-en);
  font-size: 1rem;
  color: #fff;
  margin-bottom: 16px;
}
.footer-grid a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,.6);
  margin-bottom: 8px;
  transition: color var(--dur) var(--ease);
}
.footer-grid a:hover { color: #fff; }
.footer-grid p { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.6); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  text-align: center;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,.4); }

/* ── Breadcrumbs ───────────────────────────────────────────── */
.breadcrumbs { padding: 16px 0 0; max-width: var(--container); margin: 0 auto; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); padding: 0 24px; }
.breadcrumbs li { display: flex; align-items: center; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--muted-light); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--ink-light); font-weight: 500; }

/* ── Cookie Banner ─────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--ink-deep);
  color: rgba(255,255,255,.8);
  padding: 16px 24px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 200;
  flex-wrap: wrap;
  font-size: 13px;
}
.cookie-banner.is-visible { display: flex; }
.cookie-banner a { color: var(--gold); text-decoration: underline; }
.cookie-banner .btn { background: var(--gold); border-color: var(--gold); color: var(--ink-deep); font-size: 12px; padding: 8px 20px; }
.cookie-banner .btn:hover { background: var(--gold-light); }

/* ── Empty States ──────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--muted-light);
}
.empty-state h3 { color: var(--muted); margin-bottom: 8px; font-family: var(--serif-en); }

/* ── Fade-in Animation ─────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── About / Legal Pages ───────────────────────────────────── */
.content-page { padding: 60px 0; }
.content-page h1 { margin-bottom: 32px; }
.content-page h2 { font-size: 1.3rem; margin-top: 40px; margin-bottom: 12px; }
.content-page h3 { font-size: 1.1rem; margin-top: 24px; margin-bottom: 8px; }
.content-page p { color: var(--muted); margin-bottom: 1em; line-height: 1.8; }
.content-page ul, .content-page ol { color: var(--muted); margin: 0 0 1em 20px; line-height: 1.8; }
.content-page li { margin-bottom: 4px; }

/* ── Contact Page ──────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-info p { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.contact-info .contact-detail { margin-top: 24px; }
.contact-info .contact-detail strong { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted-light); margin-bottom: 4px; }
.contact-form .form-group { margin-bottom: 16px; }
.contact-form label { display: block; font-size: 12px; font-weight: 500; color: var(--muted); margin-bottom: 4px; text-transform: uppercase; letter-spacing: .05em; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 14px;
  background: var(--white);
  transition: border-color var(--dur) var(--ease);
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); }
.contact-form textarea { min-height: 140px; resize: vertical; }

/* ── 404 Page ──────────────────────────────────────────────── */
.error-page { text-align: center; padding: 120px 20px; }
.error-page h1 { font-size: 6rem; font-family: var(--serif-en); color: var(--muted-light); }
.error-page h2 { margin: 16px 0; }
.error-page p { color: var(--muted); margin-bottom: 32px; }

/* ── Responsive: 1024px ────────────────────────────────────── */
@media (max-width: 1024px) {
  .masonry-grid { column-count: 2; }
  .artwork-detail { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* ── Responsive: 768px ─────────────────────────────────────── */
@media (max-width: 768px) {
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--ink-deep); flex-direction: column; padding: 16px 24px; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav.is-open { display: flex; }
  .nav-toggle { display: flex; }
  .hero-section { padding: 80px 0 60px; }
  .showcase-card { grid-template-columns: 1fr; text-align: center; }
  .showcase-avatar { margin: 0 auto; }
  .artist-row { grid-template-columns: 1fr; text-align: center; }
  .artist-avatar { margin: 0 auto; }
  .section { padding: 48px 0; }
  .gallery-filters { gap: 6px; }
  .page-hero { padding: 48px 0 32px; }
  .article-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-grid a { text-align: center; }
  .artist-nav { flex-direction: column; align-items: center; }
  .artist-nav-link.next { margin-left: 0; }
}

/* ── Responsive: 480px ─────────────────────────────────────── */
@media (max-width: 480px) {
  .masonry-grid { column-count: 1; }
  .hero-actions { flex-direction: column; }
  .btn, .btn-ghost { width: 100%; justify-content: center; }
  .artwork-detail-actions { flex-direction: column; }
}

/* ── Print ─────────────────────────────────────────────────── */
@media print {
  .site-header, .site-footer, .cookie-banner, .gallery-filters { display: none; }
  .section { padding: 20px 0; }
  .fade-in { opacity: 1; transform: none; }
}
