/* Curtis Long Fine Art — Atelier & Archive Stylesheet
   Crafted with Google Stitch Design System "Atelier Curtis Long"
   Runs alongside compiled Tailwind CSS (tailwind.css).
*/

:root {
  --bg-canvas: #09090b;
  --bg-surface-low: #131315;
  --bg-surface: #18181b;
  --bg-surface-high: #201f22;
  --bg-surface-highest: #27272a;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hairline: rgba(212, 175, 55, 0.2);
  --gold-primary: #d4af37;
  --gold-bright: #f2ca50;
  --amber-secondary: #f59e0b;
  --text-ivory: #f4f4f5;
  --text-muted: #a1a1aa;
  --text-dark: #09090b;
}

html, body {
  background-color: var(--bg-canvas);
  color: var(--text-ivory);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
}

h1, h2, h3, h4, .font-serif, .font-headline {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  letter-spacing: 0.02em;
}

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

/* Material Symbols */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
}

/* Museum Lighting & Vitrine Effects */
.museum-spotlight {
  background: radial-gradient(circle at 50% 35%, rgba(242, 202, 80, 0.08) 0%, rgba(9, 9, 11, 0) 70%);
}

.vitrine-hover {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.vitrine-hover:hover {
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.8), 0 0 25px rgba(212, 175, 55, 0.1);
  transform: translateY(-2px);
}

/* Buttons */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--gold-primary);
  color: var(--text-dark);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.875rem 1.75rem;
  border: 1px solid var(--gold-primary);
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-gold:hover {
  background-color: var(--amber-secondary);
  border-color: var(--amber-secondary);
  color: #000;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.35);
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: transparent;
  color: var(--text-ivory);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.875rem 1.75rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-outline-gold:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background-color: rgba(212, 175, 55, 0.05);
}

/* Museum Archive Layout Helpers (CSP-safe & offline-compiled) */
.archive-anchor {
  scroll-margin-top: 6rem;
}

.archive-container {
  width: 100%;
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  padding: 4rem 1.5rem;
}

.archive-grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

.archive-grid-3 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .archive-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .archive-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.archive-frame-4x3 {
  aspect-ratio: 4 / 3;
  background-color: #09090b;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.archive-frame-4x3 img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.archive-frame-cover {
  aspect-ratio: 4 / 3;
  background-color: #09090b;
  overflow: hidden;
}

.archive-frame-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.archive-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-color: #131315;
  color: #d0c5af;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.archive-pill:hover,
.archive-pill-active {
  border-color: rgba(212, 175, 55, 0.65);
  color: #d4af37;
  background-color: rgba(212, 175, 55, 0.08);
}

.archive-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: #18181b;
  padding: 1.5rem;
}

.archive-subnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem;
  margin-top: 1.5rem;
}

.footer-grid-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

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