:root {
  --bg-color: #f7ede2;
  --text-main: #3d3b38;
  --accent-paint: #f28482;
  --accent-paint2: #84a59d;
  --accent-paint3: #f6bd60;
  --font-heading: 'Playfair Display', serif;
  --font-script: 'Caveat', cursive;
}

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

body {
  background-color: #2c3e50;
  color: var(--text-main);
  font-family: var(--font-heading);
  line-height: 1.8;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  padding: 2rem;
}

.splashes {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: 
    radial-gradient(circle at 10% 20%, rgba(242, 132, 130, 0.4) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(132, 165, 157, 0.4) 0%, transparent 20%),
    radial-gradient(circle at 80% 10%, rgba(246, 189, 96, 0.4) 0%, transparent 30%);
  pointer-events: none;
  z-index: 0;
}

.easel {
  max-width: 900px;
  margin: 0 auto;
  background-color: #8b5a2b; /* wood color */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  position: relative;
  z-index: 1;
}

.canvas {
  background-color: var(--bg-color);
  background-image: url('data:image/svg+xml;utf8,<svg width="200" height="200" xmlns="http://www.w3.org/2000/svg"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="4" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noise)" opacity="0.05"/></svg>');
  padding: 4rem;
  border-radius: 4px;
  box-shadow: inset 0 0 30px rgba(0,0,0,0.1);
  position: relative;
}

header {
  text-align: center;
  margin-bottom: 3rem;
}

h1 {
  font-family: var(--font-script);
  font-size: 5rem;
  color: #2c3e50;
  transform: rotate(-2deg);
  margin-bottom: -10px;
}

.tagline {
  font-size: 1.5rem;
  font-style: italic;
  color: var(--accent-paint2);
}

.brush-stroke {
  width: 150px;
  height: 10px;
  background-color: var(--accent-paint);
  margin: 20px auto;
  border-radius: 50% 20% / 10% 40%;
  opacity: 0.8;
}

.brush-stroke-small {
  width: 80px;
  height: 6px;
  background-color: var(--accent-paint3);
  margin: 10px 0 30px;
  border-radius: 50% 20% / 10% 40%;
}

.section {
  margin-bottom: 4rem;
}

.hidden { display: none !important; }

.script-font {
  font-family: var(--font-script);
  font-size: 3.5rem;
  color: #c0392b;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.badge {
  display: inline-block;
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: white;
  background-color: var(--accent-paint2);
  padding: 5px 20px;
  transform: rotate(-3deg);
  box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
  margin-bottom: 1rem;
}

.meta {
  font-weight: bold;
  color: #7f8c8d;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.highlight {
  font-size: 1.6rem;
  font-style: italic;
  margin: 1.5rem 0;
  border-left: 4px solid var(--accent-paint);
  padding-left: 1rem;
}

.body-text {
  font-size: 1.1rem;
}

.btn-paint {
  display: inline-block;
  background-color: var(--accent-paint);
  color: white;
  border: none;
  padding: 12px 30px;
  font-family: var(--font-script);
  font-size: 2rem;
  cursor: pointer;
  margin-top: 2rem;
  border-radius: 50% 20% / 10% 40%;
  transition: transform 0.2s, background-color 0.2s;
}

.btn-paint:hover {
  transform: scale(1.05) rotate(2deg);
  background-color: #e74c3c;
}

.btn-back {
  background: none;
  border: none;
  color: var(--accent-paint2);
  font-weight: bold;
  font-size: 1.2rem;
  cursor: pointer;
  margin-bottom: 2rem;
}

.details h4 {
  font-family: var(--font-script);
  font-size: 2.2rem;
  color: var(--accent-paint2);
  margin-top: 1.5rem;
}

.gallery-title {
  font-family: var(--font-script);
  font-size: 3rem;
  text-align: center;
  color: #2c3e50;
  margin-bottom: 2rem;
}

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

.archive-card {
  background: white;
  padding: 20px;
  border: 1px solid #ddd;
  box-shadow: 3px 3px 10px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.3s;
  position: relative;
}

.archive-card::before {
  content: '';
  position: absolute;
  top: -10px; left: 50%; transform: translateX(-50%);
  width: 40px; height: 15px;
  background-color: rgba(246, 189, 96, 0.8);
  border-radius: 2px;
  box-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.archive-card:hover {
  transform: scale(1.05) rotate(1deg);
}

.archive-card h4 {
  font-family: var(--font-script);
  font-size: 2rem;
  color: #c0392b;
  line-height: 1.2;
}

.loading, .error {
  text-align: center;
  font-family: var(--font-script);
  font-size: 2rem;
  color: var(--accent-paint2);
}
.error { color: #e74c3c; }

@media (max-width: 768px) {
  .canvas { padding: 2rem; }
  h1 { font-size: 3.5rem; }
}
