/* Palette & Co — Arts & Crafting Designs template
   Palette: creative violet + a literal paint-swatch accent set, on warm white
   Type: Bricolage Grotesque (display) / Inter (body) / JetBrains Mono (labels) */

:root {
  --ink: #201a2b;
  --violet: #6a3fb5;
  --violet-deep: #52309090;
  --violet-deep-solid: #52308f;
  --cream: #faf7f2;
  --white: #ffffff;
  --line: #e8e1d6;

  --swatch-1: #e0507a;
  --swatch-2: #f2a03d;
  --swatch-3: #3fa6a0;
  --swatch-4: #6a3fb5;

  --font-display: "Bricolage Grotesque", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-label: "JetBrains Mono", monospace;
  --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; }
@media (prefers-reduced-motion: reduce) { html{scroll-behavior:auto;} * { animation-duration:.01ms !important; transition-duration:.01ms !important; } }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.label { font-family: var(--font-label); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--violet-deep-solid); }

/* header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(250,247,242,.95); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.logo .dabs { display: flex; gap: 3px; }
.logo .dabs span { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
nav.primary { display: flex; gap: 28px; }
nav.primary a { text-decoration: none; color: var(--ink); font-size: 14.5px; font-weight: 500; }
nav.primary a:hover { color: var(--violet); }
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; text-decoration: none; padding: 12px 22px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; }
.btn--primary { background: var(--violet); color: var(--white); }
.btn--primary:hover { background: var(--violet-deep-solid); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }

/* hero — paint dab field */
.hero { position: relative; overflow: hidden; }
.hero-inner { padding: 84px 0 60px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(36px,5vw,54px); line-height: 1.08; margin: 16px 0 18px; color: var(--ink); }
.hero h1 span { color: var(--violet); }
.hero p.lede { font-size: 16.5px; line-height: 1.6; color: #56504a; max-width: 46ch; margin-bottom: 28px; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.palette-art { position: relative; aspect-ratio: 1; }
.palette-art .dab { position: absolute; border-radius: 50%; filter: blur(0px); }

/* sections */
section { padding: 76px 0; }
.section-head { max-width: 620px; margin-bottom: 42px; }
.section-head .label { display: block; margin-bottom: 10px; }
.section-head h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px,3.2vw,34px); margin: 0 0 12px; color: var(--ink); }
.section-head p { color: #56504a; line-height: 1.6; margin: 0; }

/* shop grid — masonry-feel via varied heights */
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.piece { background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.piece-photo { height: 190px; }
.piece-body { padding: 18px; }
.piece-body h3 { font-family: var(--font-display); font-size: 17.5px; margin: 0 0 4px; }
.piece-body .medium { font-family: var(--font-label); font-size: 11px; color: #8a8271; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .04em; }
.piece-price { font-weight: 700; font-size: 15px; color: var(--violet-deep-solid); }

/* about the artist */
.artist-shell { display: grid; grid-template-columns: .5fr 1fr; gap: 44px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 40px; }
.artist-photo { aspect-ratio: 1; border-radius: 10px; background: linear-gradient(135deg, var(--swatch-1), var(--swatch-4)); }
.artist-copy h3 { font-family: var(--font-display); font-size: 24px; margin: 0 0 10px; }
.artist-copy p { color: #56504a; line-height: 1.65; margin: 0 0 18px; }

/* palette strip — literal swatch divider */
.swatch-strip { display: flex; height: 14px; border-radius: 999px; overflow: hidden; margin: 0 0 40px; }
.swatch-strip span { flex: 1; }

/* testimonials */
.testi-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.testi { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--violet); padding: 24px; border-radius: 10px; }
.testi p { font-size: 15px; line-height: 1.6; margin: 0 0 14px; font-style: italic; }
.testi .who { font-family: var(--font-label); font-size: 12px; color: #56504a; }

/* commission CTA */
.commission-shell { background: var(--ink); color: var(--white); border-radius: 18px; padding: 48px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: center; }
.commission-copy h2 { font-family: var(--font-display); font-size: clamp(24px,3vw,30px); margin: 12px 0 12px; }
.commission-copy .label { color: var(--swatch-2); }
.commission-copy p { color: #cfc9dd; line-height: 1.6; margin: 0; }
.form-row { margin-bottom: 16px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row label { display: block; font-family: var(--font-label); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: #cfc9dd; margin-bottom: 6px; }
.form-row input, .form-row textarea { width: 100%; font-family: var(--font-body); font-size: 14.5px; padding: 11px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: var(--white); }
.form-row input::placeholder, .form-row textarea::placeholder { color: #9b93b0; }
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--swatch-2); outline-offset: 1px; }
.commission-form .btn--primary { width: 100%; justify-content: center; margin-top: 4px; }

/* footer */
footer.site-footer { background: var(--white); border-top: 1px solid var(--line); color: #56504a; padding: 46px 0 26px; }
footer.site-footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
footer.site-footer h4 { font-family: var(--font-label); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin: 0 0 14px; }
footer.site-footer p, footer.site-footer a { font-size: 14px; line-height: 1.8; text-decoration: none; color: #56504a; }
footer.site-footer a:hover { color: var(--violet); }
.footer-bottom { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); font-family: var(--font-label); font-size: 11px; color: #948c7f; }

@media (max-width: 900px) {
  nav.primary { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .shop-grid, .testi-row { grid-template-columns: 1fr; }
  .artist-shell, .commission-shell { grid-template-columns: 1fr; padding: 30px; }
  .two-col { grid-template-columns: 1fr; }
  footer.site-footer .wrap { grid-template-columns: 1fr; }
}
