/*
Theme Name: Leverage Media Marketing v5
Theme URI: https://leveragemediamarketing.com
Author: Leigh Walker Weinberg
Author URI: https://leveragemediamarketing.com
Description: Custom theme for Leverage Media Marketing — optimized inner pages matching homepage design language. Cream and blush backgrounds, red accent, charcoal text. Playfair Display and Montserrat.
Version: 5.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietary
Text Domain: leverage-media
*/

/* ── Design Tokens ── */
:root {
  --charcoal:      #222222;
  --charcoal-mid:  #3a3a3a;
  --red:           #8C2D3E;
  --red-dark:      #72242F;
  --blush:         #EDE3E0;
  --blush-dark:    #dfd3cf;
  --cream:         #FAF6F2;
  --white:         #FFFFFF;
  --gray-mid:      #5A5A5A;
  --gray-light:    #888888;
  --border:        #e2d8d4;

  --font-heading:  'Playfair Display', Georgia, serif;
  --font-body:     'Montserrat', Arial, sans-serif;
  --max-width:     1200px;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal);
  font-size: 14px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  color: var(--charcoal);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 48px;
}

.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--red);
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--red);
  color: var(--white);
  padding: 14px 28px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--red-dark); color: var(--white); }

.btn-secondary {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  color: var(--charcoal);
  padding: 13px 28px;
  border: 1.5px solid var(--charcoal);
  cursor: pointer;
  transition: background 0.2s;
}
.btn-secondary:hover { background: var(--charcoal); color: var(--white); }

.btn-inverted {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--white);
  color: var(--red);
  padding: 14px 28px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn-inverted:hover { opacity: 0.88; }

.btn-text {
  font-size: 13px;
  font-weight: 500;
  color: var(--charcoal);
}
.btn-text:hover { color: var(--red); }

/* ── Navigation ── */
.site-header {
  background: var(--cream);
  border-bottom: 0.5px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--charcoal);
  letter-spacing: 0.02em;
}
.site-logo:hover { color: var(--red); }

.main-nav ul {
  display: flex;
  gap: 28px;
  align-items: center;
}

.main-nav a {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--gray-mid);
  text-transform: uppercase;
  transition: color 0.2s;
}
.main-nav a:hover,
.main-nav .current-menu-item a { color: var(--charcoal); }

.main-nav .nav-cta a {
  background: var(--red);
  color: var(--white);
  padding: 10px 20px;
}
.main-nav .nav-cta a:hover { background: var(--red-dark); color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--charcoal);
}

/* ── Hero ── */
.hero {
  background: var(--cream);
  padding: 80px 0 72px;
  border-bottom: 0.5px solid var(--border);
}

.hero h1 {
  font-size: clamp(36px, 5vw, 54px);
  color: var(--charcoal);
  max-width: 620px;
  margin-bottom: 24px;
}

.hero p {
  font-size: 14px;
  font-weight: 300;
  color: var(--gray-mid);
  max-width: 480px;
  line-height: 1.9;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

/* ── Services Strip ── */
.services-strip {
  background: var(--blush);
  border-bottom: 0.5px solid var(--blush-dark);
}

.services-strip .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-left: 0;
  padding-right: 0;
}

.strip-item {
  padding: 28px 36px;
  border-right: 0.5px solid var(--blush-dark);
}
.strip-item:last-child { border-right: none; }

.strip-item .num {
  font-size: 10px;
  color: var(--red);
  letter-spacing: 0.1em;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.strip-item h3 {
  font-size: 15px;
  color: var(--charcoal);
  margin-bottom: 5px;
}

.strip-item p {
  font-size: 12px;
  color: var(--gray-mid);
  font-weight: 300;
  line-height: 1.6;
}

/* ── Stats ── */
.stats-section {
  padding: 64px 0;
  background: var(--cream);
  border-bottom: 0.5px solid var(--border);
}

.stats-section h2 {
  font-size: clamp(28px, 4vw, 38px);
  color: var(--charcoal);
  max-width: 460px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 0.5px solid var(--border);
  margin-top: 40px;
}

.stat-item {
  padding: 36px 32px;
  border-right: 0.5px solid var(--border);
}
.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: var(--font-heading);
  font-size: 48px;
  color: var(--red);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item p {
  font-size: 12px;
  color: var(--gray-mid);
  font-weight: 300;
  line-height: 1.6;
}

/* ── Services Full ── */
.services-section {
  background: var(--cream);
  padding: 64px 0;
  border-bottom: 0.5px solid var(--border);
}

.services-section h2 {
  font-size: clamp(28px, 4vw, 38px);
  color: var(--charcoal);
  max-width: 500px;
  margin-bottom: 12px;
}

.services-section .intro {
  font-size: 13px;
  color: var(--gray-mid);
  font-weight: 300;
  max-width: 520px;
  line-height: 1.9;
  margin-bottom: 48px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 0.5px solid var(--border);
  border-left: 0.5px solid var(--border);
}

.service-card {
  padding: 32px 36px;
  border-right: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  transition: background 0.2s;
}
.service-card:hover { background: var(--cream); }

.service-card .num {
  font-size: 10px;
  color: var(--red);
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-card h3 {
  font-size: 18px;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 12px;
  color: var(--gray-mid);
  font-weight: 300;
  line-height: 1.75;
}

/* ── Testimonials ── */
.testimonials-section {
  background: var(--blush);
  padding: 64px 0;
  border-bottom: 0.5px solid var(--blush-dark);
}

.testimonials-section h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  color: var(--charcoal);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.testimonial-card {
  padding: 28px 32px;
  background: var(--white);
  border-left: 3px solid var(--red);
}

.testimonial-card blockquote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 15px;
  color: var(--charcoal);
  line-height: 1.75;
  margin-bottom: 16px;
}

.testimonial-card cite {
  font-size: 10px;
  color: var(--gray-light);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-style: normal;
}

/* ── About Preview ── */
.about-preview {
  background: var(--cream);
  border-bottom: 0.5px solid var(--border);
}

.about-preview .container {
  display: grid;
  grid-template-columns: 1fr 320px;
  padding: 0;
}

.about-content {
  padding: 64px 48px;
  border-right: 0.5px solid var(--border);
}

.about-content h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  color: var(--charcoal);
  max-width: 480px;
  margin-bottom: 20px;
}

.about-content p {
  font-size: 13px;
  color: var(--gray-mid);
  font-weight: 300;
  line-height: 1.9;
  max-width: 520px;
  margin-bottom: 16px;
}

.about-sidebar {
  padding: 48px 36px;
  background: var(--blush);
}

.founder-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  overflow: hidden;
}
.founder-avatar img { width: 100%; height: 100%; object-fit: cover; }
.founder-avatar .initials {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--white);
}

.about-sidebar h3 {
  font-size: 18px;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.founder-title {
  font-size: 10px;
  color: var(--red);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
  display: block;
}

.brands-label {
  font-size: 10px;
  color: var(--gray-light);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.brand-list {
  border-top: 0.5px solid var(--blush-dark);
  padding-top: 20px;
  margin-bottom: 24px;
}

.brand-list li {
  font-size: 12px;
  color: var(--gray-mid);
  font-weight: 300;
  padding: 6px 0;
  border-bottom: 0.5px solid var(--blush-dark);
}

/* ── CTA Banner ── */
.cta-banner {
  background: var(--red);
  padding: 52px 0;
}

.cta-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-banner h2 {
  font-size: clamp(22px, 3vw, 30px);
  color: var(--white);
  margin-bottom: 6px;
}

.cta-banner p {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  font-weight: 300;
}

/* ── Page Header ── */
.page-header {
  background: var(--cream);
  padding: 56px 0 48px;
  border-bottom: 3px solid var(--red);
}

.page-header h1 {
  font-size: clamp(32px, 4.5vw, 44px);
  color: var(--charcoal);
  max-width: 580px;
}

.page-header .sub {
  font-size: 13px;
  color: var(--gray-mid);
  font-weight: 300;
  max-width: 520px;
  line-height: 1.9;
  margin-top: 16px;
}

/* ── About Page ── */
.about-body {
  background: var(--cream);
  border-bottom: 0.5px solid var(--border);
}

.about-body .container {
  display: grid;
  grid-template-columns: 1fr 300px;
  padding: 0;
}

.about-body-content {
  padding: 56px 48px;
  border-right: 0.5px solid var(--border);
}

.about-body-content p {
  font-size: 13px;
  color: var(--gray-mid);
  font-weight: 300;
  line-height: 1.95;
  max-width: 560px;
  margin-bottom: 20px;
}

.about-stats {
  display: flex;
  gap: 40px;
  border-top: 0.5px solid var(--border);
  padding-top: 32px;
  margin-top: 16px;
}

.about-stat-num {
  font-family: var(--font-heading);
  font-size: 32px;
  color: var(--red);
  line-height: 1;
  margin-bottom: 4px;
}

.about-stat-label {
  font-size: 11px;
  color: var(--gray-mid);
  font-weight: 300;
  line-height: 1.5;
}

.about-sidebar-full {
  padding: 56px 36px;
  background: var(--blush);
}

/* ── Footer ── */
.site-footer {
  background: var(--charcoal);
  padding: 56px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 0.5px solid rgba(255,255,255,0.1);
  margin-bottom: 28px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--white);
  margin-bottom: 10px;
  display: block;
}
.footer-logo:hover { color: var(--blush); }

.footer-tagline {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  font-weight: 300;
  line-height: 1.8;
}

.footer-col h4 {
  font-size: 10px;
  color: var(--red);
  letter-spacing: 0.1em;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-family: var(--font-body);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  font-weight: 300;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  font-weight: 300;
}

/* ── WordPress Core ── */
.wp-block-image { margin: 0; }
.aligncenter { margin: 0 auto; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .about-preview .container,
  .about-body .container { padding: 0; }
}

@media (max-width: 900px) {
  .main-nav ul { display: none; }
  .main-nav ul.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 61px;
    left: 0; right: 0;
    background: var(--white);
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 3px solid var(--red);
    z-index: 99;
  }
  .nav-toggle { display: flex; }
  .container { padding: 0 24px; }
  .services-strip .container { grid-template-columns: 1fr; }
  .strip-item { border-right: none; border-bottom: 0.5px solid var(--blush-dark); }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 0.5px solid var(--border); }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .about-preview .container,
  .about-body .container { grid-template-columns: 1fr; }
  .about-content { padding: 44px 24px; border-right: none; border-bottom: 0.5px solid var(--border); }
  .about-sidebar,
  .about-sidebar-full { padding: 36px 24px; }
  .about-body-content { padding: 44px 24px; }
  .cta-banner .container { flex-direction: column; align-items: flex-start; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 52px 0 44px; }
}
