/* Bracelets By Betsi — design system ported from Tropicana Swimwear
   Palette: sun yellow / teal / pink / sand / navy
   Type: MCSequoia display · Autography script · Inter body */

@font-face {
  font-family: 'MCSequoia';
  src: url('../fonts/MCSequoia-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Autography';
  src: url('../fonts/Autography.woff') format('woff');
  font-weight: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  --sun-yellow: rgb(255, 248, 105);
  --teal: #1FB5A8;
  --teal-deep: #167D75;
  --pink: #FF6FA5;
  --pink-dark: #E8558D;
  --pink-soft: #FFC1D6;
  --sand: #F6EFE3;
  --navy: #1E2A39;
  --white: #ffffff;
  --px: clamp(24px, 5vw, 96px);
  --radius: 18px;
  --display: 'MCSequoia', 'Georgia', serif;
  --script: 'Autography', cursive;
  --body: 'Inter', -apple-system, sans-serif;
  /* motion tokens */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-1: 240ms;
  --dur-2: 600ms;
  --dur-3: 900ms;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--white);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.12; }

.script { font-family: var(--script); color: var(--teal); font-weight: normal; }

.wrap {
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--px);
  padding-right: var(--px);
}

.section {
  padding-top: clamp(56px, 8vw, 104px);
  padding-bottom: clamp(56px, 8vw, 104px);
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-deep);
}

.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(30px, 4.2vw, 48px); margin-top: 10px; }
.section-head p { margin-top: 14px; color: #4A5568; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 34px;
  border-radius: 40px;
  border: none;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.btn-pink { background: var(--pink); color: #fff; }
.btn-pink:hover { background: var(--pink-dark); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(255, 111, 165, 0.4); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--teal-deep); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(22, 125, 117, 0.35); }
.btn-ghost { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--sun-yellow); transform: translateY(-2px); }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--sand);
  text-align: center;
  padding-top: 12px;
  padding-bottom: 12px;
  padding-left: var(--px);
  padding-right: var(--px);
  font-size: 14px;
  color: var(--navy);
}
.announce strong { font-weight: 700; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid rgba(30, 42, 57, 0.06);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 96px;
}
.header-inner .nav { grid-column: 1; justify-self: start; }
.header-inner .logo { grid-column: 2; justify-self: center; }
.header-inner .header-actions { grid-column: 3; justify-self: end; }
.nav { display: flex; gap: clamp(16px, 2.5vw, 36px); }
.nav a {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 2px;
  position: relative;
  transition: color 0.25s ease;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: 6px;
  height: 3px;
  border-radius: 2px;
  background: var(--pink);
  transition: right 0.28s ease;
}
.nav a:hover { color: var(--teal-deep); }
.nav a:hover::after, .nav a.active::after { right: 0; }

.logo { text-align: center; line-height: 1; }
.logo .logo-main {
  font-family: var(--display);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 700;
  color: var(--navy);
  display: block;
}
.logo .logo-sub {
  font-family: var(--script);
  font-size: clamp(26px, 2.6vw, 36px);
  color: var(--teal);
  display: block;
  margin-top: 0;
}

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { min-height: 44px; padding: 10px 24px; }

.menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--sand);
  padding: 24px var(--px);
  flex-direction: column;
}
.mobile-menu.open { display: flex; }
.mobile-menu-top { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu nav { margin-top: 40px; display: flex; flex-direction: column; gap: 4px; }
.mobile-menu nav a {
  font-family: var(--display);
  font-size: 32px;
  color: var(--navy);
  padding: 12px 0;
  min-height: 44px;
  border-bottom: 1px solid rgba(30, 42, 57, 0.08);
  transition: color 0.25s ease, padding-left 0.25s ease;
}
.mobile-menu nav a:hover { color: var(--pink); padding-left: 10px; }
.mobile-menu .script { font-size: 30px; margin-top: 34px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy) 0%, var(--teal-deep) 100%);
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(30, 42, 57, 0.62) 0%, rgba(30, 42, 57, 0.28) 55%, rgba(30, 42, 57, 0.05) 100%);
}
.hero-content { position: relative; z-index: 2; color: #fff; max-width: 640px; padding-top: 64px; padding-bottom: 64px; }
@keyframes riseIn {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-content > * { opacity: 0; animation: riseIn var(--dur-3) var(--ease-out-expo) forwards; }
.hero-content > *:nth-child(1) { animation-delay: 80ms; }
.hero-content > *:nth-child(2) { animation-delay: 200ms; }
.hero-content > *:nth-child(3) { animation-delay: 320ms; }
.hero-content > *:nth-child(4) { animation-delay: 440ms; }
.hero-content > *:nth-child(5) { animation-delay: 560ms; }
.hero-content .eyebrow { color: var(--sun-yellow); }
.hero-title { font-size: clamp(46px, 6.6vw, 92px); color: var(--sun-yellow); margin-top: 12px; }
.hero-script { font-family: var(--script); font-size: clamp(34px, 4.8vw, 66px); color: var(--teal); line-height: 1; display: block; margin-top: -4px; text-shadow: 0 2px 18px rgba(255,255,255,0.35); }
.hero-sub { margin-top: 20px; font-size: clamp(16px, 1.6vw, 19px); max-width: 460px; color: rgba(255,255,255,0.92); }
.hero .btn { margin-top: 30px; }

/* ---------- Product cards ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }

.card { position: relative; }
.card-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--sand);
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.5s ease;
}
.card:hover .card-img img { transform: scale(1.05); opacity: 0.94; }
.badge {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  background: var(--teal);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
}
.badge.badge-pink { background: var(--pink); }
.card h3 { font-size: clamp(19px, 1.7vw, 23px); margin-top: 16px; transition: color 0.25s ease; }
.card:hover h3 { color: var(--teal-deep); }
.card .cat { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #718096; margin-top: 14px; }
.card .cat + h3 { margin-top: 4px; }
.card .price { margin-top: 6px; font-weight: 700; }

/* ---------- Polaroid story section ---------- */
.story {
  background: var(--sand) url('data:image/svg+xml,%3Csvg width="160" height="160" viewBox="0 0 160 160" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="%23e8dfcf" fill-opacity="0.55"%3E%3Ccircle cx="20" cy="30" r="2"/%3E%3Ccircle cx="90" cy="70" r="1.6"/%3E%3Ccircle cx="140" cy="20" r="2.2"/%3E%3Ccircle cx="60" cy="130" r="1.8"/%3E%3Ccircle cx="120" cy="110" r="2"/%3E%3C/g%3E%3C/svg%3E');
  overflow: hidden;
}
.polaroids { position: relative; display: flex; justify-content: center; align-items: center; margin-top: clamp(32px, 5vw, 56px); min-height: 420px; }
.polaroid {
  background: #fff;
  padding: 12px 12px 44px;
  box-shadow: 0 18px 40px rgba(30, 42, 57, 0.18);
  width: clamp(200px, 26vw, 330px);
  flex-shrink: 0;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.polaroid img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.polaroid figcaption { font-family: var(--script); font-size: 24px; color: var(--teal-deep); text-align: center; margin-top: 12px; line-height: 1; }
.polaroid:nth-child(1) { transform: rotate(-7deg) translateX(36px) translateY(14px); z-index: 1; }
.polaroid:nth-child(2) { transform: rotate(1.5deg); z-index: 3; }
.polaroid:nth-child(3) { transform: rotate(7deg) translateX(-36px) translateY(20px); z-index: 2; }
.polaroid:hover { transform: rotate(0deg) scale(1.04); box-shadow: 0 26px 54px rgba(30, 42, 57, 0.26); z-index: 5; }

/* ---------- Featured product ---------- */
.featured { background: var(--white); }
.featured-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.featured-imgs { display: grid; grid-template-columns: 1fr; gap: 16px; }
.featured-main { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.4; }
.featured-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease, filter 0.5s ease; }
.featured-main:hover img { transform: scale(1.04); filter: saturate(1.08); }
.featured-thumbs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.featured-thumbs .thumb { border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; }
.featured-thumbs img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease, opacity 0.5s ease; }
.featured-thumbs .thumb:hover img { transform: scale(1.06); opacity: 0.92; }
.featured-copy h2 { font-size: clamp(30px, 3.8vw, 46px); }
.featured-copy .script { font-size: clamp(30px, 3.4vw, 44px); display: block; margin-bottom: 4px; }
.featured-copy p { margin-top: 18px; color: #4A5568; max-width: 480px; }
.featured-copy .price-line { margin-top: 18px; font-size: 22px; font-weight: 700; }
.featured-copy .btn { margin-top: 26px; }

/* ---------- Collection tiles ---------- */
.tile { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 3.6; display: flex; align-items: flex-end; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s ease; }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,42,57,0) 42%, rgba(30,42,57,0.72) 100%); transition: opacity 0.4s ease; }
.tile:hover img { transform: scale(1.06); }
.tile:hover::after { opacity: 0.85; }
.tile-label { position: relative; z-index: 2; color: #fff; padding: 26px; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tile-label h3 { font-size: clamp(22px, 2vw, 28px); color: #fff; }
.tile-label .script { color: var(--sun-yellow); font-size: 22px; display: block; margin-top: 2px; }
.tile-label svg { flex-shrink: 0; transition: transform 0.3s ease, color 0.3s ease; }
.tile:hover .tile-label svg { transform: translateX(6px); color: var(--sun-yellow); }

/* ---------- Quote band ---------- */
.quote-band {
  background: var(--sun-yellow);
  text-align: center;
  overflow: hidden;
}
.quote-band .script { font-size: clamp(44px, 7vw, 96px); color: var(--teal-deep); line-height: 1.05; display: block; }
.quote-band p { margin-top: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; font-size: 13px; }

/* ---------- Icon row ---------- */
.icon-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); text-align: center; }
.icon-row .icon-cell { padding: 10px; }
.icon-circle {
  width: 74px; height: 74px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--pink-soft);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.icon-cell:nth-child(2) .icon-circle { background: var(--sun-yellow); }
.icon-cell:nth-child(3) .icon-circle { background: #BDEBE6; }
.icon-cell:hover .icon-circle { transform: translateY(-6px) scale(1.06); background: var(--teal); }
.icon-cell:hover .icon-circle svg { color: #fff; }
.icon-circle svg { transition: color 0.3s ease; }
.icon-cell h3 { margin-top: 18px; font-size: 21px; }
.icon-cell p { margin-top: 8px; color: #4A5568; font-size: 15px; max-width: 300px; margin-left: auto; margin-right: auto; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.gallery-grid a { border-radius: 14px; overflow: hidden; aspect-ratio: 1; position: relative; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease, filter 0.5s ease; }
.gallery-grid a:hover img { transform: scale(1.08); filter: brightness(1.06); }

/* ---------- Footer ---------- */
.footer {
  background: linear-gradient(115deg, rgba(255, 248, 105, 0.55) 0%, rgba(31, 181, 168, 0.38) 38%, rgba(255, 193, 214, 0.5) 72%, rgba(255, 248, 105, 0.4) 100%);
  padding-top: clamp(56px, 7vw, 96px);
}
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.footer-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 14px 34px rgba(30, 42, 57, 0.1);
}
.footer-card .logo-main { font-family: var(--display); font-size: 30px; font-weight: 700; display: block; }
.footer-card .logo-sub { font-family: var(--script); font-size: 30px; color: var(--teal); display: block; margin-top: 0; }
.footer-card hr { border: none; border-top: 1px solid rgba(30,42,57,0.1); margin: 18px 0; }
.footer-card p { font-size: 15px; color: #4A5568; }
.footer-card p strong { font-weight: 700; color: var(--navy); }
.footer h4 { font-family: var(--display); font-size: 24px; margin-bottom: 18px; }
.footer-links li { margin-bottom: 4px; }
.footer-links a { font-size: 15px; padding: 6px 0; display: inline-block; transition: color 0.25s ease, padding-left 0.25s ease; }
.footer-links a:hover { color: var(--teal-deep); padding-left: 6px; }

.subscribe { text-align: center; margin-top: clamp(48px, 6vw, 80px); }
.subscribe h2 { font-size: clamp(28px, 4vw, 52px); max-width: 760px; margin: 0 auto; }
.subscribe form {
  margin: 34px auto 0;
  max-width: 640px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 2px solid var(--navy);
  padding-bottom: 12px;
}
.subscribe input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--body);
  font-size: 16px;
  color: var(--navy);
  outline: none;
  min-height: 44px;
}
.subscribe input::placeholder { color: rgba(30,42,57,0.55); }
.subscribe button {
  background: none;
  border: none;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  cursor: pointer;
  color: var(--navy);
  min-height: 44px;
  padding: 0 8px;
  transition: color 0.25s ease, letter-spacing 0.25s ease;
}
.subscribe button:hover { color: var(--teal-deep); letter-spacing: 0.18em; }

.footer-bottom {
  margin-top: clamp(40px, 5vw, 72px);
  border-top: 1px solid rgba(30, 42, 57, 0.14);
  padding-top: 26px;
  padding-bottom: 26px;
  text-align: center;
  font-size: 14px;
  color: rgba(30, 42, 57, 0.75);
}
.footer-bottom .script { font-size: 26px; display: block; margin-bottom: 6px; color: var(--teal-deep); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { background: var(--sand); text-align: center; padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }
.page-hero h1 { font-size: clamp(38px, 5.5vw, 68px); }
.page-hero .script { font-size: clamp(30px, 4vw, 48px); display: block; margin-top: 2px; }
.page-hero p { max-width: 560px; margin: 16px auto 0; color: #4A5568; }

/* ---------- Shop filters ---------- */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(28px, 4vw, 44px); }
.filter-chip {
  min-height: 44px;
  padding: 10px 24px;
  border-radius: 40px;
  border: 2px solid var(--navy);
  background: transparent;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.filter-chip:hover { background: var(--pink-soft); border-color: var(--pink); }
.filter-chip.active { background: var(--navy); color: var(--sun-yellow); border-color: var(--navy); }

/* ---------- Product page ---------- */
.product-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.product-gallery-main { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 4.4; background: var(--sand); }
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.product-info .cat { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal-deep); }
.product-info h1 { font-size: clamp(32px, 4vw, 52px); margin-top: 8px; }
.product-info .price { font-size: 26px; font-weight: 700; margin-top: 14px; }
.product-info .desc { margin-top: 20px; color: #4A5568; max-width: 500px; }
.product-info .details { margin-top: 26px; border-top: 1px solid rgba(30,42,57,0.1); }
.product-info .details li {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid rgba(30,42,57,0.1);
  font-size: 15px;
}
.product-info .details svg { color: var(--teal); flex-shrink: 0; }
.product-info .btn { margin-top: 30px; }
.related { background: var(--sand); }

/* ---------- Contact / About ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 4.6; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-copy h2 { font-size: clamp(30px, 3.8vw, 46px); }
.split-copy .script { font-size: clamp(28px, 3.2vw, 42px); display: block; }
.split-copy p { margin-top: 16px; color: #4A5568; max-width: 500px; }

.contact-form { max-width: 560px; }
.contact-form label { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 8px; margin-top: 22px; }
.contact-form input, .contact-form textarea {
  width: 100%;
  border: 2px solid rgba(30, 42, 57, 0.16);
  border-radius: 14px;
  padding: 13px 16px;
  font-family: var(--body);
  font-size: 16px;
  color: var(--navy);
  background: #fff;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(31, 181, 168, 0.15); }
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form .btn { margin-top: 26px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translate(-50%, 20px);
  background: var(--navy);
  color: #fff;
  padding: 14px 26px;
  border-radius: 40px;
  font-size: 15px;
  box-shadow: 0 14px 34px rgba(30, 42, 57, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: 200;
  text-align: center;
  max-width: calc(100vw - 48px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast .script { color: var(--sun-yellow); margin-right: 6px; font-size: 20px; }

/* ---------- Reveal on scroll (staggered via --stagger, set by JS) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--dur-2) var(--ease-out-expo), transform var(--dur-2) var(--ease-out-expo);
  transition-delay: var(--stagger, 0ms);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Bead marquee (signature move — rAF-driven, scroll-reactive) ---------- */
.bead-marquee { overflow: hidden; margin-top: 30px; }
.bead-track { display: flex; gap: 10px; width: max-content; will-change: transform; }
.bead {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  color: var(--navy);
  background: var(--white);
  box-shadow: inset -4px -6px 10px rgba(30, 42, 57, 0.14), inset 4px 6px 10px rgba(255, 255, 255, 0.85), 0 3px 8px rgba(30, 42, 57, 0.18);
}
.bead:nth-child(4n+2) { background: var(--pink-soft); }
.bead:nth-child(4n+3) { background: #BDEBE6; }
.bead:nth-child(4n) { background: var(--sand); }
.bead-heart { color: var(--pink); font-size: 20px; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-content > * { animation: none; opacity: 1; }
  .reveal { transition: none; opacity: 1; transform: none; }
  .card:hover .card-img img, .tile:hover img, .featured-main:hover img { transform: none; }
  .btn:hover, .icon-cell:hover .icon-circle { transform: none; }
  .bead-track { transform: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-card { grid-column: 1 / -1; max-width: 480px; }
}

@media (max-width: 860px) {
  .nav, .header-actions .btn-desktop { display: none; }
  .menu-btn { display: flex; }
  .header-inner { min-height: 72px; }
  .featured-inner, .product-layout, .split { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
  .polaroids { flex-direction: column; gap: 26px; }
  .polaroid:nth-child(1) { transform: rotate(-4deg); }
  .polaroid:nth-child(3) { transform: rotate(4deg); }
  .icon-row { grid-template-columns: 1fr; gap: 30px; }
  .hero { min-height: 78vh; background: linear-gradient(160deg, var(--navy) 0%, var(--teal-deep) 100%); }
  .hero-bg::after { background: linear-gradient(180deg, rgba(30, 42, 57, 0.42) 0%, rgba(30, 42, 57, 0.56) 55%, rgba(30, 42, 57, 0.78) 100%); }
  .split.split-rev .split-img { order: -1; }
}

@media (max-width: 520px) {
  .grid-4 { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .subscribe form { flex-direction: column; align-items: stretch; border-bottom: none; }
  .subscribe input { border-bottom: 2px solid var(--navy); text-align: center; }
  .subscribe button { border: 2px solid var(--navy); border-radius: 40px; }
}
