/* ================================================================
   V5 — Bold & Friendly shared style system
   Used by home-v5 + all inner pages styled in this direction.
   ================================================================ */

body { background: var(--paper); }

/* ============ BUTTONS ============ */
.v5-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 28px; background: var(--ink); color: var(--paper);
  border: 1.5px solid var(--ink); border-radius: 999px;
  font-weight: 600; font-size: 15px; text-decoration: none;
  box-shadow: 4px 4px 0 var(--terracotta);
  transition: transform 0.15s, box-shadow 0.15s;
}
.v5-btn-primary:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--terracotta); }
.v5-btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 28px; background: #fff; color: var(--ink);
  border: 1.5px solid var(--ink); border-radius: 999px;
  font-weight: 600; font-size: 15px; text-decoration: none;
  box-shadow: 4px 4px 0 var(--honey);
  transition: transform 0.15s, box-shadow 0.15s;
}
.v5-btn-secondary:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--honey); }
.v5-btn-sm { padding: 12px 22px; font-size: 14px; }

/* ============ EYEBROW (replaces former pill badge) ============ */
.v5-tag, .v5-eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 18px;
  background: transparent !important; border: 0 !important;
  box-shadow: none !important; padding: 0 !important; border-radius: 0 !important;
}
/* Hide legacy dot inside .v5-tag spans across pages */
.v5-tag .dot { display: none !important; }
.v5-tag.honey, .v5-tag.honey .dot { color: var(--amber-deep); }
.v5-tag.sage { color: var(--olive); }
/* On dark/colored backgrounds */
.compliance-card .v5-tag { color: var(--honey) !important; }

/* ============ NAV OVERRIDE ============ */
.nav { background: rgba(251,248,241,0.92); }
.nav-cta {
  border: 1.5px solid var(--ink);
  box-shadow: 3px 3px 0 var(--terracotta);
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.15s, box-shadow 0.15s;
}
.nav-cta:hover {
  transform: translate(-1px,-1px);
  box-shadow: 4px 4px 0 var(--terracotta);
  background: var(--ink);
}

/* ============ HEADINGS ============ */
.v5-h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(36px, 4.5vw, 56px); line-height: 1.05;
  letter-spacing: -0.02em; margin-bottom: 16px;
}
.v5-h2 em { font-style: italic; color: var(--terracotta); }
.v5-h2 .hl-honey { background: var(--honey); padding: 0 10px; border-radius: 8px; display: inline-block; transform: rotate(-1deg); }
.v5-h2 .hl-terra { background: var(--terracotta); color: #fff; padding: 0 10px; border-radius: 8px; display: inline-block; transform: rotate(1.5deg); }
.v5-h2 .hl-sage { background: var(--sage); padding: 0 10px; border-radius: 8px; display: inline-block; transform: rotate(-1deg); }

/* ============ PAGE HEADER (used on inner pages) ============ */
.v5-page-head { padding: 64px 24px 40px; text-align: center; position: relative; overflow: hidden; }
.v5-page-head .head-inner { max-width: 820px; margin: 0 auto; position: relative; z-index: 2; }
.v5-page-head h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(46px, 6.4vw, 76px); line-height: 1;
  letter-spacing: -0.025em; margin-bottom: 18px;
}
.v5-page-head h1 em { font-style: italic; color: var(--terracotta); }
.v5-page-head h1 .hl-honey { background: var(--honey); padding: 0 10px; border-radius: 10px; display: inline-block; transform: rotate(-1deg); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.v5-page-head p { font-size: 18px; color: var(--ink-muted); line-height: 1.55; max-width: 600px; margin: 0 auto; }
/* decorative blobs */
.v5-page-head::before { content: ""; position: absolute; top: -60px; left: -40px; width: 180px; height: 180px; background: var(--honey); border-radius: 50% 50% 50% 30%; transform: rotate(-20deg); border: 2px solid var(--ink); z-index: 1; opacity: 0.85; }
.v5-page-head::after { content: ""; position: absolute; top: 40px; right: -50px; width: 140px; height: 140px; background: var(--sage); border-radius: 50% 30% 50% 50%; border: 2px solid var(--ink); z-index: 1; opacity: 0.85; }
@media (max-width: 720px) { .v5-page-head::before, .v5-page-head::after { display: none; } }

/* ============ TICKER ============ */
.v5-ticker { background: var(--ink); color: var(--paper); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); padding: 18px 0; overflow: hidden; }
.v5-ticker-track { display: flex; gap: 40px; white-space: nowrap; animation: v5-marquee 35s linear infinite; font-family: var(--serif); font-size: 22px; font-style: italic; }
.v5-ticker-track span { display: inline-flex; align-items: center; gap: 14px; }
.v5-ticker-track .star { font-style: normal; color: var(--honey); }
.v5-ticker-track .star.terra { color: var(--terracotta); }
.v5-ticker-track .star.sage { color: var(--sage); }
.v5-ticker-track .star.sky { color: var(--sky); }
@keyframes v5-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ CARDS ============ */
.v5-card-base {
  background: #fff; border: 2px solid var(--ink); border-radius: 22px;
  padding: 28px; box-shadow: 5px 5px 0 var(--ink);
  transition: transform 0.15s;
}
.v5-card-base:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--ink); }

/* ============ FINAL CTA CARD ============ */
.v5-final { padding: 96px 24px; text-align: center; }
.v5-final-card { background: linear-gradient(135deg, var(--plum) 0%, var(--terracotta) 100%); border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); border-radius: 32px; max-width: 920px; margin: 0 auto; padding: 64px 48px; color: var(--paper); position: relative; overflow: hidden; }
.v5-final-card::before { content: ""; position: absolute; top: -30px; right: -30px; width: 140px; height: 140px; background: var(--honey); border-radius: 50%; border: 2px solid var(--ink); }
.v5-final-card::after { content: ""; position: absolute; bottom: -40px; left: -30px; width: 120px; height: 120px; background: var(--sage); border-radius: 50% 50% 30% 50%; border: 2px solid var(--ink); }
.v5-final-card h2 { font-family: var(--serif); font-size: clamp(36px, 5vw, 60px); font-weight: 500; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 16px; position: relative; z-index: 2; }
.v5-final-card h2 em { font-style: italic; background: var(--honey); color: var(--ink); padding: 0 10px; border-radius: 10px; border: 2px solid var(--ink); display: inline-block; transform: rotate(-1.5deg); }
.v5-final-card p { font-size: 18px; opacity: 0.92; margin-bottom: 28px; max-width: 560px; margin-left: auto; margin-right: auto; position: relative; z-index: 2; }
.v5-final-card .cta-row { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; position: relative; z-index: 2; }
.v5-final-card .v5-btn-primary { background: var(--ink); color: var(--paper); box-shadow: 4px 4px 0 var(--honey); }
.v5-final-card .v5-btn-secondary { background: #fff; color: var(--ink); }

/* ============ CALL BANNER (above footer, every page) ============ */
.call-banner {
  background: var(--honey);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  padding: 88px 24px 96px;
  position: relative;
  overflow: hidden;
}
.call-banner::before {
  content: "";
  position: absolute;
  top: -40px; left: -40px;
  width: 180px; height: 180px;
  background: var(--terracotta);
  border-radius: 50% 50% 50% 30%;
  border: 2px solid var(--ink);
  transform: rotate(-15deg);
  opacity: 0.95;
}
.call-banner::after {
  content: "";
  position: absolute;
  bottom: -50px; right: -50px;
  width: 200px; height: 200px;
  background: var(--sage);
  border-radius: 50% 30% 50% 50%;
  border: 2px solid var(--ink);
  opacity: 0.95;
}
.call-banner-inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}
.call-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 18px;
}
.call-headline {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin-bottom: 36px;
  color: var(--ink);
}
.call-headline em {
  font-style: italic;
  background: var(--ink);
  color: var(--honey);
  padding: 0 12px;
  border-radius: 12px;
  display: inline-block;
  transform: rotate(-1.5deg);
  border: 2px solid var(--ink);
}
.call-numbers {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.call-number {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 18px 36px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 18px;
  box-shadow: 5px 5px 0 var(--ink);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.15s, box-shadow 0.15s;
  min-width: 240px;
}
.call-number:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink);
}
.call-number .label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.call-number.alt .label {
  color: var(--olive);
}
.call-number .digits {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.01em;
}
.call-sub {
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
}
.call-sub a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  font-weight: 700;
}
/* Hide the final-cta block when call-banner is present, to avoid double CTAs */
@media (min-width: 1px) {
  .call-banner + .footer { margin-top: 0; }
}
