/* ============================================
   HOUSE OF CADENCE — Luxury Self-Care
   Design tokens
   Cream:  #FBF6EC   Matte Black: #141210
   Gold:   #C6A15B   Blush (705C): #F1BFC9
   Display: Cinzel | Script: Great Vibes | Body: Montserrat
   Signature: the "cadence line" — a rhythmic pulse of dots & dashes
   echoing the brand name (a musical/rhythmic term) used as the
   recurring divider throughout the site instead of generic rules.
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Great+Vibes&family=Montserrat:wght@300;400;500;600&display=swap');

:root{
  --cream: #FBF6EC;
  --cream-deep: #F3EBDA;
  --black: #141210;
  --gold: #C6A15B;
  --gold-soft: #E4CE9C;
  --blush: #F1BFC9;
  --blush-deep: #E39FAE;
  --ink: #2A2622;
}

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

html{ scroll-behavior: smooth; }

body{
  background: var(--cream);
  color: var(--ink);
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4{
  font-family: 'Cinzel', serif;
  letter-spacing: 0.04em;
  color: var(--black);
  font-weight: 600;
}

.script{
  font-family: 'Great Vibes', cursive;
  color: var(--blush-deep);
  font-weight: 400;
  letter-spacing: 0.01em;
}

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

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

/* ---------- Cadence line (signature divider) ---------- */
.cadence-line{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  margin: 28px auto;
  width: fit-content;
}
.cadence-line span{
  display:inline-block;
  background: var(--gold);
  border-radius: 2px;
}
/* rhythm pattern: short-short-long-short-short, like a cadence/pulse */
.cadence-line span:nth-child(1){ width:4px; height:4px; border-radius:50%; }
.cadence-line span:nth-child(2){ width:14px; height:2px; }
.cadence-line span:nth-child(3){ width:36px; height:2px; background: var(--blush-deep); }
.cadence-line span:nth-child(4){ width:14px; height:2px; }
.cadence-line span:nth-child(5){ width:4px; height:4px; border-radius:50%; }

/* ---------- Header / Nav ---------- */
header{
  position: sticky; top:0; z-index: 50;
  background: rgba(251,246,236,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--gold-soft);
}
.nav-wrap{
  max-width: 1180px; margin:0 auto; padding: 18px 32px;
  display:flex; align-items:center; justify-content:space-between;
}
.brand-mark{
  font-family:'Cinzel', serif; font-weight:700; font-size: 1.15rem;
  letter-spacing: 0.18em; color: var(--black);
}
.brand-mark span{ color: var(--blush-deep); }
nav ul{ list-style:none; display:flex; gap: 34px; }
nav a{
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 500; color: var(--ink); position:relative; padding-bottom: 4px;
}
nav a.active, nav a:hover{ color: var(--blush-deep); }
nav a.active::after{
  content:''; position:absolute; left:0; right:0; bottom:0; height:2px; background: var(--gold);
}
.nav-toggle{ display:none; }

/* ---------- Hero ---------- */
.hero{
  text-align:center; padding: 96px 24px 70px;
  background:
    radial-gradient(circle at 15% 10%, rgba(241,191,201,0.35), transparent 45%),
    radial-gradient(circle at 90% 0%, rgba(198,161,91,0.18), transparent 40%);
}
.hero .eyebrow{
  font-family:'Cinzel', serif; font-size: 0.72rem; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 18px;
}
.hero h1{
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  max-width: 820px; margin: 0 auto 20px;
}
.hero p.lede{
  max-width: 560px; margin: 0 auto; color:#4a453d; font-weight:300; font-size: 1.02rem;
}

/* ---------- Sections ---------- */
section{ padding: 70px 24px; }
.container{ max-width: 1080px; margin: 0 auto; }
.center{ text-align:center; }

.panel{
  background: #fff;
  border: 1px solid var(--gold-soft);
  border-radius: 2px;
  padding: 46px 40px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
a.panel:hover{
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -18px rgba(20,18,16,0.25);
  border-color: var(--gold);
}
.product-img-wrap{ overflow: hidden; }
.product-img-wrap img{ transition: transform 0.5s ease; }
a:hover .product-img-wrap img{ transform: scale(1.05); }

.btn-outline-light, a[href$=".html"][style*="border:1px solid var(--black)"], a[href*="jotform"]{
  transition: all 0.25s ease;
}
.btn-outline-light:hover{
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

/* ---------- Product images ---------- */
.product-img{
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  border-radius: 2px;
  display: block;
}

.product-img-wrap{
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 2px;
  overflow: hidden;
}
.product-img-wrap img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ---------- Dark section variant (alternating rhythm) ---------- */
.section-dark{
  background: var(--black);
  color: var(--cream-deep);
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4{
  color: var(--cream);
}
.section-dark .script{ color: var(--blush); }
.section-dark p{ color: var(--cream-deep); opacity: 0.88; }
.section-dark .panel{
  background: rgba(255,255,255,0.03);
  border-color: rgba(198,161,91,0.4);
}
.section-dark .cadence-line span:nth-child(3){ background: var(--blush); }
.btn-outline-light{
  display: inline-block;
  border: 1px solid var(--gold-soft);
  color: var(--cream);
  padding: 14px 32px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.btn-outline-light:hover{ border-color: var(--gold); }

.hero-dark{
  background:
    radial-gradient(circle at 15% 10%, rgba(241,191,201,0.12), transparent 45%),
    radial-gradient(circle at 90% 0%, rgba(198,161,91,0.14), transparent 40%),
    var(--black);
}
.hero-dark p.lede{ color: #c9c2b7; }

/* ---------- Footer ---------- */
footer{
  background: var(--black); color: var(--cream-deep);
  text-align:center; padding: 56px 24px 40px;
}
footer .script{ color: var(--blush); font-size: 1.6rem; display:block; margin-bottom: 14px; }
footer .brand-mark{ color: var(--cream); }
footer p.small{ font-size: 0.72rem; letter-spacing: 0.1em; opacity: 0.6; margin-top: 18px; }

@media (max-width: 780px){
  nav ul{ position:fixed; inset: 62px 0 0 0; background: var(--cream); flex-direction:column;
    align-items:center; justify-content:flex-start; padding-top: 50px; gap: 30px;
    transform: translateX(100%); transition: transform 0.35s ease; }
  nav ul.open{ transform: translateX(0); }
  .nav-toggle{ display:block; background:none; border:none; font-size:1.4rem; color: var(--black); cursor:pointer; }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ transition:none !important; animation:none !important; }
}
