/* Business Mums Hub, Design System v1 */

:root {
  --apricot: #FCD9BE;
  --card: #FFF6EC;
  --tomato: #F06038;
  --tomato-deep: #D94F2B;
  --chartreuse: #D6F74C;
  --vista: #8C9EFF;
  --ink: #2A1A12;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--apricot);
  color: var(--ink);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

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

a { color: inherit; }

.bowlby { font-family: 'Bowlby One', sans-serif; font-weight: 400; }
.fraunces { font-family: 'Fraunces', serif; font-style: italic; font-weight: 900; }
.caveat { font-family: 'Caveat', cursive; font-weight: 600; }

/* ---------- MARQUEE BAR ---------- */
.marquee {
  background: var(--tomato);
  overflow: hidden;
  padding: 10px 0;
  white-space: nowrap;
}
.marquee-track {
  display: inline-block;
  animation: marquee 28s linear infinite;
}
.marquee-track span {
  font-family: 'Bowlby One', sans-serif;
  font-size: 15px;
  letter-spacing: 0.12em;
  color: var(--chartreuse);
  padding-right: 14px;
}
.marquee-track span b { color: #fff; font-weight: 400; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- NAV MASTHEAD ---------- */
.masthead {
  background: var(--apricot);
  border-bottom: 3px solid var(--ink);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 50;
}
.masthead .wordmark {
  font-family: 'Bowlby One', sans-serif;
  font-size: clamp(16px, 3.4vw, 21px);
  color: var(--ink);
  text-decoration: none;
  line-height: 1.05;
}
.masthead .wordmark em {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 900;
  color: var(--tomato);
}
.navlinks {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 26px);
  flex-wrap: wrap;
}
.navlinks a {
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
  position: relative;
  padding: 8px 2px;
}
/* On phones the full nav wraps to several rows; let it scroll away
   instead of pinning a tall header over the content. */
@media (max-width: 820px) {
  .masthead { position: static; }
}
[id] { scroll-margin-top: 96px; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--vista);
  outline-offset: 2px;
  border-radius: 4px;
}
.navlinks a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 2px;
  width: 100%; height: 3px;
  background: var(--tomato);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.navlinks a:not(.btn):hover::after,
.navlinks a.active::after { transform: scaleX(1); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  font-family: 'Bowlby One', sans-serif;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--chartreuse);
  background: var(--tomato);
  border: none;
  border-radius: 8px;
  padding: 14px 24px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  box-shadow: 4px 4px 0 var(--ink);
}
.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink);
  background: var(--tomato-deep);
}
.btn:active { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--ink); }
.btn.btn-ink { background: var(--ink); color: var(--chartreuse); box-shadow: 4px 4px 0 var(--tomato); }
.btn.btn-ink:hover { box-shadow: 7px 7px 0 var(--tomato); }
.btn.small { font-size: 13px; padding: 11px 18px; }

.arrow-link {
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}
.arrow-link svg { transition: transform .2s ease; }
.arrow-link:hover svg { transform: translateX(6px); }

/* ---------- LAYOUT ---------- */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
section { padding: clamp(56px, 9vw, 110px) 0; }

.kicker {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.kicker::before { content: "// "; color: var(--tomato); }

.pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  border: 2px solid var(--ink);
  border-radius: 100px;
  padding: 7px 16px 7px 18px;
  margin-bottom: 20px;
  background: var(--chartreuse);
}

.rule { height: 3px; background: var(--tomato); border: none; margin: 0; transform-origin: left; }

h1, h2 {
  font-family: 'Bowlby One', sans-serif;
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
h1 { font-size: clamp(38px, 7.2vw, 84px); }
h2 { font-size: clamp(28px, 4.6vw, 52px); margin-bottom: 22px; }
.accent { color: var(--tomato); }
.accent-blue { color: var(--vista); }
.hl {
  background: var(--chartreuse);
  padding: 0 12px;
  border-radius: 6px;
  display: inline-block;
}

.lede { font-size: clamp(17px, 2.2vw, 21px); max-width: 620px; }

/* ---------- HERO ---------- */
.hero { padding: clamp(48px, 7vw, 90px) 0 clamp(56px, 8vw, 100px); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 820px) { .hero-grid { grid-template-columns: 1fr; } }

.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line span {
  display: inline-block;
  transform: translateY(110%) rotate(2deg);
  animation: punch-in .7s cubic-bezier(.2,.9,.25,1) forwards;
}
.hero h1 .line:nth-child(2) span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) span { animation-delay: .24s; }
@keyframes punch-in { to { transform: translateY(0) rotate(0); } }

.hero .lede { margin: 26px 0 30px; }
.cta-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

/* photo with the offset-shadow block */
.photo-block { position: relative; }
.photo-block img {
  border-radius: 10px;
  box-shadow: 12px 12px 0 var(--tomato);
  transition: transform .3s ease, box-shadow .3s ease;
}
.photo-block:hover img {
  transform: translate(-4px, -4px);
  box-shadow: 18px 18px 0 var(--tomato);
}
.photo-block.blue img { box-shadow: 12px 12px 0 var(--vista); }
.photo-block.blue:hover img { box-shadow: 18px 18px 0 var(--vista); }

/* Caveat aside with drawn arrow */
.aside-note {
  font-family: 'Caveat', cursive;
  font-weight: 600;
  font-size: clamp(19px, 2.6vw, 24px);
  color: var(--ink);
  transform: rotate(-3deg);
  display: flex;
  align-items: center;
  gap: 6px;
}
.aside-note svg path {
  stroke: var(--tomato);
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
}
.in-view .aside-note svg path, .aside-note.drawn svg path {
  animation: draw 1s ease .3s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- CARDS ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: 12px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 0 0 var(--ink);
}
.card:hover { transform: translate(-5px, -5px); box-shadow: 8px 8px 0 var(--ink); }
.card .card-tag {
  font-family: 'Bowlby One', sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--card);
  background: var(--tomato);
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 6px;
}
.card:nth-child(2) .card-tag { background: var(--vista); color: var(--ink); }
.card:nth-child(3) .card-tag { background: var(--ink); color: var(--chartreuse); }
.card h3 {
  font-family: 'Bowlby One', sans-serif;
  font-weight: 400;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.1;
  text-transform: uppercase;
}
.card p { font-size: 16px; }
.card .go { margin-top: auto; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }

/* ---------- EDITORIAL QUOTE ---------- */
.editorial { background: var(--ink); color: var(--apricot); position: relative; }
.editorial .qmark {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 900;
  font-size: clamp(120px, 18vw, 240px);
  line-height: 0.6;
  color: var(--tomato);
  display: block;
  margin-bottom: 8px;
}
.editorial blockquote {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 900;
  font-size: clamp(24px, 4.2vw, 44px);
  line-height: 1.25;
  max-width: 900px;
}
.editorial blockquote .em { color: var(--chartreuse); }
.editorial figcaption {
  margin-top: 26px;
  font-family: 'Caveat', cursive;
  font-size: 22px;
  color: var(--vista);
}

/* ---------- ACTION BAR (chartreuse) ---------- */
.action-bar { background: var(--chartreuse); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
section.action-bar { padding: clamp(40px, 6vw, 72px) 0; }
.action-bar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
}
.action-bar h2 { margin-bottom: 6px; }

/* ---------- COUNTDOWN ---------- */
.countdown { display: flex; gap: 14px; }
.count-cell {
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: 10px;
  padding: 12px 10px 8px;
  min-width: 76px;
  text-align: center;
  box-shadow: 5px 5px 0 var(--ink);
}
.count-cell .num {
  font-family: 'Bowlby One', sans-serif;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1;
  color: var(--tomato);
}
.count-cell .lab {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 4px;
}
@media (max-width: 480px) { .count-cell { min-width: 62px; } }

/* ---------- DATE BLOCK ---------- */
.date-block {
  display: inline-block;
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: 12px;
  box-shadow: 10px 10px 0 var(--vista);
  padding: 22px 28px;
  text-align: center;
}
.date-block .dow { font-weight: 700; letter-spacing: 0.28em; font-size: 13px; text-transform: uppercase; }
.date-block .day {
  font-family: 'Bowlby One', sans-serif;
  font-size: clamp(44px, 6vw, 64px);
  line-height: 1;
  color: var(--tomato);
}
.date-block .rest { font-weight: 600; font-size: 15px; margin-top: 6px; }

/* ---------- OUTCOME LIST ---------- */
.outcomes { counter-reset: win; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.outcomes.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .outcomes, .outcomes.cols-3 { grid-template-columns: 1fr; } }
.outcome {
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: 12px;
  padding: 22px 24px 22px 20px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: transform .2s ease, box-shadow .2s ease;
}
.outcome:hover { transform: translate(-4px, -4px); box-shadow: 7px 7px 0 var(--tomato); }
.outcome::before {
  counter-increment: win;
  content: counter(win, decimal-leading-zero);
  font-family: 'Bowlby One', sans-serif;
  font-size: 26px;
  color: var(--tomato);
  line-height: 1.1;
}
.outcome:nth-child(4n+2)::before { color: var(--vista); }
.outcome strong { display: block; font-size: 17px; margin-bottom: 4px; }
.outcome p { font-size: 15px; }

/* ---------- PRICE ---------- */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 760px; }
@media (max-width: 680px) { .price-grid { grid-template-columns: 1fr; } }
.price-card {
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: 12px;
  padding: 30px 28px;
  position: relative;
}
.price-card.featured { background: var(--chartreuse); box-shadow: 9px 9px 0 var(--ink); }
.price-card .plan { font-weight: 700; letter-spacing: 0.18em; font-size: 13px; text-transform: uppercase; }
.price-card .amount {
  font-family: 'Bowlby One', sans-serif;
  font-size: clamp(40px, 5.4vw, 56px);
  line-height: 1.05;
  color: var(--tomato);
}
.price-card .split { font-weight: 600; margin-top: 4px; }
.price-card .note { font-size: 14px; margin-top: 12px; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; }
.faq details {
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: 'Bowlby One', sans-serif;
  font-size: 22px;
  color: var(--tomato);
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 20px; font-size: 16px; }

/* ---------- FORM ---------- */
.form-card {
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: 14px;
  box-shadow: 10px 10px 0 var(--tomato);
  padding: 34px 30px;
  max-width: 560px;
}
.form-card label.visible-label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; letter-spacing: 0.04em; }
.field {
  width: 100%;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  color: var(--ink);
  padding: 15px 16px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: #fff;
  margin-bottom: 16px;
}
.field:focus { outline: 3px solid var(--vista); outline-offset: 1px; }
.submit-btn { width: 100%; }
.microcopy { font-size: 13px; opacity: 0.75; margin-top: 14px; text-align: center; line-height: 1.5; }
.error-msg { display: none; font-size: 15px; color: var(--ink); background: var(--chartreuse); border-radius: 6px; padding: 8px 12px; font-weight: 700; margin-top: 12px; text-align: center; }
.hp-field { position: absolute; left: -5000px; opacity: 0; height: 0; overflow: hidden; }
.success-card {
  display: none;
  background: var(--chartreuse);
  border: 3px solid var(--ink);
  border-radius: 14px;
  box-shadow: 10px 10px 0 var(--ink);
  padding: 40px 30px;
  max-width: 560px;
  text-align: center;
}
.success-card h3 { font-family: 'Bowlby One', sans-serif; font-weight: 400; font-size: clamp(20px, 3.4vw, 28px); margin-bottom: 12px; text-transform: uppercase; }

/* ---------- GALLERY ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery img {
  border-radius: 10px;
  border: 3px solid var(--ink);
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  transition: transform .25s ease;
}
.gallery img:hover { transform: rotate(-1.5deg) scale(1.02); }

/* ---------- EVENT LIST ---------- */
a.event-row { text-decoration: none; color: inherit; }
.event-row {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: 12px;
  padding: 18px 24px;
  margin-bottom: 14px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.event-row:hover { transform: translate(-4px, -4px); box-shadow: 7px 7px 0 var(--chartreuse), 7px 7px 0 3px var(--ink); }
.event-row .ed {
  font-family: 'Bowlby One', sans-serif;
  font-size: 15px;
  color: var(--card);
  background: var(--tomato);
  border-radius: 8px;
  padding: 10px 14px;
  text-align: center;
  line-height: 1.2;
  min-width: 92px;
}
.event-row .ev { font-weight: 700; font-size: 18px; }
.event-row .el { font-size: 14px; opacity: 0.8; }

/* ---------- TAGLINE BAR + FOOTER ---------- */
.tagline-bar {
  background: var(--tomato);
  padding: clamp(30px, 5vw, 56px) 24px;
  text-align: center;
}
.tagline-bar p {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 900;
  font-size: clamp(28px, 6vw, 60px);
  color: #fff;
  line-height: 1.1;
}
footer { background: var(--ink); color: var(--apricot); padding: 56px 24px 40px; }
.footer-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
footer .fw { font-family: 'Bowlby One', sans-serif; font-size: 19px; margin-bottom: 10px; }
footer a { color: var(--apricot); text-decoration: none; }
footer a:hover { color: var(--chartreuse); }
footer ul { list-style: none; }
footer li { margin-bottom: 8px; }
.built-by {
  margin-top: 18px;
  display: inline-block;
  background: var(--tomato);
  color: #fff;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.5;
}
.built-by b { font-family: 'Bowlby One', sans-serif; font-weight: 400; letter-spacing: 0.04em; }
.footer-base {
  max-width: 1120px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(252, 217, 190, 0.25);
  font-size: 13px;
  opacity: 0.8;
}

/* ---------- SKIP LINK ---------- */
.skip-link {
  position: absolute;
  left: -5000px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--chartreuse);
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 0 0 8px 0;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ---------- SCROLL REVEALS ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.25,1); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal-rule { transform: scaleX(0); transition: transform .9s cubic-bezier(.2,.8,.25,1); transform-origin: left; }
.reveal-rule.in-view { transform: scaleX(1); }
.stagger > * { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.25,1); }
.stagger.in-view > * { opacity: 1; transform: none; }
.stagger.in-view > *:nth-child(1) { transition-delay: 0s; }
.stagger.in-view > *:nth-child(2) { transition-delay: .1s; }
.stagger.in-view > *:nth-child(3) { transition-delay: .2s; }
.stagger.in-view > *:nth-child(4) { transition-delay: .3s; }
.stagger.in-view > *:nth-child(5) { transition-delay: .4s; }
.stagger.in-view > *:nth-child(6) { transition-delay: .5s; }
.stagger.in-view > *:nth-child(7) { transition-delay: .6s; }
.stagger.in-view > *:nth-child(8) { transition-delay: .7s; }

/* ---------- NO-JS FALLBACK ----------
   If JavaScript never runs, nothing may stay hidden. */
html:not(.js) .reveal,
html:not(.js) .stagger > *,
html:not(.js) .reveal-rule {
  opacity: 1;
  transform: none;
  transition: none;
}
html:not(.js) .aside-note svg path { stroke-dashoffset: 0; animation: none; }

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .hero h1 .line span { animation: none; transform: none; }
  .reveal, .stagger > *, .reveal-rule { opacity: 1; transform: none; transition: none; }
  .aside-note svg path { stroke-dashoffset: 0; animation: none; }
  .btn, .card, .photo-block img, .outcome, .event-row, .gallery img { transition: none; }
}
