/* ===== Kill the Cramps — shared topic-page styles ===== */
:root {
  --pink-bg: #FFDEF0;
  --pink-deep: #FFC9E5;
  --pink-wash: #FFF1F8;
  --raspberry: #E06B98;
  --raspberry-dark: #C24E7C;
  --plum: #4A2235;
  --plum-soft: #6E4356;
  --lilac: #B7A6E0;
  --lilac-deep: #9C86CF;
  --cream: #FBE8B6;
  --ink: #1f1a1d;
  --white: #ffffff;
  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
  --radius: 26px;
  --accent: #FFC9E5;
  font-size: 18px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', sans-serif;
  background-color: var(--pink-bg);
  color: var(--plum);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: 'Fredoka', sans-serif; line-height: 1.1; color: var(--plum); }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1180px, 92vw); margin-inline: auto; }

.flower { display: inline-block; line-height: 0; }
.flower svg { display: block; }
.bg-daisies { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.bg-daisies .flower { position: absolute; opacity: .5; }
.d1 { top: 10%; left: 4%; animation: float 9s ease-in-out infinite; }
.d2 { top: 26%; right: 6%; animation: float 11s ease-in-out infinite reverse; }
.d3 { top: 70%; left: 7%; animation: float 10s ease-in-out infinite; }
.d4 { top: 84%; right: 9%; animation: float 12s ease-in-out infinite reverse; }
@keyframes float { 0%,100%{ transform: translateY(0) rotate(0deg);} 50%{ transform: translateY(-22px) rotate(12deg);} }
@keyframes bob { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-14px);} }
@keyframes wiggle{ 0%,100%{ transform: rotate(-3deg);} 50%{ transform: rotate(3deg);} }
main, header, footer { position: relative; z-index: 1; }

/* header */
header { position: sticky; top: 0; z-index: 50; background: var(--pink-bg); border-bottom: 3px solid var(--ink); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; }
.brand { display: flex; align-items: center; gap: .6rem; font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 1.5rem; color: var(--plum); white-space: nowrap; }
.brand .killmark { color: var(--raspberry-dark); }
.nav-links { display: flex; align-items: center; gap: .35rem; }
.nav-links a { font-family: 'Fredoka', sans-serif; font-weight: 500; font-size: 1rem; padding: .45rem .85rem; border-radius: 999px; transition: background .15s, color .15s; }
.nav-links a:hover { background: var(--white); color: var(--raspberry-dark); }
.nav-cta { background: var(--raspberry); color: var(--white) !important; border: 2.5px solid var(--ink); box-shadow: var(--shadow-sm); padding: .45rem 1rem !important; }
.nav-cta:hover { background: var(--raspberry-dark) !important; transform: translate(-1px,-1px); box-shadow: 5px 5px 0 var(--ink); }
.menu-btn { display: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 1.05rem; padding: .8rem 1.5rem; border-radius: 999px; cursor: pointer; border: 3px solid var(--ink); box-shadow: var(--shadow); transition: transform .12s ease, box-shadow .12s ease; }
.btn:hover { transform: translate(-2px,-2px); box-shadow: 8px 8px 0 var(--ink); }
.btn:active { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--ink); }
.btn-primary { background: var(--raspberry); color: var(--white); }
.btn-light { background: var(--white); color: var(--plum); }

/* breadcrumb */
.crumb { display: flex; align-items: center; gap: .5rem; padding: 1.4rem 0 0; font-family: 'Fredoka', sans-serif; font-weight: 500; font-size: .98rem; color: var(--plum-soft); }
.crumb a:hover { color: var(--raspberry-dark); }
.crumb svg { width: 16px; height: 16px; }

/* topic hero */
.thero { padding: clamp(1.5rem,4vw,3rem) 0 clamp(2rem,5vw,3.5rem); }
.thero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-family: 'Caveat', cursive; font-size: 1.45rem; font-weight: 700; color: var(--raspberry-dark); background: var(--white); border: 2.5px solid var(--ink); border-radius: 999px; padding: .15rem 1rem .25rem; box-shadow: var(--shadow-sm); margin-bottom: 1.2rem; white-space: nowrap; }
.thero h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 700; letter-spacing: -.5px; }
.thero h1 .em { color: var(--raspberry-dark); position: relative; white-space: nowrap; }
.thero h1 .em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .18em; background: var(--accent); border-radius: 999px; z-index: -1; }
.thero p.lead { font-size: 1.25rem; margin: 1.3rem 0 1.8rem; max-width: 42ch; color: var(--plum-soft); font-weight: 500; }
.thero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.thero-art { position: relative; display: grid; place-items: center; }
.thero-blob { position: absolute; width: 96%; aspect-ratio: 1/1; background: var(--accent); border: 3px solid var(--ink); border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%; box-shadow: var(--shadow); animation: wiggle 9s ease-in-out infinite; }
.thero-art img { position: relative; width: 84%; max-width: 360px; filter: drop-shadow(3px 6px 0 rgba(31,26,29,.12)); animation: bob 5s ease-in-out infinite; }

/* videos */
.vids { padding: clamp(2rem,5vw,4rem) 0; }
.sec-head { max-width: 52ch; margin: 0 0 clamp(1.6rem,3vw,2.4rem); }
.sec-head .tag { font-family: 'Caveat', cursive; font-size: 1.5rem; font-weight: 700; color: var(--raspberry-dark); display: block; }
.sec-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 600; margin-top: .2rem; }
.sec-head p { margin-top: .6rem; color: var(--plum-soft); font-size: 1.08rem; font-weight: 500; }

.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.video-card { background: var(--white); border: 3px solid var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .14s ease, box-shadow .14s ease; cursor: pointer; }
.video-card:hover { transform: translate(-3px,-3px); box-shadow: 9px 9px 0 var(--ink); }
.thumb { position: relative; aspect-ratio: 16/10; background: var(--accent); border-bottom: 3px solid var(--ink); display: grid; place-items: center; overflow: hidden; }
.thumb .pattern { position: absolute; inset: 0; opacity: .5; }
.thumb .ep { position: absolute; top: .7rem; left: .7rem; background: var(--white); border: 2.5px solid var(--ink); border-radius: 999px; font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: .82rem; padding: .15rem .7rem; }
.thumb .dur { position: absolute; bottom: .7rem; right: .7rem; background: var(--ink); color: #fff; border-radius: 8px; font-family: 'Fredoka', sans-serif; font-weight: 500; font-size: .78rem; padding: .12rem .55rem; white-space: nowrap; }
.thumb .play { position: relative; width: 64px; height: 64px; background: var(--white); border: 3px solid var(--ink); border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: transform .15s ease; }
.video-card:hover .thumb .play { transform: scale(1.08); }
.thumb .play svg { width: 26px; height: 26px; margin-left: 3px; }
.thumb .prodimg { position: relative; max-height: 70%; max-width: 60%; filter: drop-shadow(2px 4px 0 rgba(31,26,29,.12)); }
.video-meta { padding: 1.1rem 1.2rem 1.3rem; }
.video-meta h3 { font-size: 1.18rem; font-weight: 600; line-height: 1.25; }
.video-meta p { margin-top: .4rem; color: var(--plum-soft); font-weight: 500; font-size: .96rem; }
.video-meta .badge { display: inline-block; margin-top: .7rem; background: var(--pink-wash); border: 2px solid var(--ink); border-radius: 999px; font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: .78rem; padding: .12rem .6rem; }

/* coming soon note */
.soon-note { display: flex; align-items: center; gap: .8rem; justify-content: center; text-align: center; margin-top: 2.4rem; background: var(--white); border: 2.5px solid var(--ink); border-radius: 18px; padding: 1rem 1.4rem; box-shadow: var(--shadow-sm); max-width: 640px; margin-inline: auto; font-weight: 600; color: var(--plum-soft); }
.soon-note .flower { flex: 0 0 auto; }

/* product placeholder cards */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.prod-card { display: flex; flex-direction: column; background: var(--white); border: 3px solid var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .14s ease, box-shadow .14s ease; }
.prod-card:hover { transform: translate(-3px,-3px); box-shadow: 9px 9px 0 var(--ink); }
.prod-thumb { position: relative; aspect-ratio: 4/3; background: var(--accent); border-bottom: 3px solid var(--ink); display: grid; place-items: center; overflow: hidden; }
.prod-thumb .pattern { position: absolute; inset: 0; opacity: .45; }
.prod-thumb img { position: relative; max-height: 76%; max-width: 66%; filter: drop-shadow(2px 4px 0 rgba(31,26,29,.12)); }
.prod-thumb .ph-daisy { position: relative; opacity: .92; }
.prod-thumb .ph-daisy svg { display: block; }
.prod-thumb .soon { position: absolute; top: .7rem; left: .7rem; background: var(--raspberry); color: #fff; border: 2.5px solid var(--ink); border-radius: 999px; font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: .8rem; padding: .15rem .75rem; box-shadow: 3px 3px 0 var(--ink); transform: rotate(-3deg); white-space: nowrap; }
.prod-meta { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.prod-brand { font-family: 'Caveat', cursive; font-weight: 700; font-size: 1.25rem; color: var(--raspberry-dark); line-height: 1; }
.prod-name { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 1.3rem; color: var(--plum); margin-top: .2rem; }
.prod-desc { margin-top: .6rem; color: var(--plum-soft); font-weight: 500; font-size: .98rem; flex: 1; }
.prod-slotline { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem; font-family: 'Fredoka', sans-serif; font-weight: 500; font-size: .85rem; color: var(--lilac-deep); }
.prod-slotline svg { width: 15px; height: 15px; }
.prod-card.is-placeholder .prod-brand,
.prod-card.is-placeholder .prod-name { color: var(--lilac-deep); }
.prod-card.is-placeholder .prod-desc { font-style: italic; }

@media (max-width: 900px) { .prod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .prod-grid { grid-template-columns: 1fr; } }

/* more topics */
.more { background: var(--white); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); padding: clamp(2.5rem,5vw,4rem) 0; }
.more h2 { font-size: clamp(1.6rem,3.5vw,2.2rem); font-weight: 600; text-align: center; margin-bottom: 1.8rem; }
.more-row { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }
.more-chip { display: inline-flex; align-items: center; gap: .5rem; background: var(--pink-bg); border: 2.5px solid var(--ink); border-radius: 999px; padding: .55rem 1.1rem; font-family: 'Fredoka', sans-serif; font-weight: 500; font-size: 1rem; box-shadow: var(--shadow-sm); transition: transform .12s ease, box-shadow .12s ease, background .12s; }
.more-chip:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 var(--ink); background: var(--accent); }

/* cta */
.cta { padding: clamp(3rem,6vw,5rem) 0; }
.cta-card { background: var(--raspberry); color: #fff; border: 3px solid var(--ink); border-radius: 34px; box-shadow: var(--shadow); padding: clamp(2rem,5vw,3.5rem); text-align: center; position: relative; overflow: hidden; }
.cta-card h2 { color: #fff; font-size: clamp(1.8rem,4vw,2.6rem); font-weight: 600; }
.cta-card p { margin: .8rem auto 1.8rem; max-width: 44ch; font-weight: 600; font-size: 1.08rem; color: #fff5fa; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

/* footer */
footer { background: var(--pink-bg); border-top: 3px solid var(--ink); padding: 2.5rem 0; }
.foot { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; }
.foot .brand { font-size: 1.3rem; }
.foot-links { display: flex; gap: 1.2rem; flex-wrap: wrap; font-family: 'Fredoka', sans-serif; font-weight: 500; }
.foot-links a:hover { color: var(--raspberry-dark); }
.foot-fine { width: 100%; text-align: center; margin-top: 1.6rem; font-size: .85rem; color: var(--plum-soft); font-weight: 600; max-width: 70ch; margin-inline: auto; line-height: 1.6; }

@media (max-width: 900px) {
  .thero-grid { grid-template-columns: 1fr; text-align: center; }
  .thero p.lead { margin-inline: auto; }
  .thero-actions { justify-content: center; }
  .thero-art { order: -1; }
  .thero-art img { max-width: 280px; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .nav-links.open { display: flex; position: absolute; top: 100%; right: 4vw; flex-direction: column; background: var(--white); border: 3px solid var(--ink); border-radius: 20px; padding: .8rem; box-shadow: var(--shadow); align-items: stretch; min-width: 200px; }
  .nav-links.open a { text-align: center; }
  .menu-btn { display: grid; place-items: center; width: 46px; height: 46px; background: var(--white); border: 3px solid var(--ink); border-radius: 14px; box-shadow: var(--shadow-sm); cursor: pointer; }
  .menu-btn svg { width: 24px; height: 24px; }
}
@media (max-width: 560px) {
  :root { font-size: 16px; }
  .video-grid { grid-template-columns: 1fr; }
  .foot { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; }
}
