/* ==========================================================================
   KI CHIP — STYLESHEET
   Mobile-first (designed for a 390px phone), scales up to desktop.

   COLOUR SYSTEM — warm cream, brown, beige, subtle green
   ------------------------------------------------------------------------ */
:root {
  /* Surfaces */
  --cream:        #FBF6EE;
  --cream-deep:   #F5EDE1;
  --card:         #FFFFFF;
  --card-warm:    #FFFCF7;

  /* Browns */
  --brown-900:    #3A2A1E;   /* headings */
  --brown-800:    #4E3A2A;
  --brown-700:    #6B5138;   /* body text */
  --brown-500:    #8A7259;   /* muted text */
  --brown-300:    #C4A98B;   /* borders, icons */
  --brown-150:    #EADDC9;   /* soft borders */

  /* Accent — toffee / caramel */
  --toffee:       #B07A4A;
  --toffee-dark:  #8E5F35;
  --toffee-light: #D9B38C;

  /* Subtle green — trust & nature */
  --sage:         #6F8A63;
  --sage-dark:    #556B4B;
  --sage-light:   #E4EBDF;
  --sage-tint:    #F1F5EE;

  /* Platform hues (used sparingly, kept muted so the page stays cozy) */
  --tiktok:       #2B2B2B;
  --instagram:    #B5647A;
  --youtube:      #A8474A;
  --pinterest:    #A6564F;
  --threads:      #4A4A4A;
  --letter:       #6F8A63;

  /* Effects */
  --radius-xl:    28px;
  --radius-lg:    22px;
  --radius-md:    16px;
  --radius-sm:    12px;
  --radius-pill:  999px;

  --shadow-sm:    0 1px 2px rgba(58, 42, 30, .05), 0 2px 8px rgba(58, 42, 30, .05);
  --shadow-md:    0 2px 6px rgba(58, 42, 30, .06), 0 10px 26px rgba(58, 42, 30, .08);
  --shadow-lg:    0 4px 10px rgba(58, 42, 30, .07), 0 20px 48px rgba(58, 42, 30, .11);
  --shadow-glow:  0 10px 30px rgba(176, 122, 74, .28);

  --ease:         cubic-bezier(.22, .61, .36, 1);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --wrap:         1140px;
  --gutter:       18px;
  --section-gap:  56px;
}

/* ==========================================================================
   RESET / BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* clears the sticky mobile bar when jumping to #anchors */
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--brown-700);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

/* Author display rules (.sticky-bar, .filter-empty, …) outrank the UA's
   [hidden] rule, so state it once here with priority. Nothing on this page
   needs a [hidden] element to be visible. */
[hidden] { display: none !important; }

a { color: var(--toffee-dark); text-decoration: none; }
a:hover { color: var(--brown-900); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--brown-900);
  line-height: 1.2;
  margin: 0;
  letter-spacing: -.01em;
  font-weight: 600;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--sage);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Decorative warm texture behind everything */
.page-texture {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 420px at 8% -6%,  rgba(217, 179, 140, .30), transparent 62%),
    radial-gradient(760px 380px at 96% 4%,  rgba(228, 235, 223, .55), transparent 60%),
    radial-gradient(900px 520px at 50% 108%, rgba(234, 221, 201, .55), transparent 62%);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--brown-900);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

/* ==========================================================================
   SHARED: BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 22px;
  border: 0;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease),
              background-color .22s var(--ease), color .22s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn i { font-size: 1.05em; }
.btn:active { transform: scale(.975); }

.btn--primary {
  background: linear-gradient(135deg, var(--brown-800) 0%, var(--brown-900) 100%);
  color: #FFF8EF;
  box-shadow: var(--shadow-md);
}
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn--secondary {
  background: var(--card);
  color: var(--brown-800);
  border: 1.5px solid var(--brown-150);
  box-shadow: var(--shadow-sm);
}
.btn--secondary:hover { border-color: var(--toffee-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--ghost {
  background: transparent;
  color: var(--brown-800);
  border: 1.5px solid var(--brown-150);
  padding: 14px 24px;
}
.btn--ghost:hover { background: var(--card); border-color: var(--toffee-light); }

.btn--toffee {
  background: linear-gradient(135deg, var(--toffee) 0%, var(--toffee-dark) 100%);
  color: #FFF9F2;
  box-shadow: var(--shadow-glow);
}
.btn--toffee:hover { color: #fff; transform: translateY(-2px); }

.btn--wide { width: 100%; }

/* ==========================================================================
   SHARED: SECTION HEADINGS
   ========================================================================== */
.section {
  position: relative;
  z-index: 1;
  padding-block: var(--section-gap);
}
.section-head { margin-bottom: 26px; text-align: center; }

.section-head__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--sage-tint);
  border: 1px solid var(--sage-light);
  color: var(--sage-dark);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.section-head__title {
  font-size: clamp(26px, 7.2vw, 40px);
  margin-bottom: 10px;
}

.section-head__subtitle {
  max-width: 58ch;
  margin-inline: auto;
  color: var(--brown-500);
  font-size: 15px;
}

.section-foot { display: flex; justify-content: center; margin-top: 24px; }

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 246, 238, .82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.topbar.is-stuck {
  border-bottom-color: var(--brown-150);
  background: rgba(251, 246, 238, .95);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
}
.topbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--brown-900);
  font-weight: 700;
}
.topbar__logo { font-size: 20px; line-height: 1; }
.topbar__name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
}
.topbar__share {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border: 1.5px solid var(--brown-150);
  border-radius: var(--radius-pill);
  background: var(--card);
  color: var(--brown-800);
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.topbar__share:hover { border-color: var(--toffee-light); transform: translateY(-1px); }

/* ==========================================================================
   1. HERO / PROFILE
   ========================================================================== */
.hero { position: relative; z-index: 1; padding-top: 14px; padding-bottom: 8px; }

.profile-card {
  position: relative;
  background: var(--card-warm);
  border: 1px solid var(--brown-150);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.profile-card__banner { position: relative; }
.profile-card__banner img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: center 42%;
}
.profile-card__banner-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(58,42,30,.34) 0%, rgba(58,42,30,.04) 42%, rgba(58,42,30,.30) 100%);
}
.profile-card__pill {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 252, 247, .93);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--brown-800);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.profile-card__pill:empty { display: none; }

.profile-card__body {
  padding: 0 20px 24px;
  text-align: center;
}

.profile-card__avatar {
  width: 104px;
  height: 104px;
  margin: -52px auto 12px;
  border-radius: 50%;
  padding: 4px;
  background: var(--card-warm);
  box-shadow: 0 8px 22px rgba(58,42,30,.16);
}
.profile-card__avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.profile-card__headline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.profile-card__name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: clamp(30px, 9.4vw, 44px);
  letter-spacing: -.02em;
}
.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: var(--sage-tint);
  border: 1px solid var(--sage-light);
  color: var(--sage-dark);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  vertical-align: middle;
}

.profile-card__handle {
  margin-top: 6px;
  color: var(--toffee-dark);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
}

.profile-card__bio {
  max-width: 46ch;
  margin: 14px auto 0;
  color: var(--brown-700);
  font-size: 15.5px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.chip-row li {
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  background: var(--cream-deep);
  border: 1px solid var(--brown-150);
  color: var(--brown-700);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

.profile-card__actions {
  display: grid;
  gap: 11px;
  margin-top: 22px;
}
.profile-card__actions .btn { width: 100%; padding: 17px 22px; font-size: 16px; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px dashed var(--brown-150);
}
.stat-row > div { text-align: center; }
.stat-row dt {
  font-family: var(--font-display);
  font-size: clamp(20px, 6vw, 26px);
  font-weight: 700;
  color: var(--brown-900);
  line-height: 1.1;
}
.stat-row dd {
  margin: 3px 0 0;
  color: var(--brown-500);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.hero-scroll-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--brown-500);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero-scroll-hint i { animation: bob 2.4s var(--ease) infinite; }
@keyframes bob {
  0%, 100% { transform: translateY(0); opacity: .55; }
  50%      { transform: translateY(4px); opacity: 1; }
}

/* ==========================================================================
   2. SOCIAL BUTTONS
   ========================================================================== */
.social-list { display: grid; gap: 12px; }

.social-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 16px;
  border: 1px solid var(--brown-150);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  color: var(--brown-800);
  overflow: hidden;
  transition: transform .24s var(--ease), box-shadow .24s var(--ease),
              border-color .24s var(--ease);
}
.social-btn::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--accent, var(--toffee));
  opacity: .85;
}
.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brown-300);
  color: var(--brown-900);
}
.social-btn:active { transform: translateY(-1px) scale(.995); }

.social-btn__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: var(--accent-soft, var(--cream-deep));
  color: var(--accent, var(--toffee));
  font-size: 21px;
}

.social-btn__text { flex: 1 1 auto; min-width: 0; }
.social-btn__label {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--brown-900);
  line-height: 1.25;
}
.social-btn__meta {
  display: block;
  margin-top: 2px;
  color: var(--brown-500);
  font-size: 12.5px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.social-btn__arrow {
  flex: 0 0 auto;
  color: var(--brown-300);
  font-size: 14px;
  transition: transform .24s var(--ease), color .24s var(--ease);
}
.social-btn:hover .social-btn__arrow { transform: translateX(4px); color: var(--toffee); }

/* Platform accents (muted on purpose) */
.social-btn[data-theme="tiktok"]    { --accent: #2B2B2B; --accent-soft: #EFEBE5; }
.social-btn[data-theme="instagram"] { --accent: #B5647A; --accent-soft: #F8ECEF; }
.social-btn[data-theme="youtube"]   { --accent: #A8474A; --accent-soft: #F9ECEC; }
.social-btn[data-theme="pinterest"] { --accent: #A6564F; --accent-soft: #F8EDEB; }
.social-btn[data-theme="threads"]   { --accent: #4A4A4A; --accent-soft: #EFEDEA; }
.social-btn[data-theme="letter"]    { --accent: var(--sage); --accent-soft: var(--sage-tint); }

.social-note {
  margin-top: 18px;
  text-align: center;
  color: var(--brown-500);
  font-size: 13px;
  font-style: italic;
}

/* ==========================================================================
   3. FEATURED CONTENT
   ========================================================================== */
.content-grid { display: grid; gap: 16px; }

.content-card {
  display: block;
  border: 1px solid var(--brown-150);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  color: var(--brown-800);
  transition: transform .26s var(--ease), box-shadow .26s var(--ease);
}
.content-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); color: var(--brown-900); }

.content-card__media { position: relative; }
.content-card__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.content-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(58,42,30,.30) 0%, transparent 46%);
}
.content-card__tag {
  position: absolute;
  top: 11px;
  left: 11px;
  z-index: 2;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: rgba(255,252,247,.95);
  color: var(--brown-800);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.content-card__platform {
  position: absolute;
  top: 11px;
  right: 11px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,252,247,.95);
  color: var(--brown-800);
  font-size: 15px;
}
.content-card__body { padding: 14px 16px 17px; }
.content-card__caption {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--brown-900);
  line-height: 1.4;
  margin: 0;
}
.content-card:hover .content-card__caption { color: var(--toffee-dark); }
.content-card__stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 9px;
  color: var(--sage-dark);
  font-size: 12.5px;
  font-weight: 700;
}

/* ==========================================================================
   4. FAVORITES / AFFILIATE
   ========================================================================== */
.section--favorites { position: relative; }
.section--favorites::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 0%, rgba(245,237,225,.65) 12%, rgba(245,237,225,.65) 88%, transparent 100%);
}

.trust-card {
  display: grid;
  gap: 0;
  margin-bottom: 26px;
  border: 1px solid var(--brown-150);
  border-radius: var(--radius-xl);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.trust-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.trust-card__body { padding: 20px; }
.trust-card__label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  background: var(--sage-tint);
  border: 1px solid var(--sage-light);
  color: var(--sage-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.trust-card__title { font-size: 21px; margin-bottom: 8px; }
.trust-card__text { color: var(--brown-700); font-size: 14.5px; }
.trust-card__disclosure {
  margin-top: 14px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  background: var(--cream-deep);
  border: 1px dashed var(--brown-300);
  color: var(--brown-700);
  font-size: 12.5px;
  line-height: 1.55;
}

/* Filter tabs */
.filter-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.filter-bar::-webkit-scrollbar { display: none; }

/* Filter toggle buttons (aria-pressed = current filter) */
.filter-tab {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 17px;
  border: 1.5px solid var(--brown-150);
  border-radius: var(--radius-pill);
  background: var(--card);
  color: var(--brown-700);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease);
}
.filter-tab i { font-size: 12px; opacity: .8; }
.filter-tab:hover { border-color: var(--toffee-light); transform: translateY(-1px); }
.filter-tab[aria-pressed="true"] {
  background: linear-gradient(135deg, var(--brown-800), var(--brown-900));
  border-color: var(--brown-900);
  color: #FFF8EF;
}
.filter-tab[aria-pressed="true"] i { opacity: 1; }

/* Product grid */
.product-grid { display: grid; gap: 16px; }

.product-card {
  position: relative;
  display: flex;
  gap: 0;
  border: 1px solid var(--brown-150);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .26s var(--ease), box-shadow .26s var(--ease), border-color .26s var(--ease);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brown-300); }

.product-card__media {
  position: relative;
  flex: 0 0 124px;
  background: var(--cream-deep);
}
.product-card__media img {
  width: 100%;
  height: 100%;
  min-height: 132px;
  object-fit: cover;
}
.product-card__flag {
  position: absolute;
  top: 9px;
  left: 9px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--sage);
  color: #fff;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}
.product-card__flag--hot { background: var(--toffee); }

.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  padding: 14px 15px 15px;
}
.product-card__cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
  color: var(--sage-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.product-card__name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.28;
  color: var(--brown-900);
  margin: 0;
}
.product-card:hover .product-card__name { color: var(--toffee-dark); }
.product-card__reason {
  margin-top: 7px;
  color: var(--brown-700);
  font-size: 13.5px;
  line-height: 1.6;
}
.product-card__reason::before {
  content: "“";
  color: var(--toffee-light);
  font-family: var(--font-display);
  font-size: 1.4em;
  line-height: 0;
  vertical-align: -.12em;
  margin-right: 1px;
}
.product-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 13px;
}
.product-card__retailer {
  color: var(--brown-500);
  font-size: 11.5px;
  font-weight: 600;
}
.product-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 16px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--toffee), var(--toffee-dark));
  color: #FFF9F2;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(176,122,74,.26);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.product-card__cta i { font-size: 10px; opacity: .9; }
.product-card:hover .product-card__cta { transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.product-card:active .product-card__cta { transform: scale(.97); }

.filter-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 34px 18px;
  border: 1px dashed var(--brown-300);
  border-radius: var(--radius-lg);
  background: var(--card-warm);
  color: var(--brown-500);
  font-size: 14px;
  text-align: center;
}

.grid-note {
  margin-top: 16px;
  text-align: center;
  color: var(--brown-500);
  font-size: 12.5px;
}

/* ==========================================================================
   5. MEET THE HEDGEHOGS
   ========================================================================== */
.hog-grid { display: grid; gap: 16px; }

.hog-card {
  position: relative;
  border: 1px solid var(--brown-150);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .26s var(--ease), box-shadow .26s var(--ease);
}
.hog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.hog-card__media { position: relative; }
.hog-card__media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.hog-card__emoji {
  position: absolute;
  right: 11px;
  bottom: 11px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,252,247,.95);
  font-size: 18px;
  box-shadow: var(--shadow-sm);
}
.hog-card__body { padding: 15px 16px 18px; }
.hog-card__name {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 20px;
}
.hog-card__role {
  color: var(--toffee-dark);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.hog-card__personality {
  margin-top: 7px;
  color: var(--brown-700);
  font-size: 13.5px;
}
.hog-card__facts {
  display: grid;
  gap: 7px;
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px dashed var(--brown-150);
}
.hog-card__facts li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--brown-700);
  font-size: 12.5px;
}
.hog-card__facts i { margin-top: 3px; color: var(--sage); font-size: 11px; }

/* ==========================================================================
   CTA CARD
   ========================================================================== */
.cta-card {
  padding: 32px 22px;
  border-radius: var(--radius-xl);
  background: linear-gradient(150deg, var(--sage-tint) 0%, var(--cream-deep) 100%);
  border: 1px solid var(--sage-light);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.cta-card__emoji { font-size: 34px; }
.cta-card__title { font-size: clamp(23px, 6.4vw, 32px); margin-top: 10px; }
.cta-card__text {
  max-width: 46ch;
  margin: 10px auto 20px;
  color: var(--brown-700);
  font-size: 15px;
}
.cta-card .btn { max-width: 380px; margin-inline: auto; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  padding-block: 40px 110px; /* bottom space for the sticky mobile bar */
  background: var(--brown-900);
  color: #E8DCCB;
}
.footer__inner { display: grid; gap: 30px; }
.footer__logo { font-size: 30px; }
.footer__heading {
  margin-top: 6px;
  font-size: 24px;
  color: #FFF8EF;
}
.footer__blurb { margin-top: 8px; color: #CDBDA8; font-size: 14px; max-width: 42ch; }

.footer__subheading {
  margin-bottom: 12px;
  color: #FFF8EF;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.footer__nav ul { display: grid; gap: 9px; }
.footer__nav a { color: #D9C9B4; font-size: 14px; }
.footer__nav a:hover { color: #FFF8EF; }

.footer__social-list { display: flex; flex-wrap: wrap; gap: 9px; }
.footer__social-list a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: rgba(255,248,239,.08);
  border: 1px solid rgba(255,248,239,.14);
  color: #E8DCCB;
  font-size: 17px;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.footer__social-list a:hover {
  background: var(--toffee);
  border-color: var(--toffee);
  color: #fff;
  transform: translateY(-3px);
}
.footer__contact {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-top: 14px;
  color: #CDBDA8;
  font-size: 13px;
  line-height: 1.5;
}
.footer__contact-label { color: #D9C9B4; }
.footer__contact a {
  color: var(--toffee-light);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-all;
}
.footer__contact a:hover { color: #FFF8EF; }

.footer__disclosure {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255,248,239,.06);
  border: 1px solid rgba(255,248,239,.12);
}
.footer__disclosure p { color: #C6B49D; font-size: 12.5px; line-height: 1.65; }
.footer__care {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255,248,239,.16);
}

.footer__base {
  display: grid;
  gap: 6px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,248,239,.12);
  color: #A89478;
  font-size: 12.5px;
  text-align: center;
}

/* ==========================================================================
   STICKY MOBILE BAR
   ========================================================================== */
.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(251, 246, 238, .93);
  backdrop-filter: saturate(1.5) blur(16px);
  -webkit-backdrop-filter: saturate(1.5) blur(16px);
  border-top: 1px solid var(--brown-150);
  transform: translateY(115%);
  transition: transform .34s var(--ease), opacity .25s ease, visibility .34s;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.sticky-bar.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sticky-bar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 10px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform .2s var(--ease);
}
.sticky-bar__btn:active { transform: scale(.97); }
.sticky-bar__btn--follow {
  background: linear-gradient(135deg, var(--brown-800), var(--brown-900));
  color: #FFF8EF;
  box-shadow: var(--shadow-md);
}
.sticky-bar__btn--follow:hover { color: #fff; }
.sticky-bar__btn--picks {
  background: linear-gradient(135deg, var(--toffee), var(--toffee-dark));
  color: #FFF9F2;
  box-shadow: var(--shadow-glow);
}
.sticky-bar__btn--picks:hover { color: #fff; }

/* Back-to-top */
.to-top {
  position: fixed;
  right: 16px;
  bottom: 96px;
  z-index: 65;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--brown-150);
  border-radius: 50%;
  background: var(--card);
  color: var(--brown-800);
  font-size: 15px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* ==========================================================================
   NOSCRIPT
   ========================================================================== */
.noscript-card {
  margin: 20px auto;
  padding: 22px;
  border: 1px solid var(--brown-150);
  border-radius: var(--radius-lg);
  background: var(--card);
}
.noscript-card h2 { margin-bottom: 8px; }
.noscript-card ul { list-style: disc; padding-left: 20px; margin-top: 10px; }
.noscript-card li { margin-bottom: 6px; }

/* ==========================================================================
   REVEAL-ON-SCROLL (progressive enhancement)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

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

/* ==========================================================================
   SMALL-PHONE REFINEMENTS (≤ 360px)
   ========================================================================== */
@media (max-width: 360px) {
  :root { --gutter: 14px; }
  .profile-card__body { padding-inline: 15px; }
  .product-card__media { flex-basis: 104px; }
  .product-card__name { font-size: 16px; }
  .product-card__reason { font-size: 13px; }
  .chip-row li { font-size: 12px; }
}

/* ==========================================================================
   TABLET — from 600px
   ========================================================================== */
@media (min-width: 600px) {
  :root { --gutter: 26px; --section-gap: 68px; }

  .profile-card__banner img { aspect-ratio: 16 / 9; }
  .profile-card__avatar { width: 120px; height: 120px; margin-top: -60px; }
  .profile-card__body { padding: 0 34px 30px; }
  .profile-card__actions { grid-template-columns: 1fr 1fr; }
  .profile-card__actions .btn { padding: 16px 20px; font-size: 15px; }

  .social-list { grid-template-columns: 1fr 1fr; gap: 13px; }

  .content-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .hog-grid { grid-template-columns: repeat(2, 1fr); }

  .trust-card { grid-template-columns: 0.9fr 1.1fr; }
  .trust-card img { height: 100%; aspect-ratio: auto; min-height: 230px; }

  .cta-card { padding: 42px 34px; }

  .footer { padding-bottom: 60px; }
  .footer__inner { grid-template-columns: 1.2fr 1fr; gap: 34px; }
  .footer__disclosure { grid-column: 1 / -1; }
  .footer__base { grid-column: 1 / -1; }
  .to-top { bottom: 22px; }
}

/* ==========================================================================
   DESKTOP — from 900px
   ========================================================================== */
@media (min-width: 900px) {
  :root { --gutter: 34px; --section-gap: 84px; }

  .topbar__inner { min-height: 66px; }

  .hero { padding-top: 26px; }

  /* Two-column hero: banner left, profile details right */
  .profile-card {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
    align-items: stretch;
  }
  .profile-card__banner { height: 100%; }
  .profile-card__banner img { height: 100%; aspect-ratio: auto; min-height: 470px; }
  .profile-card__pill { left: 16px; right: 16px; bottom: 16px; font-size: 12.5px; }

  .profile-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 44px;
    text-align: left;
  }
  .profile-card__avatar {
    width: 78px;
    height: 78px;
    margin: 0 0 18px;
    padding: 3px;
  }
  .profile-card__headline { justify-content: flex-start; }
  .profile-card__name { font-size: 46px; justify-content: flex-start; }
  .profile-card__handle { font-size: 15px; }
  .profile-card__bio { margin: 16px 0 0; max-width: 44ch; font-size: 16px; }
  .chip-row { justify-content: flex-start; }
  .profile-card__actions { margin-top: 26px; }
  .stat-row { margin-top: 28px; }

  /* 3-up layouts */
  .social-list { grid-template-columns: repeat(3, 1fr); }
  .content-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .hog-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }

  .section-head { margin-bottom: 34px; }
  .section-head__subtitle { font-size: 16px; }

  /* Product cards become vertical on desktop so the photo can breathe */
  .product-card { flex-direction: column; }
  .product-card__media { flex: 0 0 auto; }
  .product-card__media img { height: 218px; aspect-ratio: auto; min-height: 0; }
  .product-card__body { padding: 17px 19px 19px; }
  .product-card__name { font-size: 19px; }
  .product-card__reason { font-size: 14px; }
  .product-card__cta { padding: 12px 18px; font-size: 13.5px; }

  .trust-card__body { padding: 30px 32px; }
  .trust-card__title { font-size: 25px; }
  .trust-card__text { font-size: 15px; }

  .hog-card__name { font-size: 22px; }

  .cta-card { padding: 54px 40px; }
  .cta-card__text { font-size: 16px; }

  .footer__inner { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__disclosure { grid-column: 1 / -1; }

  /* Sticky bar is a mobile conversion tool — desktop uses the header + hero */
  .sticky-bar { display: none; }
  .to-top { bottom: 26px; right: 26px; }
}

/* ==========================================================================
   LARGE DESKTOP — from 1200px
   ========================================================================== */
@media (min-width: 1200px) {
  .profile-card__body { padding: 52px 56px; }
  .product-card__media img { height: 240px; }
}

/* ==========================================================================
   PRINT
   ========================================================================== */
@media print {
  .page-texture, .sticky-bar, .to-top, .topbar, .cta-card { display: none !important; }
  body { background: #fff; }
  .footer { background: #fff; color: #000; }
}
