/* ============================================================
   Wellness Steps Daily — scented candles & home fragrance
   Palette: amber #E8A24B · cream #FBF6EE · charcoal #2B2620
   Fonts:   Fraunces (display) · Karla (body)
   ============================================================ */

:root {
  --amber: #E8A24B;
  --amber-deep: #C97F2B;
  --amber-soft: #F6E3C6;
  --cream: #FBF6EE;
  --cream-deep: #F3E9D8;
  --charcoal: #2B2620;
  --charcoal-soft: #4A4238;
  --ink-muted: #6E6457;
  --white: #FFFFFF;
  --radius-pill: 999px;
  --radius-card: 18px;
  --shadow-soft: 0 10px 30px rgba(43, 38, 32, 0.08);
  --shadow-lift: 0 16px 40px rgba(43, 38, 32, 0.14);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Karla", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

.container { width: min(1200px, 92%); margin-inline: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--charcoal); color: var(--cream); padding: 10px 18px;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: 0.01em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 15px;
  padding: 14px 30px; border-radius: var(--radius-pill); border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn:focus-visible { outline: 3px solid var(--amber-deep); outline-offset: 2px; }
.btn-primary { background: var(--charcoal); color: var(--cream); }
.btn-primary:hover { background: var(--amber-deep); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn-ghost { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn-ghost:hover { background: var(--charcoal); color: var(--cream); transform: translateY(-2px); }
.btn-light { background: var(--cream); color: var(--charcoal); }
.btn-light:hover { background: var(--amber); transform: translateY(-2px); }
.btn-dark { background: var(--cream); color: var(--charcoal); }
.btn-dark:hover { background: var(--charcoal); color: var(--amber); transform: translateY(-2px); }
.btn-add { width: 100%; padding: 12px 18px; font-size: 14px; background: var(--charcoal); color: var(--cream); }
.btn-add:hover { background: var(--amber-deep); color: var(--white); }
.btn-add.added { background: var(--amber); color: var(--charcoal); cursor: default; }

/* ---------- Announcement ---------- */
.announce {
  background: var(--charcoal); color: var(--amber-soft);
  text-align: center; font-size: 13.5px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 9px 16px; font-weight: 700;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 246, 238, 0.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(43, 38, 32, 0.12);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 0; }
.logo {
  font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: 0.01em;
  color: var(--charcoal); text-decoration: none; white-space: nowrap;
}
.logo em { font-style: italic; color: var(--amber-deep); }
.logo .tld { font-family: var(--font-body); font-weight: 400; font-size: 13px; color: var(--ink-muted); margin-left: 2px; }
.main-nav { display: flex; gap: 30px; }
.main-nav a {
  color: var(--charcoal); text-decoration: none; font-weight: 500; font-size: 15px;
  padding: 6px 2px; border-bottom: 2px solid transparent; transition: color 0.15s ease, border-color 0.15s ease;
}
.main-nav a:hover { color: var(--amber-deep); border-bottom-color: var(--amber); }
.main-nav a:focus-visible { outline: 2px solid var(--amber-deep); outline-offset: 3px; border-radius: 4px; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; border: none; background: transparent;
  color: var(--charcoal); cursor: pointer; transition: background 0.15s ease, color 0.15s ease;
}
.icon-btn:hover { background: var(--amber-soft); color: var(--charcoal); }
.icon-btn:focus-visible { outline: 2px solid var(--amber-deep); outline-offset: 2px; }
.cart-count {
  position: absolute; top: 2px; right: 0;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--radius-pill);
  background: var(--amber); color: var(--charcoal); font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.nav-toggle { display: none; }
.mobile-nav {
  display: none; flex-direction: column; padding: 6px 4% 16px;
  border-top: 1px solid rgba(43, 38, 32, 0.1);
}
.mobile-nav a {
  color: var(--charcoal); text-decoration: none; font-weight: 500; font-size: 16px;
  padding: 12px 4px; border-bottom: 1px solid rgba(43, 38, 32, 0.08);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav.open { display: flex; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 64px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--amber-deep); margin-bottom: 16px;
}
.hero h1 { font-size: clamp(38px, 4.6vw, 58px); margin-bottom: 20px; }
.lede { font-size: 18px; color: var(--ink-muted); max-width: 46ch; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-meta li { font-size: 14px; color: var(--ink-muted); display: flex; align-items: center; gap: 8px; }
.hero-meta li::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); flex: none;
}
.hero-media { position: relative; }
.hero-media img {
  width: 100%; aspect-ratio: 5 / 4.2; object-fit: cover;
  border-radius: var(--radius-card); box-shadow: var(--shadow-lift);
}
.chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.94); border: 1px solid rgba(43, 38, 32, 0.08);
  border-radius: var(--radius-pill); padding: 10px 18px; font-size: 13.5px; font-weight: 700;
  box-shadow: var(--shadow-soft); color: var(--charcoal);
}
.chip svg { color: var(--amber-deep); flex: none; }
.chip-a { top: 22px; left: -18px; }
.chip-b { bottom: 26px; right: -14px; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 18px; }
.chip-stars { color: var(--amber); letter-spacing: 2px; font-size: 13px; }

/* ---------- Trust strip ---------- */
.trust { background: var(--cream-deep); border-block: 1px solid rgba(43, 38, 32, 0.1); padding: 26px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.trust-item { display: flex; align-items: center; gap: 14px; color: var(--amber-deep); }
.trust-item svg { flex: none; }
.trust-item div { display: flex; flex-direction: column; }
.trust-item strong { color: var(--charcoal); font-size: 14.5px; }
.trust-item span { font-size: 13px; color: var(--ink-muted); }

/* ---------- Sections ---------- */
section { scroll-margin-top: 90px; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 10px; }
.section-head p { color: var(--ink-muted); font-size: 16.5px; }

/* ---------- Category tiles ---------- */
.categories { padding: 76px 0 20px; }
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tile { position: relative; display: block; border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-soft); }
.tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.5s ease; }
.tile:hover img, .tile:focus-visible img { transform: scale(1.05); }
.tile-label {
  position: absolute; inset-inline: 14px; bottom: 14px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(251, 246, 238, 0.94); border-radius: var(--radius-pill);
  padding: 12px 20px; font-weight: 700; font-size: 15px; color: var(--charcoal);
  transition: background 0.2s ease, color 0.2s ease;
}
.tile:hover .tile-label { background: var(--charcoal); color: var(--cream); }
.tile-arrow { color: var(--amber-deep); transition: transform 0.2s ease; }
.tile:hover .tile-arrow { transform: translateX(4px); }
.tile:focus-visible { outline: 3px solid var(--amber-deep); outline-offset: 3px; }

/* ---------- Bestsellers ---------- */
.bestsellers { padding: 76px 0; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card {
  background: var(--white); border: 1px solid rgba(43, 38, 32, 0.08);
  border-radius: var(--radius-card); overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.product-media { position: relative; overflow: hidden; }
.product-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-media img { transform: scale(1.04); }
.badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--radius-pill);
}
.badge-hot { background: var(--amber); color: var(--charcoal); }
.badge-new { background: var(--charcoal); color: var(--amber-soft); }
.product-info { display: flex; flex-direction: column; gap: 10px; padding: 20px; flex: 1; }
.product-info h3 { font-size: 19px; }
.stars-row { display: flex; align-items: center; gap: 8px; }
.stars { color: var(--amber); letter-spacing: 2px; font-size: 14px; }
.count { font-size: 13px; color: var(--ink-muted); }
.product-desc { font-size: 14px; color: var(--ink-muted); flex: 1; }
.price-row { display: flex; align-items: baseline; gap: 10px; }
.price { font-weight: 700; font-size: 18px; }
.compare { color: var(--ink-muted); text-decoration: line-through; font-size: 14.5px; }

/* ---------- Editorial band ---------- */
.band {
  background:
    linear-gradient(100deg, rgba(43, 38, 32, 0.82) 15%, rgba(43, 38, 32, 0.45) 60%, rgba(43, 38, 32, 0.15)),
    url("images/s1-band.webp") center / cover no-repeat;
  min-height: 440px; display: flex; align-items: center;
}
.band-inner { width: min(1200px, 92%); margin-inline: auto; }
.band-copy { max-width: 520px; color: var(--cream); padding: 70px 0; }
.eyebrow-light { color: var(--amber); }
.band-copy h2 { font-size: clamp(30px, 3.6vw, 44px); color: var(--cream); margin-bottom: 16px; }
.band-copy p { color: rgba(251, 246, 238, 0.88); margin-bottom: 28px; }

/* ---------- Steps ---------- */
.steps { padding: 76px 0 30px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-card {
  background: var(--white); border: 1px solid rgba(43, 38, 32, 0.08);
  border-radius: var(--radius-card); padding: 32px 28px; position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.step-num {
  font-family: var(--font-display); font-size: 44px; font-weight: 600; font-style: italic;
  color: var(--amber); display: block; margin-bottom: 12px;
}
.step-card h3 { font-size: 20px; margin-bottom: 10px; }
.step-card p { font-size: 14.5px; color: var(--ink-muted); }

/* ---------- Testimonials ---------- */
.testimonials { padding: 76px 0; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: var(--white); border: 1px solid rgba(43, 38, 32, 0.08);
  border-radius: var(--radius-card); padding: 28px; display: flex; flex-direction: column; gap: 14px;
}
.testimonial-card blockquote { font-size: 15px; color: var(--charcoal-soft); flex: 1; }
.testimonial-card figcaption { display: flex; flex-direction: column; gap: 4px; font-size: 14.5px; }
.verified {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 700; color: #4E7A45;
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--amber); }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 52px 0; flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(26px, 3vw, 36px); color: var(--charcoal); margin-bottom: 6px; }
.cta-band p { color: rgba(43, 38, 32, 0.8); }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--charcoal); color: var(--cream); padding: 76px 0; }
.newsletter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.newsletter .eyebrow { color: var(--amber); }
.newsletter h2 { color: var(--cream); font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 12px; }
.newsletter-copy p { color: rgba(251, 246, 238, 0.75); }
.newsletter-form { display: flex; flex-wrap: wrap; gap: 12px; align-content: start; }
.newsletter-form input {
  flex: 1 1 240px; padding: 14px 20px; border-radius: var(--radius-pill);
  border: 1.5px solid rgba(251, 246, 238, 0.3); background: rgba(251, 246, 238, 0.08);
  color: var(--cream); font-family: var(--font-body); font-size: 15px;
}
.newsletter-form input::placeholder { color: rgba(251, 246, 238, 0.5); }
.newsletter-form input:focus { outline: none; border-color: var(--amber); background: rgba(251, 246, 238, 0.12); }
.newsletter-form .btn-primary { background: var(--amber); color: var(--charcoal); }
.newsletter-form .btn-primary:hover { background: var(--cream); }
.form-note { flex-basis: 100%; font-size: 12.5px; color: rgba(251, 246, 238, 0.55); }
.form-success { flex-basis: 100%; font-weight: 700; color: var(--amber); font-size: 16px; }
.form-error { border-color: #C96B5C !important; }

/* ---------- Footer ---------- */
.site-footer { background: #221E19; color: rgba(251, 246, 238, 0.8); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 60px 0 40px;
}
.logo-light { color: var(--cream); }
.logo-light em { color: var(--amber); }
.logo-light .tld { color: rgba(251, 246, 238, 0.55); }
.footer-brand p { font-size: 14.5px; margin: 16px 0 20px; max-width: 34ch; }
.footer-widget {
  background: rgba(232, 162, 75, 0.1); border: 1px solid rgba(232, 162, 75, 0.3);
  border-radius: 14px; padding: 18px 20px;
}
.footer-widget h4 { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); margin-bottom: 10px; }
.footer-widget ul { list-style: none; }
.footer-widget li { font-size: 13.5px; padding: 3px 0; }
.footer-col h4 {
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cream); margin-bottom: 16px; font-family: var(--font-body); font-weight: 700;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; font-size: 14.5px; }
.footer-col a { color: rgba(251, 246, 238, 0.72); text-decoration: none; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--amber); }
.footer-col a:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; border-radius: 3px; }
.payments-title { margin-top: 24px; }
.payments { display: flex; flex-wrap: wrap; gap: 8px; }
.payments li {
  margin: 0; font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  border: 1px solid rgba(251, 246, 238, 0.3); border-radius: 6px; padding: 5px 10px; color: rgba(251, 246, 238, 0.85);
}
.footer-bottom { border-top: 1px solid rgba(251, 246, 238, 0.12); padding: 22px 0; font-size: 13.5px; color: rgba(251, 246, 238, 0.55); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px);
  background: var(--charcoal); color: var(--cream); font-weight: 700; font-size: 15px;
  padding: 14px 26px; border-radius: var(--radius-pill); box-shadow: var(--shadow-lift);
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease, transform 0.25s ease; z-index: 300;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .tile img, .product-card, .product-media img { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero { padding: 36px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .chip-a { left: 10px; }
  .chip-b { right: 10px; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .tile-grid { grid-template-columns: 1fr; }
  .steps-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .newsletter-grid { grid-template-columns: 1fr; gap: 28px; }
  .categories, .bestsellers, .testimonials, .steps { padding-top: 56px; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero h1 { font-size: 36px; }
  .logo { font-size: 18px; }
}
