/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

/* ── Header ── */
header {
  position: sticky; top: 0; z-index: 100;
  background: hsla(286, 30%, 97%, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 80px;
}

.logo-wrap img {
  height: 60px;
  width: auto;
  display: block;
  transition: filter 0.3s;
}
.logo-wrap:hover img {
  filter: drop-shadow(0 0 10px rgba(167, 139, 250, 0.8)) drop-shadow(0 0 24px rgba(139, 92, 246, 0.5));
}

nav { display: flex; gap: 2rem; }
nav a {
  font-size: 0.76rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color 0.2s;
}
nav a:hover { color: var(--purple); }

/* ── Hero ── */
.hero {
  background: var(--ink);
  position: relative; overflow: hidden;
  min-height: 460px;
  display: flex; align-items: center;
  padding: 5.5rem 2rem 4.5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.hero-bg svg {
  width: 100%;
  height: 100%;
  opacity: 0.18;
}

.hero-content {
  position: relative; z-index: 1;
  display: flex; align-items: center;
  gap: 4rem; flex-wrap: wrap;
  max-width: 1100px; margin: 0 auto; width: 100%;
}

.hero-text { flex: 1; min-width: 260px; }
.hero-eyebrow {
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--lavender); margin-bottom: 1rem; font-weight: 500;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 300; line-height: 1.1;
  margin-bottom: 1.25rem; color: #fff;
}
.hero h1 em { font-style: italic; color: var(--lavender); }
.hero p { font-size: 0.95rem; color: rgba(255,255,255,0.55); max-width: 420px; font-weight: 300; line-height: 1.75; }

/* ── Sections ── */
.page-section { max-width: 1100px; margin: 0 auto; padding: 5rem 2rem; }

.section-label {
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--purple); font-weight: 500; margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 300; color: var(--ink); margin-bottom: 3rem;
}

/* ── Product grid ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(124,58,237,0.1);
  border-color: rgba(124,58,237,0.35);
}

.product-image {
  aspect-ratio: 4/3; background: var(--offwhite);
  position: relative; overflow: hidden;
}
.product-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.product-card:hover .product-image img { transform: scale(1.04); }

.img-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.5rem; color: var(--muted);
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.img-placeholder svg { opacity: 0.3; }

.badge-sold-out {
  position: absolute; top: 0.75rem; left: 0.75rem;
  background: var(--ink); color: #fff;
  font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.25rem 0.6rem; border-radius: 2px; font-weight: 500;
}

.product-body { padding: 1.25rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }

.product-meta {
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--purple); font-weight: 500; margin-bottom: 0.35rem;
}

.product-name {
  font-size: 1.35rem; font-weight: 400; color: var(--ink);
  margin-bottom: 0.5rem; line-height: 1.3;
}

.product-desc { font-size: 0.84rem; color: var(--muted); line-height: 1.65; margin-bottom: 1.25rem; flex: 1; }

.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.product-price {
  font-size: 1.5rem; font-weight: 600; color: var(--ink);
}

.btn-buy {
  display: inline-block;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: #fff; text-decoration: none;
  font-size: 0.76rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.65rem 1.4rem; border-radius: var(--radius);
  transition: opacity 0.2s, transform 0.15s; white-space: nowrap;
  border: none; cursor: pointer;
}
.btn-buy:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-buy.sold-out { background: var(--mist); color: var(--muted); pointer-events: none; }

/* ── Divider ── */
.section-divider { border: none; border-top: 1px solid var(--border); }

/* ── About ── */
.about-strip { background: var(--offwhite); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }

.about-body p { color: var(--muted); font-weight: 300; line-height: 1.8; font-size: 0.95rem; }
.about-body p + p { margin-top: 1rem; }

.about-values { display: flex; flex-direction: column; gap: 1.5rem; }
.about-value-item { display: flex; gap: 1rem; align-items: flex-start; }
.about-value-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  margin-top: 0.5rem; flex-shrink: 0;
}
.about-value-item strong {
  display: block;
  font-size: 1.1rem; font-weight: 400; color: var(--ink); margin-bottom: 0.2rem;
}
.about-value-item p { font-size: 0.88rem; }

/* ── Shipping ── */
.shipping-banner { background: var(--deep); }
.shipping-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 2rem; display: flex; align-items: center;
  justify-content: center; gap: 3rem; flex-wrap: wrap; text-align: center;
}
.shipping-item { font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.shipping-item strong {
  display: block;
  font-size: 1.05rem; font-weight: 400; color: var(--lavender); margin-bottom: 0.15rem;
}

/* ── Footer ── */
footer {
  background: var(--ink); padding: 2rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-logo { height: 40px; width: auto; }
.footer-note { font-size: 0.75rem; color: rgba(255,255,255,0.3); }
footer a { color: rgba(255,255,255,0.35); text-decoration: none; font-size: 0.75rem; transition: color 0.2s; }
footer a:hover { color: var(--lavender); }

/* ── Contact form ── */
.contact-strip { background: var(--offwhite); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}

.contact-intro p { color: var(--muted); font-weight: 300; line-height: 1.8; font-size: 0.95rem; }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-field { display: flex; flex-direction: column; gap: 0.35rem; }

.form-field label {
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 500; color: var(--muted);
}

.form-field label:after {
  content: " *";
  color: var(--pink);
}

.form-field input,
.form-field textarea {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem; font-weight: 300;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.65rem 0.9rem;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px hsla(286, 85%, 55%, 0.12);
}

.form-field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }

.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

.form-status {
  font-size: 0.83rem; font-weight: 400;
  display: none;
}
.form-status.success { color: hsl(145, 60%, 32%); display: block; }
.form-status.error   { color: hsl(0, 70%, 45%); display: block; }

.cf-turnstile { margin-top: 0.25rem; }

/* ── Responsive ── */
@media (max-width: 700px) {
  nav { display: none; }
  .hero-content { gap: 2rem; }
  .hero-logo { height: 80px; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 3.5rem 1.5rem 3rem; }
  .page-section { padding: 3.5rem 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
