/* ==========================================================================
   Die Harfe — shared styles
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&family=Caveat:wght@500;600;700&display=swap');

:root {
  --cream:        #f7f1e3;
  --paper:        #fffdf8;
  --kraft:        #d3bd93;
  --kraft-light:  #e3d1ab;
  --kraft-dark:   #a9895c;
  --ink:          #5b4326;
  --ink-soft:     #85714f;
  --pink:         #e8639e;
  --teal:         #2ea3a3;
  --yellow:       #f0c341;
  --purple:       #9b6bcc;
  --mint:         #6fcf97;
  --coral:        #f2785c;

  --shadow: 0 6px 18px rgba(91, 67, 38, 0.15);
  --shadow-soft: 0 3px 10px rgba(91, 67, 38, 0.10);
  --radius: 14px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

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

h1, h2, h3 {
  font-weight: 700;
  margin: 0 0 0.4em;
  color: var(--ink);
}

.script {
  font-family: 'Caveat', cursive;
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Background texture: diagonal (staggered) dot grid */
.textured {
  background-color: var(--cream);
  background-image:
    radial-gradient(var(--kraft-light) 1px, transparent 1px),
    radial-gradient(var(--kraft-light) 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
}

/* ---------------------------------------------------------------------- */
/* Header / nav                                                           */
/* ---------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 3px solid var(--kraft);
  box-shadow: var(--shadow-soft);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
}

.brand .harp-icon {
  width: 27px;
  height: 33px;
  color: var(--ink);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  color: var(--ink);
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--kraft);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------------------------------------------------------------------- */
/* Hero                                                                    */
/* ---------------------------------------------------------------------- */

.hero {
  padding: 64px 0 56px;
  text-align: center;
}

.hero .harp-icon-big {
  width: 104px;
  height: 128px;
  margin: 0 auto 18px;
  color: var(--kraft-dark);
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  letter-spacing: 0.5px;
}

.hero .tagline {
  font-family: 'Caveat', cursive;
  font-size: clamp(1.4rem, 3.5vw, 1.9rem);
  color: var(--pink);
  font-weight: 700;
  margin-bottom: 20px;
}

.hero p.lead {
  max-width: 560px;
  margin: 0 auto 28px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--pink);
  color: #fff;
  font-weight: 700;
  border-radius: 30px;
  box-shadow: var(--shadow);
  border: none;
  cursor: pointer;
  font-size: 1.05rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(91,67,38,0.22); }

.btn.secondary {
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--kraft-dark);
}

/* ---------------------------------------------------------------------- */
/* Sections                                                                */
/* ---------------------------------------------------------------------- */

section { padding: 48px 0; }

.section-title {
  text-align: center;
  margin-bottom: 36px;
}

.section-title h2 {
  font-size: clamp(1.7rem, 4vw, 2.3rem);
}

.section-title .script {
  color: var(--teal);
  font-size: 1.3rem;
  display: block;
  margin-bottom: 4px;
}

/* ---------------------------------------------------------------------- */
/* Our story                                                               */
/* ---------------------------------------------------------------------- */

.story-section {
  display: none;
}

.story-section.open {
  display: block;
  animation: storyReveal 0.35s ease;
}

@keyframes storyReveal {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.story-card {
  background: var(--paper);
  border: 2px solid var(--kraft);
  border-radius: var(--radius);
  padding: 40px 34px;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.story-card p {
  color: var(--ink);
  font-size: 1.05rem;
  margin-bottom: 18px;
}

.story-card .signature {
  font-size: 1.7rem;
  color: var(--pink);
  margin: 8px 0 0;
}

/* ---------------------------------------------------------------------- */
/* About / feature strip                                                  */
/* ---------------------------------------------------------------------- */

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--kraft-light);
}

.about-card .emoji-badge {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--kraft-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-card h3 { font-size: 1.1rem; }
.about-card p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

/* ---------------------------------------------------------------------- */
/* Product grid + kraft tag cards                                         */
/* ---------------------------------------------------------------------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.tag-card {
  position: relative;
  background: var(--kraft);
  border-radius: var(--radius);
  padding: 26px 18px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid var(--kraft-dark);
}

.tag-card:hover {
  transform: translateY(-4px) rotate(-0.5deg);
  box-shadow: 0 12px 26px rgba(91,67,38,0.25);
}

.tag-card .punch-hole {
  width: 16px;
  height: 16px;
  background: var(--cream);
  border-radius: 50%;
  margin: 0 auto 10px;
  border: 2px solid var(--kraft-dark);
}

.tag-card .price-sticker {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 1.15rem;
  padding: 4px 10px;
  border-radius: 50%;
  box-shadow: var(--shadow-soft);
  border: 1px dashed var(--kraft-dark);
  min-width: 46px;
}

.tag-card.sold-out {
  opacity: 0.6;
}

.tag-card.sold-out .art-wrap img {
  filter: grayscale(1);
}

.tag-card .sold-out-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--ink);
  color: var(--paper);
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 4px 12px;
  border-radius: 20px;
  transform: rotate(-8deg);
  box-shadow: var(--shadow-soft);
  z-index: 2;
}

.tag-card .brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.tag-card .brand-mark .harp-icon { width: 15px; height: 18px; }

.tag-card .product-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.tag-card .art-wrap {
  background: var(--paper);
  border-radius: 10px;
  padding: 14px 8px 18px;
  margin-bottom: 12px;
  overflow: hidden;
}

.tag-card .art-wrap svg { width: 100%; height: 150px; }

.tag-card .art-wrap img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.tag-card .desc {
  font-size: 0.9rem;
  color: #5b4326;
  opacity: 0.85;
  margin: 0;
}

.badge-soon {
  display: inline-block;
  margin-top: 10px;
  font-family: 'Caveat', cursive;
  font-weight: 700;
  color: var(--purple);
  font-size: 1.05rem;
}

/* Coming soon card */
.tag-card.coming-soon {
  background: var(--paper);
  border: 2px dashed var(--kraft-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.tag-card.coming-soon .plus {
  font-size: 2.4rem;
  color: var(--kraft-dark);
  line-height: 1;
  margin-bottom: 8px;
}

/* ---------------------------------------------------------------------- */
/* Category filter chips (merchandise page)                               */
/* ---------------------------------------------------------------------- */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 34px;
}

.filter-chip {
  background: var(--paper);
  border: 2px solid var(--kraft);
  color: var(--ink);
  padding: 8px 18px;
  border-radius: 22px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-chip:hover { border-color: var(--kraft-dark); }

.filter-chip.active {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

/* ---------------------------------------------------------------------- */
/* Order note banner                                                      */
/* ---------------------------------------------------------------------- */

.order-note {
  background: var(--paper);
  border: 2px dashed var(--kraft-dark);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  max-width: 640px;
  margin: 8px auto 0;
}

.order-note h3 { margin-bottom: 8px; }
.order-note p { color: var(--ink-soft); margin-bottom: 18px; }

/* ---------------------------------------------------------------------- */
/* CTA band                                                                */
/* ---------------------------------------------------------------------- */

.cta-band {
  background: var(--kraft);
  text-align: center;
  padding: 56px 0;
  border-top: 3px solid var(--kraft-dark);
  border-bottom: 3px solid var(--kraft-dark);
}

.cta-band h2 { margin-bottom: 10px; }
.cta-band p { color: var(--ink); opacity: 0.85; margin-bottom: 24px; }

/* ---------------------------------------------------------------------- */
/* Footer                                                                  */
/* ---------------------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: var(--kraft-light);
  padding: 36px 0 22px;
  text-align: center;
}

.site-footer .brand {
  color: var(--paper);
  justify-content: center;
  margin-bottom: 10px;
}

.site-footer .harp-icon { color: var(--paper); }

.site-footer p { margin: 4px 0; font-size: 0.9rem; opacity: 0.85; }

.site-footer .footer-links {
  margin-top: 14px;
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.site-footer .footer-links a { opacity: 0.85; font-size: 0.9rem; }
.site-footer .footer-links a:hover { opacity: 1; text-decoration: underline; }

/* ---------------------------------------------------------------------- */
/* Responsive                                                              */
/* ---------------------------------------------------------------------- */

@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; }

  .nav-toggle { display: flex; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-bottom: 3px solid var(--kraft);
  }

  .nav-links.open { max-height: 260px; }

  .nav-links a {
    border-radius: 0;
    padding: 14px 20px;
    border-bottom: 1px solid var(--kraft-light);
  }

  .hero { padding: 44px 0 40px; }
}

@media (max-width: 420px) {
  .product-grid { grid-template-columns: 1fr; }
}
