/* =========================================================
   BEADLES — Design tokens
   Palette pulled from the logo + the bead colors themselves.
   Display type: Baloo 2 (rounded/bubbly, echoes the logo's
   bubble lettering). Body: Nunito. Tags/prices: Space Mono,
   set like little price tags on a craft-fair table.
   ========================================================= */

:root {
  --cream: #FFFBF2;
  --cloud: #FFFFFF;
  --ink: #232B45;
  --ink-soft: #4B5470;

  --blue: #1C7FC4;
  --blue-deep: #0F5C94;
  --blue-pale: #E4F1FB;

  --pink: #FF5FA2;
  --pink-deep: #E23F84;
  --pink-pale: #FFE7F1;

  --purple: #8B5FBF;
  --purple-pale: #F1E9FA;

  --green: #3FA96A;
  --green-pale: #E6F6EC;

  --yellow: #FFD84D;

  --line: #E7DFD0;
  --shadow: 0 10px 26px rgba(35, 43, 69, 0.10);
  --shadow-sm: 0 4px 12px rgba(35, 43, 69, 0.08);

  --radius-bead: 22px;
  --radius-pill: 999px;

  --font-display: "Baloo 2", ui-rounded, "Segoe UI", sans-serif;
  --font-body: "Nunito", ui-sans-serif, system-ui, sans-serif;
  --font-tag: "Space Mono", ui-monospace, monospace;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 .5em;
  color: var(--ink);
}
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Eyebrow / tag / price type ---------- */
.eyebrow {
  font-family: var(--font-tag);
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-deep);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pink);
  display: inline-block;
}
.price-tag {
  font-family: var(--font-tag);
  font-weight: 700;
  color: var(--pink-deep);
}

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 251, 242, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: 1120px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img { height: 46px; width: auto; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--blue-deep);
  display: none;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  font-weight: 700;
  font-size: 15px;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  color: var(--ink-soft);
  transition: background .15s ease, color .15s ease;
  white-space: nowrap;
}
.main-nav a:hover { background: var(--blue-pale); color: var(--blue-deep); }
.main-nav a.active { background: var(--blue); color: #fff; }
.nav-cta {
  margin-left: 6px;
  background: var(--pink) !important;
  color: #fff !important;
}
.nav-cta:hover { background: var(--pink-deep) !important; color: #fff !important; }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--ink);
  border-radius: 12px;
  width: 44px;
  height: 40px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--cloud);
    border-bottom: 2px solid var(--line);
    padding: 10px 16px 18px;
    gap: 2px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 14px; }
  .nav-cta { margin-left: 0; }
}

/* =========================================================
   BEAD STRAND DIVIDER — the signature element.
   A row of real bead photos strung along a gently curved
   line, like a bracelet laid on a table. Used to break
   sections instead of a plain <hr>.
   ========================================================= */
.strand {
  position: relative;
  height: 74px;
  margin: 8px 0;
  overflow: hidden;
}
.strand svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.strand-beads {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  padding: 0 4%;
}
.strand-beads img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 3px 8px rgba(35,43,69,.18), inset 0 0 0 2px rgba(255,255,255,.5);
}
.strand-beads img:nth-child(odd) { transform: translateY(10px); }
.strand-beads img:nth-child(3n) { transform: translateY(-8px); }
.strand-beads img:nth-child(5n) { transform: translateY(4px); }
@media (max-width: 640px) {
  .strand-beads img { width: 30px; height: 30px; }
  .strand-beads img:nth-child(n) { transform: translateY(0); }
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  border: 3px solid transparent;
  transition: transform .12s ease, box-shadow .12s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--pink); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--pink-deep); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: var(--shadow-sm); }
.btn-blue:hover { background: var(--blue-deep); }
.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-white { background: #fff; color: var(--blue-deep); box-shadow: var(--shadow-sm); }
.btn-block { width: 100%; justify-content: center; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* =========================================================
   HERO (shared shape used with page-specific content)
   ========================================================= */
.hero {
  padding: 56px 0 40px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--blue-deep);
}
.hero h1 em {
  font-style: normal;
  color: var(--pink);
}
.hero p.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 46ch;
}
.hero-art {
  position: relative;
  aspect-ratio: 1/1;
  max-width: 320px;
  margin-inline: auto;
  border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
  background: var(--blue-pale);
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-art img.hero-logo {
  width: 72%;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 8px 18px rgba(35,43,69,.15));
}
@media (max-width: 900px) {
  }

/* small page hero (interior pages) */
.page-hero {
  padding: 46px 0 20px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 2.9rem); color: var(--blue-deep); }
.page-hero p { max-width: 60ch; margin: 0 auto; color: var(--ink-soft); font-size: 1.05rem; }

/* =========================================================
   SECTIONS / CARDS
   ========================================================= */
section { padding: 46px 0; }
.section-tight { padding: 24px 0; }
.section-head { max-width: 62ch; margin-bottom: 30px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.2rem); }
.section-alt { background: var(--cloud); }
.section-blue { background: var(--blue-pale); }
.section-pink { background: var(--pink-pale); }

.card {
  background: var(--cloud);
  border: 2px solid var(--line);
  border-radius: var(--radius-bead);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.grid {
  display: grid;
  gap: 22px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Product / category cards */
.item-card {
  background: var(--cloud);
  border: 2px solid var(--line);
  border-radius: var(--radius-bead);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
  display: flex;
  flex-direction: column;
}
.item-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.item-card .thumb {
  aspect-ratio: 4/3;
  background: var(--blue-pale);
  overflow: hidden;
  position: relative;
}
.item-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.item-card .thumb img.focus-lower { object-position: center 90%; }
.item-card .body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.item-card h3 { font-size: 1.15rem; margin-bottom: 2px; }
.item-card .meta { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 10px; }

.placeholder-thumb {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: repeating-linear-gradient(135deg, var(--blue-pale), var(--blue-pale) 14px, #dcedf8 14px, #dcedf8 28px);
  color: var(--blue-deep);
  font-family: var(--font-tag);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  padding: 10px;
}

.badge {
  display: inline-block;
  font-family: var(--font-tag);
  font-size: 11.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: var(--green-pale);
  color: #217A45;
}
.badge-pink { background: var(--pink-pale); color: var(--pink-deep); }
.badge-purple { background: var(--purple-pale); color: var(--purple); }
.badge-blue { background: var(--blue-pale); color: var(--blue-deep); }

/* =========================================================
   COLOR LIBRARY
   ========================================================= */
.filter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.filter-chip {
  font-family: var(--font-tag);
  font-size: 12.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--line);
  background: var(--cloud);
  color: var(--ink-soft);
  transition: all .12s ease;
}
.filter-chip:hover { border-color: var(--blue); color: var(--blue-deep); }
.filter-chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }

.color-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .color-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .color-grid { grid-template-columns: repeat(2, 1fr); } }

.swatch {
  background: var(--cloud);
  border: 2px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  text-align: center;
  transition: transform .12s ease, box-shadow .12s ease;
}
.swatch:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.swatch .circle {
  aspect-ratio: 1/1;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 10px;
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.55);
}
.swatch .circle img { width: 100%; height: 100%; object-fit: cover; }
.swatch h4 { font-size: .95rem; margin: 0 0 3px; }
.swatch .finish {
  font-family: var(--font-tag);
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* =========================================================
   STEPS (custom order flow)
   ========================================================= */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--cloud);
  border: 2px solid var(--line);
  border-radius: var(--radius-bead);
  padding: 24px 20px;
  position: relative;
}
.step .num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--pink);
  margin-bottom: 8px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { font-size: .95rem; color: var(--ink-soft); margin: 0; }

/* =========================================================
   FORMS
   ========================================================= */
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 700;
  font-size: .92rem;
  margin-bottom: 6px;
  color: var(--ink);
}
.hint { font-size: .82rem; color: var(--ink-soft); margin-top: 4px; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--line);
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--cloud);
  color: var(--ink);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  outline: none;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
@media (max-width: 560px) { .checkbox-grid { grid-template-columns: repeat(2, 1fr); } }
.checkbox-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 9px 10px;
  font-size: .88rem;
}
.checkbox-pill input { accent-color: var(--pink); width: 16px; height: 16px; }

.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; }

/* Color picker on the custom order form */
.color-pick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  max-height: 300px;
  overflow-y: auto;
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: var(--cream);
}
@media (max-width: 640px) { .color-pick { grid-template-columns: repeat(2, 1fr); } }
.color-pick .checkbox-pill { background: var(--cloud); font-size: .84rem; }
.color-pick .checkbox-pill.special {
  background: var(--pink-pale);
  border-color: #FBCFE0;
  font-weight: 700;
}
.color-pick .checkbox-pill:has(input:checked) {
  border-color: var(--pink);
  background: var(--pink-pale);
}

.form-note {
  background: var(--blue-pale);
  border-radius: 14px;
  padding: 16px 18px;
  font-size: .92rem;
  color: var(--blue-deep);
  margin-bottom: 22px;
}

/* =========================================================
   FAQ ACCORDION
   ========================================================= */
.faq-item {
  border: 2px solid var(--line);
  border-radius: 16px;
  margin-bottom: 12px;
  background: var(--cloud);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--pink);
  flex-shrink: 0;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body {
  padding: 0 22px 20px;
  color: var(--ink-soft);
}

/* =========================================================
   CALLOUT / SAFETY NOTE
   ========================================================= */
.callout {
  border-radius: var(--radius-bead);
  padding: 22px 24px;
  border: 2px solid var(--line);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.callout .icon {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
}
.callout-safety { background: var(--pink-pale); border-color: #FBCFE0; }
.callout-shipping { background: var(--blue-pale); border-color: #C9E3F5; }
.callout h4 { margin-bottom: 4px; }
.callout p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 42px;
  align-items: center;
}
@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; } }
.about-photo {
  position: relative;
  border-radius: 34% 66% 62% 38% / 45% 40% 60% 55%;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 1/1.05;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.quote-block {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--blue-deep);
  border-left: 4px solid var(--pink);
  padding-left: 18px;
  margin: 20px 0;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--ink);
  color: #E9EBF3;
  padding: 46px 0 26px;
  margin-top: 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 30px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h5 {
  font-family: var(--font-tag);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9AA3C2;
  margin-bottom: 14px;
}
.site-footer .brand-foot { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.site-footer .brand-foot img { height: 40px; }
.site-footer p { color: #B7BEDA; font-size: .92rem; }
.site-footer ul li { margin-bottom: 9px; }
.site-footer a { color: #DCE0F0; font-size: .92rem; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .82rem;
  color: #8B93B4;
}

/* =========================================================
   MISC UTILITIES
   ========================================================= */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--pink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---- Swipeable gallery ---- */
.gallery-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.gallery-arrows { display: flex; gap: 8px; }
.g-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--blue-deep, #2b5aa6);
  background: #fff;
  color: var(--blue-deep, #2b5aa6);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform .15s ease, background .15s ease;
}
.g-arrow:hover { background: var(--blue-pale, #eaf2ff); transform: scale(1.06); }
.gallery-scroller {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px max(calc((100vw - 1120px) / 2), 20px) 22px;
  scrollbar-width: thin;
}
.g-slide {
  flex: 0 0 auto;
  width: min(300px, 78vw);
  margin: 0;
  scroll-snap-align: center;
  background: #fff;
  border-radius: var(--radius, 18px);
  box-shadow: var(--shadow, 0 8px 22px rgba(35,43,69,.10));
  overflow: hidden;
}
.g-slide img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
}
.g-slide img.focus-lower { object-position: center 90%; }
.g-placeholder {
  width: 100%;
  aspect-ratio: 1/1;
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--blue-pale, #eaf2ff);
  color: var(--ink-soft, #5a6478);
  font-weight: 700;
  font-size: .95rem;
  padding: 12px;
}
.g-slide figcaption {
  padding: 12px 14px;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink, #232b45);
  min-height: 44px;
}
@media (max-width: 640px) {
  .gallery-scroller { padding-left: 16px; padding-right: 16px; }
}
