:root {
  /* Palette & tokens (follow DESIGN.md / .github/copilot-instructions.md) */
  --bg-main: #0F0E0C;        /* Dark Warm Obsidian */
  --bg-surface: #181715;     /* Dark Elevated Card */
  --text-main: #F0EFEA;      /* Soft Off-White */
  --text-muted: #9A988F;     /* Mineral Grey */
  --accent-gold: #C49A45;    /* Muted Antique Gold */
  --border-color: #2A2824;   /* Subtle Warm Border */
  --glass: rgba(240,238,234,0.03);
  --font-heading: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  /* Layout */
  --container-max: 1100px;
  --radius: 8px;
  --card-padding: 1.25rem;
}

/* Reset / base */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height: 1.45;
  font-size: 16px;
}

/* Container */
.container {
  width: 90%;
  max-width: var(--container-max);
  margin: 0 auto;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--border-color);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.125rem 0;
}
.brand {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  color: var(--text-main);
  text-transform: none;
}
.nav a {
  color: var(--text-main);
  text-decoration: none;
  margin-left: 1.25rem;
  font-weight: 500;
  opacity: 0.92;
}
.nav a:hover,
.nav a:focus {
  color: var(--accent-gold);
  outline: none;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Hero */
.hero {
  padding: 3.25rem 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 2.25rem;
  align-items: center;
}
.hero-copy .display,
.hero-copy h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  line-height: 1.05;
  margin: 0 0 0.75rem 0;
  color: var(--text-main);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.lead {
  color: var(--text-main);
  opacity: 0.92;
  margin-bottom: 1rem;
}

/* Actions / buttons */
.actions {
  margin: 1.25rem 0;
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
a.btn-primary,
a.btn-ghost {
  display: inline-block;
  padding: 0.65rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform .15s ease, box-shadow .15s ease;
  border: 1px solid transparent;
}
a.btn-primary {
  background: linear-gradient(180deg, rgba(196,154,69,0.12), rgba(196,154,69,0.06));
  color: var(--text-main);
  box-shadow: 0 2px 0 rgba(0,0,0,0.3);
  border: 1px solid rgba(196,154,69,0.18);
}
a.btn-primary:hover,
a.btn-primary:focus {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.6);
}
a.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(240,238,234,0.04);
}
a.btn-ghost:hover,
a.btn-ghost:focus {
  color: var(--accent-gold);
  border-color: rgba(196,154,69,0.14);
}

/* Muted text */
.muted {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.75rem;
}

/* Hero artwork card (gallery frame) */
.hero-artwork {
  display: flex;
  justify-content: center;
}
.artwork-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 1rem;
  border-radius: 10px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.6);
}
.artwork-frame {
  background: linear-gradient(180deg, rgba(255,255,255,0.01), transparent);
  padding: 0.5rem;
  border-radius: 6px;
  border: 4px solid rgba(32,30,28,0.6);
  overflow: hidden;
  display: block;
}
.artwork-frame.small { padding: 0.35rem; border-width: 3px; }
.artwork-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(0,0,0,0.12), rgba(0,0,0,0.18));
}

/* artwork meta */
.artwork-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 0.75rem;
}
.artwork-title {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-size: 1rem;
}
.artwork-price {
  color: var(--accent-gold);
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 0.01em;
}

/* Sections */
.section {
  padding: 2.25rem 0;
  border-top: 1px solid rgba(255,255,255,0.02);
}

/* Cards grid */
.cards.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.01), transparent);
  border: 1px solid var(--border-color);
  padding: var(--card-padding);
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(0,0,0,0.55);
}
.card h3 {
  margin: 0.6rem 0 0.45rem 0;
  font-family: var(--font-heading);
  color: var(--text-main);
  font-size: 1.05rem;
}
.card p { color: var(--text-muted); margin: 0; }
.card.artwork .card-cta {
  margin-top: 0.9rem;
  color: var(--accent-gold);
  font-weight: 700;
}

/* Footer */
.site-footer {
  padding: 1.1rem 0;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.04));
}
.site-footer small { display: block; text-align: center; }

/* Accessibility / focus */
a:focus, button:focus {
  outline: 3px solid rgba(196,154,69,0.18);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .artwork-img { height: 220px; }
  .hero { padding-top: 2rem; padding-bottom: 2rem; }
}
