/* Tangle Charms — fine-jewelry editorial, mobile-first */
:root {
  --ivory: #F7F1EA;
  --pearl: #FBF7F2;
  --silk: #EFE6DC;
  --blush: #F0D6D2;
  --rose-quartz: #E4C2BC;
  --dusty-rose: #C48E8A;
  --rose-deep: #8F5E5C;
  --champagne: #C9B08A;
  --rose-gold: #C9A390;
  --espresso: #2C1E22;
  --ink: #1C1416;
  --plum: #3A2A30;
  --muted: #7A6564;
  --line: rgba(201, 176, 138, 0.42);
  --line-strong: rgba(201, 163, 144, 0.65);
  --shadow: 0 18px 44px rgba(142, 94, 92, 0.14);
  --shadow-hover: 0 22px 50px rgba(142, 94, 92, 0.22);
  --display: "Cormorant Garamond", "Palatino Linotype", "Times New Roman", serif;
  --sans: "Inter Tight", "Inter", "Helvetica Neue", system-ui, sans-serif;
  --header-h: 68px;
  --page: min(1180px, calc(100% - 32px));
  --reveal: 0%;
  --radius: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
.section, .hero { scroll-margin-top: calc(var(--header-h) + 20px); }
html, body { margin: 0; padding: 0; }
html, body { overflow-x: hidden; }
body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, .wordmark, .ticker, .eyebrow, .btn, .stat-strip, .price, .step-num, .filter, .reveal-cue {
  letter-spacing: inherit;
}
h1, h2 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.02em;
  margin: 0;
  text-transform: none;
  color: var(--espresso);
}
h3 { margin: 0 0 0.4em; font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.skip {
  position: absolute;
  left: 12px;
  top: 0;
  transform: translateY(-150%);
  background: var(--dusty-rose); color: var(--ivory);
  padding: 8px 14px; z-index: 200;
  font-weight: 600;
}
.skip:focus, .skip:focus-visible { transform: translateY(12px); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(251, 247, 242, 0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: var(--page);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}
.wordmark {
  font-family: var(--display);
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  color: var(--espresso);
}
.wordmark::after {
  content: "";
  display: inline-block;
  width: 0.42em; height: 0.42em;
  margin-left: 0.2em;
  background: radial-gradient(circle at 35% 30%, #fff 0 28%, var(--pearl) 42%, var(--rose-quartz) 74%, var(--dusty-rose) 100%);
  border-radius: 50%;
  transform: translateY(-0.12em);
  box-shadow: 0 0 0 1px rgba(201, 163, 144, 0.35), 0 2px 5px rgba(142, 94, 92, 0.2);
}
.nav {
  display: none;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}
.nav a {
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.82;
}
.nav a:hover, .nav a:focus-visible { opacity: 1; color: var(--dusty-rose); }
.header-cta { margin-left: auto; }
.menu-toggle {
  width: 44px; height: 44px;
  margin-left: 4px;
  border: 0;
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
body.nav-open .menu-toggle span:first-child { transform: translateY(4.25px) rotate(45deg); }
body.nav-open .menu-toggle span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

@media (max-width: 859px) {
  .wordmark { font-size: 1.28rem; }
  .header-inner { gap: 8px; width: min(1180px, calc(100% - 20px)); }
  .header-cta { padding: 9px 13px; font-size: 0.7rem; margin-left: auto; }
  .menu-toggle { margin-left: 0; }
  .nav {
    display: flex;
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    background: rgba(247, 241, 234, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s;
  }
  body.nav-open .nav {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .nav a {
    padding: 14px 8px;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }
}
@media (min-width: 860px) {
  .menu-toggle { display: none; }
  .nav { display: flex; }
  .header-cta { margin-left: 8px; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 20px;
  line-height: 1;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  background: transparent;
  color: var(--ink);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--dusty-rose); outline-offset: 3px; }
.btn-lime {
  background: var(--dusty-rose);
  color: var(--ivory);
  border-color: var(--dusty-rose);
  box-shadow: 0 8px 20px rgba(142, 94, 92, 0.22);
}
.btn-lime:hover { background: var(--rose-deep); border-color: var(--rose-deep); }
.btn-pill, .btn-ghost {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}
.btn-pill:hover, .btn-ghost:hover {
  border-color: var(--dusty-rose);
  color: var(--dusty-rose);
}
.btn-mini {
  padding: 8px 12px;
  font-size: 0.68rem;
  border-color: var(--line-strong);
}
.btn-mini:hover { border-color: var(--dusty-rose); color: var(--dusty-rose); }
.btn-block { width: 100%; padding: 16px 20px; }

/* Hero */
.hero {
  width: var(--page);
  margin: 0 auto;
  padding: 28px 0 8px;
  display: grid;
  gap: 28px;
  align-items: center;
}
@media (max-width: 959px) {
  .hero {
    padding: 18px 0 8px;
    gap: 16px;
    grid-template-columns: 1fr;
  }
  .hero-copy { display: contents; }
  .hero .eyebrow { grid-area: auto; order: 0; }
  .hero h1 {
    order: 1;
    font-size: clamp(3.4rem, 16vw, 4.8rem);
    margin-bottom: 4px;
  }
  .hero-visual { order: 2; }
  .hero .lead { order: 3; margin-top: 4px; font-size: 0.98rem; }
  .hero-actions { order: 4; margin: 10px 0 8px; }
  .stat-strip { order: 5; }
  .portrait {
    max-height: min(62vh, 640px);
    width: 100%;
  }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dusty-rose);
}
.eyebrow .dot {
  width: 8px; height: 8px;
  background: radial-gradient(circle at 35% 30%, #fff 0 28%, var(--pearl) 40%, var(--rose-quartz) 72%, var(--dusty-rose) 100%);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(201, 163, 144, 0.35), 0 2px 6px rgba(142, 94, 92, 0.2);
}
.eyebrow .num {
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: var(--dusty-rose);
}
.hero h1 {
  font-size: clamp(4.1rem, 14vw, 6.6rem);
  margin: 0 0 18px;
  font-weight: 500;
}
.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--dusty-rose);
}
.lead, .section-lead {
  color: var(--muted);
  max-width: 38em;
  font-size: 1.05rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 24px;
}
.stat-strip {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
}
.stat-strip li {
  border: 1px solid var(--line);
  background: var(--pearl);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--plum);
}
.stat-strip strong {
  color: var(--ink);
  font-weight: 700;
}

/* Portrait reveal */
.hero-visual { width: 100%; }
.portrait {
  --reveal: 0%;
  position: relative;
  aspect-ratio: 3 / 4;
  max-height: min(78vh, 820px);
  margin: 0 auto;
  overflow: hidden;
  isolation: isolate;
  border-radius: 28px;
  border: 1px solid var(--line-strong);
  background: var(--silk);
  touch-action: none;
  user-select: none;
  cursor: ew-resize;
  box-shadow: var(--shadow);
}
.layer {
  position: absolute;
  inset: 0;
}
.layer-tangled { background: var(--silk); }
.layer-clean { background: var(--blush); }
.layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.layer-clean img { object-position: center 48%; }
.layer-clean {
  clip-path: inset(0 calc(100% - var(--reveal)) 0 0);
  will-change: clip-path;
}
.reveal-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--reveal);
  width: 2px;
  background: var(--dusty-rose);
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 16px rgba(201, 163, 144, 0.55);
  opacity: 0;
  z-index: 2;
  transition: opacity 0.2s ease;
}
.portrait.is-interacting .reveal-handle,
.portrait.is-peeking .reveal-handle {
  opacity: 1;
}
.portrait.hide-handle .reveal-handle { opacity: 0 !important; }
.handle-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--dusty-rose);
  color: var(--ivory);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 6px rgba(201, 163, 144, 0.28), 0 8px 24px rgba(142, 94, 92, 0.22);
}
.reveal-cue {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  margin: 0;
  z-index: 2;
  pointer-events: none;
}
.reveal-cue span {
  display: inline-block;
  background: rgba(251, 247, 242, 0.90);
  color: var(--ink);
  border: 1px solid var(--dusty-rose);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  animation: cue-pulse 2.4s var(--ease) infinite;
}
@keyframes cue-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 163, 144, 0.0); }
  50% { box-shadow: 0 0 0 6px rgba(201, 163, 144, 0.28); }
}
.portrait.is-peeking { /* set via JS on --reveal */ }
.portrait.is-interacting .reveal-cue { opacity: 0.55; }

@media (min-width: 960px) {
  .hero {
    grid-template-columns: 1fr 0.95fr;
    gap: 48px;
    padding: 36px 0 16px;
    min-height: calc(100vh - var(--header-h) - 52px);
  }
  .hero h1 { font-size: clamp(5rem, 7.2vw, 7.1rem); }
  .portrait { width: 100%; max-height: min(82vh, 780px); }
}

/* Ticker */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--blush);
  overflow: hidden;
  margin-top: 20px;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 28s linear infinite;
  font-family: var(--display);
  font-size: 1.35rem;
  font-style: italic;
  letter-spacing: 0.08em;
  text-transform: none;
  color: var(--rose-deep);
  padding: 14px 0;
  white-space: nowrap;
}
.ticker-track span { padding-right: 0.4em; }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Sections */
.section {
  width: var(--page);
  margin: 0 auto;
  padding: 72px 0 24px;
}
.section-head { margin-bottom: 32px; max-width: 720px; }
.section h2 {
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  margin: 0 0 16px;
  font-weight: 500;
}
.section h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--dusty-rose);
}

/* Filters + products */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
}
.filter {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.filter:hover, .filter:focus-visible { border-color: var(--dusty-rose); }
.filter.is-active {
  background: var(--dusty-rose);
  color: var(--ivory);
  border-color: var(--dusty-rose);
}
.product-grid {
  display: grid;
  gap: 16px;
}
.product-card {
  background: var(--pearl);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 28px rgba(142, 94, 92, 0.08);
  transition: border-color 0.25s, transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.product-card:hover { border-color: var(--rose-gold); transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.product-card[hidden] { display: none !important; }
.product-media {
  position: relative;
  aspect-ratio: 1;
  background: var(--blush);
  overflow: hidden;
}
.product-media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.media-illustration {
  background: var(--pearl);
  padding: 18px;
}
.media-illustration img { object-fit: contain; }
.tag {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(44, 30, 34, 0.72);
  color: var(--pearl);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tag-lime { background: var(--blush); color: var(--rose-deep); border-color: var(--rose-gold); }
.product-body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.product-body p { color: var(--muted); font-size: 0.92rem; flex: 1; }
.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
}
.price {
  font-family: var(--display);
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  color: var(--espresso);
}
.product-card.featured { border-color: rgba(201, 163, 144, 0.55); }

@media (min-width: 700px) {
  .product-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1080px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
}

.gallery-row {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
.gallery-row figure { margin: 0; }
.gallery-row img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(142, 94, 92, 0.08);
}
.gallery-row figcaption {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--muted);
}
@media (min-width: 800px) {
  .gallery-row { grid-template-columns: repeat(3, 1fr); }
}

/* Story */
.story-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}
.story-copy h2 { font-size: clamp(2.5rem, 6vw, 4.1rem); }
.story-copy p { color: var(--muted); }
.story-points {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 16px;
}
.story-points li {
  border-left: 2px solid var(--dusty-rose);
  padding: 2px 0 2px 16px;
  color: var(--muted);
}
.story-points strong {
  display: block;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.story-shot { margin: 0; }
.story-shot img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 40%;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.story-shot figcaption {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
@media (min-width: 900px) {
  .story-grid { grid-template-columns: 1.15fr 0.85fr; gap: 56px; }
}

/* How */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.step {
  background: var(--pearl);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px 22px;
  position: relative;
}
.step-num {
  font-family: var(--display);
  font-size: 2.6rem;
  font-style: italic;
  font-weight: 500;
  color: var(--dusty-rose);
  letter-spacing: 0;
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.step-art {
  color: var(--ink);
  width: 140px;
  margin: 4px 0 12px;
  opacity: 0.95;
}
.step h3 { font-size: 1.25rem; }
.step p { color: var(--muted); margin: 0; }
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}

/* Shop */
.shop { padding-bottom: 80px; }
.shop-grid {
  display: grid;
  gap: 32px;
}
@media (min-width: 900px) {
  .shop-grid { grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
}
.shop-note {
  color: var(--muted);
  font-size: 0.9rem;
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 18px;
}
.order-card {
  background: var(--pearl);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  padding: 22px 18px 24px;
}
.pack-picker {
  border: 0;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 8px;
}
.pack-picker legend {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dusty-rose);
  margin-bottom: 10px;
}
.pack { display: block; cursor: pointer; }
.pack input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.pack-ui {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 14px;
  transition: border-color 0.2s, background 0.2s;
}
.pack:hover .pack-ui { border-color: var(--line-strong); }
.pack input:focus-visible + .pack-ui { outline: 2px solid var(--dusty-rose); outline-offset: 2px; }
.pack input:checked + .pack-ui {
  border-color: var(--dusty-rose);
  background: rgba(240, 214, 210, 0.55);
}
.pack-name { font-weight: 600; }
.pack-price {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--dusty-rose);
}
.qty-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 16px;
  align-items: center;
  margin-bottom: 18px;
}
.qty-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  justify-self: end;
}
.qty-btn {
  width: 44px; height: 44px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 600;
}
.qty-btn:hover { color: var(--dusty-rose); }
.qty input {
  width: 48px;
  height: 44px;
  border: 0;
  background: transparent;
  text-align: center;
  -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { appearance: none; margin: 0; }
.qty-total {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.qty-total strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  font-weight: 400;
  margin-left: 6px;
}
.field { display: block; margin-bottom: 16px; }
.field span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.field input {
  width: 100%;
  background: var(--pearl);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 14px;
  color: var(--ink);
}
.field input:focus {
  outline: none;
  border-color: var(--dusty-rose);
}
.form-fine {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--muted);
}
.form-status {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(240, 214, 210, 0.7);
  border: 1px solid rgba(196, 142, 138, 0.45);
  color: var(--ink);
}
.form-status.is-error {
  background: rgba(142, 94, 92, 0.08);
  border-color: rgba(142, 94, 92, 0.45);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--espresso);
  padding: 48px 0 36px;
  margin-top: 20px;
}
.footer-inner {
  width: var(--page);
  margin: 0 auto;
}
.footer-brand { margin-bottom: 22px; }
.footer-brand p {
  margin-top: 12px;
  color: var(--rose-quartz);
  font-size: 0.92rem;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 28px;
}
.site-footer .wordmark { color: var(--pearl); }
.site-footer nav a {
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pearl);
}
.site-footer nav a:hover { color: var(--dusty-rose); }
.legal, .copy {
  color: #D8C2BC;
  font-size: 0.75rem;
  max-width: 72em;
  line-height: 1.5;
}
.copy { margin-top: 16px; }

/* Reveal / scroll animations */
.reveal-up {
  opacity: 0;
  transform: translateY(22px);
  animation: none;
}
.reveal-up.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track, .reveal-cue span { animation: none; }
  .reveal-up { opacity: 1; transform: none; }
  .btn:hover { transform: none; }
}

/* Small phones */
@media (max-width: 389px) {
  :root { --page: min(1180px, calc(100% - 24px)); }
  .hero h1 { font-size: 3.6rem; }
  .reveal-cue span { font-size: 0.58rem; padding: 7px 10px; }
}


/* —— Cute jewelry micro-details —— */
.sparkle {
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  color: var(--rose-gold);
  vertical-align: middle;
  flex: none;
  animation: twinkle 2.8s ease-in-out infinite;
}
.sparkle.lg { width: 1.15em; height: 1.15em; }
.sparkle.delay { animation-delay: 1.1s; }
@keyframes twinkle {
  0%, 100% { opacity: 0.45; transform: scale(0.85) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.08) rotate(18deg); }
}

.pearl-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 8px auto 0;
  width: var(--page);
  padding: 18px 0 0;
  pointer-events: none;
}
.pearl-divider .bead {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0 28%, var(--pearl) 42%, var(--rose-quartz) 74%, var(--dusty-rose) 100%);
  box-shadow: 0 1px 3px rgba(142, 94, 92, 0.25);
}
.pearl-divider .bead.sm { width: 5px; height: 5px; }
.pearl-divider .bead.lg { width: 11px; height: 11px; }
.pearl-divider .chain {
  width: 28px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--champagne), transparent);
}

.hero h1 { position: relative; }
.hero-copy .sparkle-float {
  position: absolute;
  color: var(--rose-gold);
  width: 22px; height: 22px;
  animation: twinkle 3.2s ease-in-out infinite;
  pointer-events: none;
}
.hero-actions .btn { min-height: 44px; }

/* dainty button hover */
.btn { transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s; }
.btn-lime:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(142, 94, 92, 0.28); }
.btn-mini:hover, .btn-ghost:hover, .btn-pill:hover { transform: translateY(-1px); }

/* portrait jewelry frame */
.portrait { outline: 1px solid rgba(201, 176, 138, 0.25); outline-offset: 6px; }
@media (max-width: 959px) {
  .portrait { outline-offset: 4px; }
}

/* filter / pack / qty already pills */
.filter, .stat-strip li, .tag, .qty { box-shadow: 0 2px 8px rgba(142, 94, 92, 0.08); }
.stat-strip li { background: var(--pearl); color: var(--plum); border-color: var(--line); }
.stat-strip strong { color: var(--espresso); }

/* footer pearl hairline */
.site-footer {
  border-top: 1px solid rgba(201, 176, 138, 0.28);
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -6px; left: 50%;
  transform: translateX(-50%);
  width: min(280px, 50%);
  height: 12px;
  background-image: radial-gradient(circle closest-side, var(--rose-quartz) 55%, transparent 56%);
  background-size: 14px 12px;
  background-repeat: repeat-x;
  pointer-events: none;
}

/* product card sparkle on hover */
.product-card { position: relative; }
.product-card::after {
  content: "";
  position: absolute;
  top: 14px; right: 14px;
  width: 14px; height: 14px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23C9A390' d='M12 0l1.6 8.4L22 12l-8.4 1.6L12 22l-1.6-8.4L2 12l8.4-1.6z'/></svg>") center / contain no-repeat;
  opacity: 0;
  transform: scale(0.6) rotate(-20deg);
  transition: opacity 0.3s, transform 0.35s var(--ease);
  pointer-events: none;
  z-index: 2;
}
.product-card:hover::after { opacity: 0.9; transform: scale(1) rotate(12deg); }

.order-card { box-shadow: var(--shadow); border-radius: 28px; background: var(--pearl); }
.pack-ui { border-radius: 16px; }
.field input { border-radius: 16px; background: var(--ivory); }

/* ticker sparkle separators already in copy via middots */

@media (prefers-reduced-motion: reduce) {
  .sparkle, .sparkle-float, .hero-copy .sparkle-float { animation: none; opacity: 0.8; }
}

/* tiny screens wordmark */
@media (max-width: 389px) {
  .wordmark { font-size: 1.45rem; }
}
