/* ============================================================
   BLOSSOM HONEY & ORGANICS - Design System (base)
   ============================================================ */

:root {
  --ivory: #FBF7EF;
  --cream: #F5EEE1;
  --sand: #EDE3D1;
  --beige: #E3D6BE;
  --line: #E8DECB;
  --ink: #241B13;
  --ink-2: #3A2F24;
  --muted: #8C7F6B;
  --soft: #B3A68E;
  --honey: #C99A3E;
  --honey-2: #A87E2C;
  --gold: #D9B45E;
  --olive: #6E6C4D;
  --olive-2: #56543B;
  --espresso: #201812;
  --espresso-2: #2B2117;
  --espresso-3: #383024;
  --white: #FFFFFF;
  --danger: #A44832;
  --shadow-sm: 0 1px 2px rgba(36,27,19,.05), 0 6px 16px rgba(36,27,19,.05);
  --shadow-md: 0 4px 14px rgba(36,27,19,.08), 0 16px 40px rgba(36,27,19,.08);
  --shadow-lg: 0 16px 40px rgba(36,27,19,.12), 0 40px 90px rgba(36,27,19,.16);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-full: 999px;
  --header-h: 78px;
  --maxw: 1240px;
  --maxw-wide: 1440px;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.22,1,.36,1);
  --ease-2: cubic-bezier(.16,1,.3,1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }

::selection { background: rgba(201,154,62,.3); color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.015em;
  color: var(--ink);
}

:focus-visible { outline: 2px solid var(--honey); outline-offset: 3px; border-radius: 4px; }

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--beige); border-radius: 20px; border: 3px solid var(--cream); }
::-webkit-scrollbar-thumb:hover { background: var(--honey); }

/* ---------- layout utilities ---------- */
.container { width: min(var(--maxw), calc(100% - 48px)); margin-inline: auto; }
.container-wide { width: min(var(--maxw-wide), calc(100% - 48px)); margin-inline: auto; }
.section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.section-sm { padding: clamp(48px, 6vw, 88px) 0; }
.split-top { display: grid; gap: 40px; align-items: end; }
@media (min-width: 860px) { .split-top { grid-template-columns: 1fr auto; } }

/* ---------- typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: 12px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--honey-2);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--honey); }
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { content: ""; width: 26px; height: 1px; background: var(--honey); }

.h-display { font-size: clamp(2.15rem, 5.4vw, 4.1rem); line-height: 1.04; font-weight: 460; }
.h-title { font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.08; }
.h-sub { font-size: clamp(1.45rem, 2.4vw, 1.9rem); line-height: 1.18; }
.h-small { font-size: clamp(1.2rem, 1.8vw, 1.42rem); }

.lede { font-size: clamp(1.02rem, 1.4vw, 1.1rem); color: var(--ink-2); max-width: 60ch; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

.gold-text { color: var(--honey-2); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--ivory); }
.on-dark { color: rgba(251,247,239,.82); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: 15px; letter-spacing: .01em;
  padding: 15px 28px; border-radius: var(--r-full);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
  white-space: nowrap; will-change: transform;
  position: relative; overflow: hidden;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-primary { background: var(--ink); color: var(--ivory); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--honey-2); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-gold { background: var(--honey); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-gold:hover { background: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-light { background: var(--ivory); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-light:hover { background: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--ivory); transform: translateY(-2px); }

.btn-outline-light { border: 1.5px solid rgba(251,247,239,.45); color: var(--ivory); background: transparent; }
.btn-outline-light:hover { background: var(--ivory); color: var(--ink); transform: translateY(-2px); }

.btn-ghost { color: var(--ink-2); padding: 12px 18px; }
.btn-ghost:hover { color: var(--honey-2); }

.btn-sm { padding: 11px 20px; font-size: 14px; }
.btn-block { width: 100%; }

.btn .sheen {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.35) 50%, transparent 60%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover .sheen { transform: translateX(120%); }

.link-more {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px;
  color: var(--ink); padding-bottom: 4px; border-bottom: 1px solid var(--beige);
  transition: color .3s, border-color .3s, gap .3s var(--ease);
}
.link-more svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-more:hover { color: var(--honey-2); border-color: var(--honey-2); gap: 12px; }
.link-more.light { color: var(--ivory); border-color: rgba(251,247,239,.3); }
.link-more.light:hover { color: var(--gold); border-color: var(--gold); }

/* ---------- reveals ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-2), transform .9s var(--ease-2); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; }
.d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; }
.d4 { transition-delay: .32s; }
.d5 { transition-delay: .42s; }
.d6 { transition-delay: .52s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- image fallback ---------- */
.img-hold { position: relative; overflow: hidden; background: var(--cream); }
.img-hold::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.4) 50%, transparent 70%);
  transform: translateX(-100%); animation: shimmer 2.4s var(--ease) infinite;
}
@keyframes shimmer { 100% { transform: translateX(100%); } }
.img-hold img { position: relative; width: 100%; height: 100%; object-fit: cover; }

/* ---------- rating stars ---------- */
.stars { display: inline-flex; align-items: center; gap: 3px; color: var(--honey); }
.stars svg { width: 15px; height: 15px; }
.stars .dim { color: var(--beige); }
.rating-txt { font-size: 12.5px; color: var(--muted); }
.rating-txt b { color: var(--ink-2); }

/* ---------- badges ---------- */
.badge {
  display: inline-block; padding: 5px 12px; border-radius: var(--r-full);
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.badge.honey { background: var(--honey); color: #fff; }
.badge.dark { background: var(--espresso); color: var(--gold); }
.badge.cream { background: var(--cream); color: var(--ink-2); }