:root {
  /* WCAG AA Compliant Palettes */
  --bg-primary: #FAF9F6;
  --bg-surface: #FFFFFF;
  --text-main: #1A1A1A;       /* 14.5:1 ratio against #FAF9F6 */
  --text-muted: #545459;      /* > 5.5:1 ratio against light surfaces */
  --accent: #23201E;
  --accent-light: #ECE8E0;
  --gold-accessible: #75551A; /* Compliant 4.7:1 ratio on light surfaces */
  --border: #D6D2CA;          /* Meets 3:1 non-text boundary requirement */
  --focus-ring: #005A9C;      /* High contrast focus outline indicator */
  
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --radius: 8px;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Accessibility: Screen Reader Only Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Accessibility: Skip Navigation Link */
.skip-link {
  position: absolute;
  top: -120px;
  left: 1rem;
  background: var(--accent);
  color: #FFFFFF;
  padding: 0.85rem 1.4rem;
  z-index: 9999;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
  transition: top 0.2s ease-in-out;
}

.skip-link:focus {
  top: 1rem;
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

/* Accessibility: High-Visibility Focus Outline */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

/* Typography */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--accent);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.15; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); line-height: 1.25; }
h3 { font-size: 1.45rem; line-height: 1.3; }

/* Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 5%;
  background: rgba(250, 249, 246, 0.96);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 700;
}

.nav-links ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--text-main); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn.primary {
  background: var(--accent);
  color: #FFFFFF;
}
.btn.primary:hover {
  background: #3c3835;
  transform: translateY(-2px);
}

.btn.secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn.secondary:hover {
  background: var(--accent-light);
}

.btn-nav {
  background: var(--accent);
  color: #FFFFFF !important;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius);
}

.full-width { width: 100%; border: none; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 4rem;
  padding: 4.5rem 5% 4rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.88rem;
  color: var(--gold-accessible);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin: 1.25rem 0 2rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-media img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* Proof Bar */
.proof-bar {
  background: var(--accent-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.2rem 5%;
}

.proof-list {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent);
}

.proof-list li::before {
  content: "✦ ";
  color: var(--gold-accessible);
}

/* Gallery Section */
.section { padding: 4.5rem 5%; }
.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3rem;
}
.section-header p { color: var(--text-muted); margin-top: 0.5rem; }

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

.art-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.art-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.image-wrapper {
  position: relative;
  width: 100%;
  height: 340px;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge.available {
  background: #1B5E20; /* Dark forest green: > 4.5:1 on white text */
  color: #FFFFFF;
}

.badge.sold {
  background: #37474F; /* Dark slate: > 4.5:1 on white text */
  color: #FFFFFF;
}

.card-meta { padding: 1.5rem; }
.card-meta .specs { font-size: 0.9rem; color: var(--text-muted); margin: 0.35rem 0 1.2rem; }

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.card-footer .price { font-size: 1.2rem; font-weight: 700; }

.link-cta {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.link-cta:hover { color: #000000; }

/* Commissions Section */
.commissions-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  list-style: none;
}

.step-card {
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-primary);
}

.step-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--gold-accessible);
  font-weight: 700;
  display: block;
  margin-bottom: 0.75rem;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.about-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
}

.about-text h2 { margin-bottom: 1rem; }
.about-text p { margin-bottom: 1.2rem; color: var(--text-muted); font-size: 1.05rem; }

.social-tags {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  list-style: none;
}

.social-tags a {
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  background: #FFFFFF;
  display: inline-block;
}

/* Contact Section */
.contact-section { background: var(--bg-primary); }
.contact-card {
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg-surface);
  padding: 3rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.contact-header { text-align: center; margin-bottom: 2rem; }
.contact-header p { color: var(--text-muted); margin-top: 0.5rem; }

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.45rem; }

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}

.required-mark {
  color: #C62828;
  font-weight: 700;
  margin-left: 0.15rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-main);
  background: #FFFFFF;
}

/* Footer */
footer {
  text-align: center;
  padding: 3rem 5%;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Respect Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Responsive Adjustments */
@media (max-width: 860px) {
  .hero, .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .navbar { flex-direction: column; gap: 1.25rem; }
  .hero-media img { height: 340px; }
}