/* 
Theme Name: Best Practice Media Child
Template: best-practice-media
Version: 1.0
*/

:root {
  --cream: #F5F0E8;
  --navy: #0D1B2A;
  --navy-mid: #162333;
  --amber: #E8A020;
  --stone: #C8BFAF;
  --ink: #1A1A1A;
  --muted: #6B6459;
  --white: #FFFFFF;
  --rule: rgba(13,27,42,0.12);
}

/* ========================
   ANIMATIONS: KEYFRAMES
======================== */

@keyframes fadeUp{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
@keyframes slideRight{from{opacity:0;transform:translateX(-16px)}to{opacity:1;transform:translateX(0)}}

/* INDEX CSS */

.hero-eyebrow::before {
    content: '';
    width: 32px;
    height: 2px;
    background: var(--amber);
    display: block;
    animation: slideRight 0.6s ease 0.1s both;
  }

.hero-heading {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: clamp(58px, 6.2vw, 94px);
    line-height: 0.91 !important;
    letter-spacing: -0.01em;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 28px;
    animation: fadeUp 0.7s ease 0.2s both;
  }
.hero-desc{
    animation: fadeUp 0.7s ease 0.35s both;
}
.hero-left::before {
    content: '' !important;
    position: absolute !important;
    top: -80px !important;
    right: -80px !important;
    width: 480px !important;
    height: 480px !important;
    border-radius: 50% !important;
    background: radial-gradient(circle, rgba(232, 160, 32, .1) 0%, transparent 68%) !important;
    pointer-events: none;}
  
.hero-left::after {
    content: 'BPM';
    position: absolute;
    bottom: -40px;
    left: -20px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 280px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.03);
    pointer-events: none;
    letter-spacing: -0.04em;
}
.hero-left::after {
  z-index: 0;
}

.hero-left > * {
  position: relative;
  z-index: 1;
}

.hero-right{
animation: fadeUp 0.8s ease 0.3s both;
}

.stat-numbers {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 54px;
  line-height: 1;
  color: var(--navy);
  letter-spacing: -.02em;
}
.stat-numbers span {
    color: var(--amber);
}
.stat-item:hover {
    padding-left: 10px !important;
}
.stat-item{
transition: padding-left 0.3s;
}
/* Marquee Animation */
/* Container */
/* ── SEEN AT (LOGO STRIP) ─────────────────────── */
/* ── SEEN AT (LOGO STRIP) ─────────────────────── */
.seen-at {
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  padding: 28px 48px;
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
  overflow: hidden;
}

.seen-at-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  padding-right: 40px;
  border-right: 1px solid var(--rule);
  flex-shrink: 0;
}

/* NEW: this wrapper clips the scrolling logos so they don't pass under the label */
.seen-at-logos-wrapper {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}

.seen-at-logos {
  display: flex;
  align-items: center;
  gap: 48px;
  animation: scrollLogos 28s linear infinite;
  width: max-content;
}

.seen-at-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.28;
  white-space: nowrap;
  flex-shrink: 0;
}

@keyframes scrollLogos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@media (max-width: 768px) {

  .seen-at {
    padding: 28px 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .seen-at-label {
    padding-right: 24px;
    margin-bottom: 12px;
    border-right: none;
  }
  .seen-at-logos {
    gap: 24px;
  }
  .seen-at-logos-wrapper{
    overflow: visible;
  }
}
.why-icon-svg {
  width: 28px;
  height: 28px;
  display: block;
  color: var(--amber);
}

.icon-svg {
  width: 26px;
  height: 26px;
  display: block;
  color: var(--white); /* or var(--amber) */
}
.service-card:hover .icon-svg {
  color: var(--amber);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}
.service-card-a:hover .icon-svg {
  color: var(--amber);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}
.industry-arrow {
    position: absolute;
    top: 40px;
    right: 36px;
    font-size: 20px;
    color: var(--amber);
    opacity: 0;
    transition: opacity 0.2s, transform 0.2s;
    transform: translateX(-6px);
  }
  .industry-card:hover .industry-arrow {
    opacity: 1;
    transform: translateX(0);
  }

  .industry-card:hover .icon-svg {
  color: var(--amber);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

.industry-card:hover .arrow-svg {
  transform: translateX(4px);
  transition: transform 0.3s ease;
}

.industry-icon {
    width: 48px;
    height: 48px;
    background: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 20px;
  }
 .platform-card:hover .icon-svg {
  color: var(--amber);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

.attribution-company {
    margin-left: auto;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--amber);
    border: 1px solid rgba(232, 160, 32, 0.3);
    padding: 8px 18px;
    border-radius: 100px;
  }

.testimonial-section::before {
    content: '"';
    position: absolute;
    top: -40px;
    left: 24px;
    font-family: 'Instrument Serif', serif;
    font-size: 480px;
    color: rgba(232, 160, 32, 0.05);
    line-height: 1;
    pointer-events: none;
  }

@media (max-width: 768px) {
    .testimonial-section::before {
        font-size: 240px !important;
    }
  }

.platform-card:hover {
    border-color: var(--amber) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 40px rgba(13, 27, 42, .07) !important;
  }

.service-card:hover::after {
    opacity: 1;
    transform: translateX(0);
  }

.service-card::after {
    content: '→';
    position: absolute;
    bottom: 28px;
    right: 28px;
    font-size: 22px;
    color: var(--amber);
    opacity: 0;
    transition: opacity 0.2s, transform 0.2s;
    transform: translateX(-6px);}

.cta-section::before,
.cta-section-navy::before {
    content: 'BPM' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    font-family: 'Barlow Condensed', sans-serif !important;
    font-weight: 900 !important;
    font-size: 420px !important;
    color: rgba(13, 27, 42, .03) !important;
    line-height: 1 !important;
    pointer-events: none !important;
    letter-spacing: -.04em !important;
    white-space: nowrap !important;
}

@media (max-width: 768px) {

.cta-section-navy::before {
    top: 64% !important;
    transform: translate(-80%, -50%) !important;
  }

}
.hero::before {
    content: '' !important;
    position: absolute !important;
    top: -100px !important;
    left: 900px !important;
    width: 560px !important;
    height: 560px !important;
    border-radius: 50% !important;
    background: radial-gradient(circle, rgba(232, 160, 32, .1) 0%, transparent 68%) !important;
    pointer-events: none !important;
    z-index: 0; /* 👈 important */
}
.hero-testimonial::before {
    content: '' !important;
    position: absolute !important;
    top: -100px !important;
    left: 900px !important;
    width: 560px !important;
    height: 560px !important;
    border-radius: 50% !important;
    background: radial-gradient(circle, rgba(232, 160, 32, .1) 0%, transparent 68%) !important;
    pointer-events: none !important;
    z-index: 0; /* 👈 important */
}

.hero-testimonial::after {
    content: '"';
    position: absolute;
    right: -20px;
    bottom: -80px;
    font-family: 'Instrument Serif', serif;
    font-size: 480px;
    line-height: 1;
    color: rgba(255, 255, 255, .03);
    pointer-events: none;
  }

.hero::after {
    content: 'RESULTS';
    position: absolute;
    bottom: -30px;
    right: -20px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 200px;
    color: rgba(255, 255, 255, .025);
    line-height: 1;
    pointer-events: none;
    letter-spacing: -.04em;
}
.featured-section::before {
    content: '"';
    position: absolute;
    top: -60px;
    left: -20px;
    font-family: 'Instrument Serif', serif;
    font-size: 400px;
    line-height: 1;
    color: rgba(232, 160, 32, .05);
    pointer-events: none;
  }

.hero-city-bg {
  position: absolute;
  bottom: -30px;
  right: -10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 180px;
  color: rgba(255, 255, 255, .025);
  line-height: 1;
  pointer-events: none;
  letter-spacing: -.04em;
  text-transform: uppercase;
  z-index: 0;
}

/* Heading style */
.split-heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(52px, 6vw, 88px);
  line-height: .92;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--white);
}

/* Accent text */
.split-accent {
  color: var(--amber);
}
/* Accent text */
.tc {
  color: var(--amber);
}
.cs-industry::before {
    content: '';
    width: 20px;
    height: 2px;
    background: var(--amber);
    display: block;
}
.cs-label {
    font-size: 13px;
    color: var(--amber);
    font-weight: 600;
    margin-block-end: 16px;
    line-height: 1.4;
}
.cs-summary {
    font-size: 14px;
    line-height: 1.68;
    color: var(--muted);
    margin-block-end: 20px;
  }
  .cs-services {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-block: 24px;
  }
   .cs-services-span {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--navy);
    border: 1px solid var(--rule);
    padding: 3px 10px;
    border-radius: 100px;
  }

.cs-cta {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--amber);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap .2s;
    position: relative;
    overflow: hidden;
  }

.cs-card:hover .cs-cta {
    gap: 12px;
}

/* .cs-cta::after {
    content: '→';
    position: absolute;
    bottom: -6px;
    font-size: 22px;
    color: var(--amber);
    opacity: 1;
    transition: opacity 0.2s, transform 0.2s !important;
    transform: translateX(-6px) !important;
    z-index: 12;
    left: 123px;
} */
.btn-ghost::after {
    content: '→';
    font-size: 18px;
}
.cta-heading {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: clamp(46px, 6vw, 78px);
    line-height: .95;
    text-transform: uppercase;
    color: var(--white);
    letter-spacing: -.02em;
    margin-bottom: 22px;
    position: relative;
  }
  .cta-heading em {
    font-style: normal;
    color: var(--amber);
    display: block;
  }

.cta-heading-navy {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: clamp(46px, 6vw, 78px) !important;
    line-height: .95;
    text-transform: uppercase;
    color: var(--navy);
    letter-spacing: -.02em;
    margin-bottom: 22px;
    position: relative;
  }
  .cta-heading-navy em {
    font-style: normal;
    color: var(--amber);
    display: block;
  }

  /* .cta-section-navy::after {
    content: 'BPM';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 420px;
    color: rgba(13, 27, 42, .03);
    line-height: 1;
    pointer-events: none;
    letter-spacing: -.04em;
    white-space: nowrap;
} */
.cta-heading-white {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: clamp(46px, 6vw, 78px);
    line-height: .95;
    text-transform: uppercase;
    color: var(--navy);
    letter-spacing: -.02em;
    margin-bottom: 22px;
    position: relative;
  }
  

.cta-sub {
    font-size: 16px;
    color: var(--stone);
    max-width: 480px;
    margin: 0 auto 44px;
    line-height: 1.68;
    position: relative;}

.cta-eyebrow {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 18px;
    position: relative;}
.btn-secondary {
    background: transparent;
    color: var(--navy);
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 16px 36px;
    border: 2px solid var(--navy);
    text-decoration: none;
    border-radius: 2px;
    transition: all .25s;
    display: inline-block;
    margin-left: 12px;}

.card-services-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 10px;}

.card-service-links a {
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: .06em !important;
    text-transform: uppercase !important;
    color: var(--amber) !important;
    text-decoration: none !important;
    transition: opacity .2s !important; 
  }
.contact-eyebrow::before {
    content: '';
    width: 32px;
    height: 2px;
    background: var(--amber);
    display: block;
  }
  .step-text strong {
    color: var(--white);
    font-weight: 600;}
  .contact-left::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 160, 32, .1) 0%, transparent 68%);
    pointer-events: none;
  }
  .contact-left::after {
    content: 'BPM';
    position: absolute;
    bottom: -40px;
    left: -20px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 280px;
    line-height: 1;
    color: rgba(255, 255, 255, .03);
    pointer-events: none;
    letter-spacing: -.04em;
  }
  .stats-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-top: 1px solid var(--rule);
}

.stat {
  padding: 28px 32px;
  border-right: 1px solid var(--rule);
}

.stat:hover{
  background: var(--cream);
}

.stat:last-child {
  border-right: none;
}

/* NUMBER */
.stat-number {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 44px;
  line-height: 1;
  color: var(--navy);
  letter-spacing: -.02em;
}

/* LABEL */
.stat-label {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
  line-height: 1.4;
}

/* Highlight (+, x, %, yr) */
.tc {
  color: var(--amber);
}

/* Tablet */
@media (max-width: 768px) {
  .stats-wrap {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat {
    border-bottom: 1px solid #e5e5e5;
  }

  .stat:last-child {
    border-bottom: none;
  }
}

.location-card:hover .sc-name, 
.location-card:hover .sc-arrow,
.location-card:hover .why-title {
    color: var(--white);
    transition: color .2s;
}

.location-card:hover .sc-desc {
    color: var(--stone);
     transition: color .2s;
}



.city-link:hover .city-arrow, .city-link.active .city-arrow {
    opacity: 1;
  }
  .city-arrow {
    opacity: 0;
  }

.card-arrow{
    opacity: 0;
    transform: translateX(-6px);
    transition: all .2s;
    font-size: 18px;
}
.service-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
  }

.case-industry::before {
    content: '';
    width: 20px;
    height: 2px;
    background: var(--amber);
    display: block;
  }
  .case-metric {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 72px;
    line-height: 1;
    color: var(--white);
    letter-spacing: -0.03em;
    margin-bottom: 8px;
  }
  .case-metric span {
    color: var(--amber);
}
.process-timeline::before {
    content: '' !important;
    position: absolute !important;;
    left: 32px !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 1px !important;
    background: rgba(232, 160, 32, .2) !important;
  }

.process-step {
    display: grid !important;
    grid-template-columns: 64px 1fr;
    gap: 40px;
    padding: 40px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
  }

.amber-rule {
  width: 40px;
  height: 3px;
  padding: 0;
  background: var(--amber);
  margin: 32px 0;
}
.hero-eyebrow::before {
    content: '';
    width: 32px;
    height: 2px;
    background: var(--amber);
    display: block;
    animation: slideRight 0.6s ease 0.1s both;
  }

.hero-eyebrow{
animation: slideRight .6s ease .1s both;
}
.hero-industry {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(13, 27, 42, 0.7);
    margin-bottom: 12px;
  }

.icon-png {
  width: 32px;
  height: 32px;
  color: #0d1b2a;
  transition: color 0.3s ease;
}

.icon-png:hover {
  color: #e8a020;
}

/* If hover should trigger from the parent card instead of the icon itself */
.service-card:hover .icon-png {
  color: #e8a020;
}
.btn-ghost-light::after {
    content: '→';
    font-size: 18px;
  }

body.postid-1239 .city-austin,
body.postid-1500 .city-denver,
body.postid-1501 .city-nashville,
body.postid-1502 .city-los-angeles,
body.postid-1503 .city-new-york {
  background: #0d1b2a;
  pointer-events: none;
  cursor: default;
}

body.postid-1239 .city-austin .city-arrow,
body.postid-1500 .city-denver .city-arrow,
body.postid-1501 .city-nashville .city-arrow,
body.postid-1502 .city-los-angeles .city-arrow,
body.postid-1503 .city-new-york .city-arrow {
  opacity: 1;
  transform: translateX(0);
}
