:root {
  --background: hsl(45 33% 92%);
  --foreground: hsl(0 0% 15%);
  --card: hsl(45 33% 95%);
  --primary: hsl(60 19% 46%);
  --primary-fg: hsl(45 33% 98%);
  --secondary: hsl(348 32% 51%);
  --muted: hsl(45 20% 88%);
  --muted-fg: hsl(0 0% 35%);
  --border: hsl(45 20% 80%);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "DM Sans", sans-serif;
  background: var(--background);
  color: var(--foreground);
  overflow-x: clip;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
h1, h2, h3, .serif { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: 0.02em; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: hsl(60 19% 38%); }
main { flex: 1; }

/* Ornaments */
.ornamental-line { height: 1px; background: linear-gradient(to right, transparent, var(--border), transparent); }
.divider { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 32px 0; }
.divider .dots { display: flex; align-items: center; gap: 8px; }
.divider .dot { width: 4px; height: 4px; border-radius: 50%; background: color-mix(in srgb, var(--primary) 40%, transparent); }
.divider .line { width: 64px; height: 1px; background: color-mix(in srgb, var(--primary) 30%, transparent); }
.divider .diamond { width: 12px; height: 12px; border: 1px solid color-mix(in srgb, var(--primary) 40%, transparent); transform: rotate(45deg); }

/* Header */
header { background: var(--background); border-bottom: 1px solid color-mix(in srgb, var(--border) 50%, transparent); }
.header-inner { max-width: 80rem; margin: 0 auto; padding: 40px 16px; }
.brand { display: inline-flex; flex-direction: column; align-items: center; color: inherit; }
.brand:hover { color: inherit; }
.brand h1 {
  font-size: clamp(3rem, 8vw, 4.5rem);
  letter-spacing: 0.15em;
  color: var(--primary);
  position: relative;
  transition: color 0.3s;
}
.brand .lotus-accent {
  position: absolute; top: -24px; right: -32px; width: 64px; height: 64px;
  transform: rotate(12deg); transition: transform 0.7s; z-index: -1;
}
.brand:hover .lotus-accent { transform: rotate(45deg); }
.brand .divider { margin: 8px 0; transform: scale(0.9); opacity: 0.8; transition: opacity 0.3s; }
.brand:hover .divider { opacity: 1; }
nav { display: flex; align-items: center; justify-content: center; gap: 40px; }
nav a {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.125rem; letter-spacing: 0.1em; padding: 8px 0;
  color: color-mix(in srgb, var(--foreground) 80%, transparent);
  position: relative; transition: color 0.3s;
}
nav a:hover { color: var(--primary); }
nav a.active { color: var(--primary); font-weight: 500; }
nav a.active::after {
  content: ''; position: absolute; bottom: 0; left: 25%; width: 50%; height: 1px; background: var(--primary);
}

/* Sections */
.section { padding: 64px 0; }
.container { max-width: 42rem; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 80rem; margin: 0 auto; padding: 0 24px; }
.container-med { max-width: 48rem; margin: 0 auto; padding: 0 24px; }
.section h1 { font-size: clamp(2.25rem, 5vw, 3rem); color: var(--primary); margin-bottom: 16px; text-wrap: balance; text-align: center; }
.section h2 { font-size: clamp(1.875rem, 4vw, 2.25rem); color: var(--primary); margin-bottom: 16px; text-wrap: balance; text-align: center; }

/* Link buttons */
.links { display: flex; flex-direction: column; gap: 16px; }
.btn-link {
  display: flex; align-items: center; gap: 12px;
  height: 64px; padding: 0 32px; border-radius: 6px;
  font-size: 1.125rem; color: var(--primary-fg);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-link:hover { transform: scale(1.02); color: var(--primary-fg); }
.btn-link:active { transform: scale(0.98); }
.btn-link.primary { background: var(--primary); }
.btn-link.primary:hover { background: color-mix(in srgb, var(--primary) 90%, black); }
.btn-link.secondary { background: var(--secondary); }
.btn-link.secondary:hover { background: color-mix(in srgb, var(--secondary) 90%, black); }
.btn-link svg { width: 24px; height: 24px; }
.btn-link span { font-family: Georgia, 'Times New Roman', serif; letter-spacing: 0.02em; }

/* Download card */
.download-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  padding: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05); transition: box-shadow 0.2s;
}
.download-card:hover { box-shadow: 0 4px 12px rgb(0 0 0 / 0.08); }
.download-card .file-info { display: flex; align-items: center; gap: 16px; min-width: 0; flex: 1; }
.download-card .file-icon {
  padding: 12px; border-radius: 12px; flex-shrink: 0;
  background: color-mix(in srgb, var(--primary) 10%, transparent); color: var(--primary);
  display: flex;
}
.download-card .file-icon svg { width: 24px; height: 24px; }
.download-card h3 { font-family: "DM Sans", sans-serif; font-weight: 600; font-size: 1.125rem; letter-spacing: 0; }
.btn-download {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: var(--primary-fg);
  padding: 10px 20px; border-radius: 6px; font-size: 0.875rem; font-weight: 500;
  transition: background 0.2s;
}
.btn-download:hover { background: color-mix(in srgb, var(--primary) 90%, black); color: var(--primary-fg); }
.btn-download svg { width: 16px; height: 16px; }

/* Works grid */
.works-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 768px) { .works-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .works-grid { grid-template-columns: repeat(3, 1fr); } }
.artwork-card {
  background: var(--card); border: 1px solid color-mix(in srgb, var(--border) 50%, transparent);
  border-radius: 12px; overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.artwork-card:hover { transform: translateY(-4px); box-shadow: 0 10px 25px rgb(0 0 0 / 0.08); }
.artwork-card .thumb {
  aspect-ratio: 1; background: var(--muted); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.artwork-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.artwork-card .thumb img:hover { transform: scale(1.05); }
.artwork-card .thumb .placeholder { font-size: 0.875rem; color: color-mix(in srgb, var(--muted-fg) 30%, transparent); }
.artwork-card .body { padding: 24px; }
.artwork-card h3 { font-size: 1.25rem; margin-bottom: 12px; text-wrap: balance; }
.artwork-card p { font-size: 0.875rem; line-height: 1.6; color: var(--muted-fg); }

/* Footer */
footer { background: var(--background); border-top: 1px solid color-mix(in srgb, var(--border) 50%, transparent); margin-top: 80px; }
.footer-inner { max-width: 80rem; margin: 0 auto; padding: 48px 24px; }
.footer-floral { display: flex; align-items: flex-end; justify-content: center; margin: 32px 0; opacity: 0.9; position: relative; }
.footer-floral svg { width: 128px; height: 128px; }
.footer-floral .baseline {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 128px; height: 1px;
  background: linear-gradient(to right, transparent, color-mix(in srgb, var(--primary) 30%, transparent), transparent);
}
.footer-social { display: flex; justify-content: center; gap: 24px; margin-bottom: 24px; }
.footer-social a { color: var(--muted-fg); padding: 8px; border-radius: 8px; transition: color 0.2s; display: flex; }
.footer-social a:hover { color: var(--primary); }
.footer-social svg { width: 20px; height: 20px; }
footer .copyright { text-align: center; font-size: 0.875rem; color: var(--muted-fg); }

/* Entrance animations (framer-motion equivalents) */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeLeft { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } }
.anim-fade-up { animation: fadeUp 0.5s ease-out both; }
.anim-fade-in { animation: fadeIn 0.6s ease-out 0.2s both; }
.anim-fade-left { animation: fadeLeft 0.4s ease-out both; }
.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) {
  .anim-fade-up, .anim-fade-in, .anim-fade-left { animation: none; }
}
