/*
Theme Name: Sherloc
Theme URI: https://investinanswers.com
Author: Sherloc
Author URI: https://investinanswers.com
Description: Official WordPress theme for Sherloc - Strategic Intelligence, Research & Behavioral Marketing.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 6.9
Requires PHP: 8.0
License: Proprietary
Text Domain: sherloc
*/

/* =============================================
   GOOGLE FONTS
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;900&family=Barlow:wght@400;600;700&display=swap');

/* =============================================
   CSS VARIABLES
   ============================================= */
:root {
  --sherloc-blue: #2d55d4;
  --sherloc-blue-dark: #182fa0;
  --sherloc-orange: #e07820;
  --sherloc-red: #cc2010;
  --sherloc-white: #ffffff;
  --sherloc-offwhite: #f4f4f4;
  --sherloc-bg: #f2f2f0;
  --sherloc-dark: #1a1a1a;
  --sherloc-mid: #555555;
  --sherloc-light: #999999;
  --sherloc-border: #e0e0e0;
  --font-display: 'Barlow Condensed', Arial, sans-serif;
  --font-body: 'Barlow', Arial, sans-serif;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--sherloc-dark);
  background: var(--sherloc-bg);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--sherloc-blue);
  text-decoration: none;
}

a:hover {
  color: var(--sherloc-orange);
}

/* =============================================
   HEADER / NAV
   ============================================= */
.site-header,
.wp-block-template-part[data-slug="header"] {
  background: var(--sherloc-blue);
  border-bottom: 3px solid var(--sherloc-orange);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .wp-block-group,
.sherloc-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 52px;
  max-width: 1400px;
  margin: 0 auto;
}

.site-title,
.wp-block-site-title a,
.sherloc-logo-text {
  font-family: var(--font-display) !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  letter-spacing: 4px !important;
  text-transform: uppercase !important;
  color: var(--sherloc-white) !important;
  text-decoration: none !important;
}

.wp-block-navigation .wp-block-navigation__container,
.wp-block-navigation > ul {
  gap: 32px !important;
}

.wp-block-navigation a,
.sherloc-nav-link {
  font-family: var(--font-display) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.75) !important;
  text-decoration: none !important;
  transition: color 0.15s;
}

.wp-block-navigation a:hover,
.sherloc-nav-link:hover {
  color: var(--sherloc-white) !important;
}

.wp-block-navigation a.current-menu-item,
.sherloc-nav-link.active {
  color: var(--sherloc-orange) !important;
}

/* Nav CTA Button */
.sherloc-nav-cta,
.wp-block-navigation .wp-block-button__link {
  font-family: var(--font-display) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  padding: 9px 20px !important;
  background: var(--sherloc-red) !important;
  color: var(--sherloc-white) !important;
  border: none !important;
  border-radius: 3px !important;
  cursor: pointer !important;
  text-decoration: none !important;
}

/* =============================================
   SECTION UTILITIES
   ============================================= */
.sherloc-section {
  padding: 60px 40px;
}

.sherloc-section-white {
  background: var(--sherloc-white);
}

.sherloc-section-gray {
  background: var(--sherloc-bg);
}

.sherloc-section-blue {
  background: var(--sherloc-blue);
}

.sherloc-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* =============================================
   EYEBROW LABELS
   ============================================= */
.sherloc-eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sherloc-orange);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sherloc-eyebrow::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--sherloc-orange);
  display: inline-block;
  flex-shrink: 0;
}

.sherloc-eyebrow-dim {
  color: rgba(255,255,255,0.45);
}

.sherloc-eyebrow-dim::before {
  background: rgba(255,255,255,0.3);
}

/* =============================================
   HERO SECTION
   ============================================= */
.sherloc-hero {
  background: var(--sherloc-blue);
  padding: 64px 60px 68px;
}

.sherloc-hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  width: 100%;
  justify-content: space-between;
}

.sherloc-hero-left {
  flex: 1;
  min-width: 0;
}

.sherloc-hero h1,
.sherloc-hero .wp-block-heading {
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--sherloc-white);
  line-height: 1.0;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.sherloc-hero h1 em,
.sherloc-hero .wp-block-heading em {
  color: var(--sherloc-orange);
  font-style: normal;
}

.sherloc-hero p,
.sherloc-hero .wp-block-paragraph {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  margin-bottom: 28px;
}

.sherloc-hero p strong,
.sherloc-hero .wp-block-paragraph strong {
  color: var(--sherloc-white);
  font-weight: 700;
}

.sherloc-hero-right {
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.sherloc-logo-box {
  width: 178px;
  height: 178px;
  border-radius: 8px;
  overflow: hidden;
  border: 3px solid var(--sherloc-orange);
  box-shadow: 6px 6px 0 var(--sherloc-orange);
}

.sherloc-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sherloc-hero-stats {
  display: flex;
  gap: 10px;
  width: 100%;
}

.sherloc-stat {
  flex: 1;
  background: rgba(255,255,255,0.1);
  border: 0.5px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  padding: 14px 10px;
  text-align: center;
}

.sherloc-stat strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  color: var(--sherloc-white);
  display: block;
  letter-spacing: 1px;
}

.sherloc-stat span {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  display: block;
  margin-top: 3px;
}

/* =============================================
   BUTTONS
   ============================================= */
.sherloc-btn,
.wp-block-button__link {
  font-family: var(--font-display) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  padding: 13px 24px !important;
  border-radius: 3px !important;
  border: none !important;
  cursor: pointer !important;
  text-decoration: none !important;
  display: inline-block !important;
}

.sherloc-btn-red,
.wp-block-button.is-style-red .wp-block-button__link {
  background: var(--sherloc-red) !important;
  color: var(--sherloc-white) !important;
}

.sherloc-btn-blue,
.wp-block-button.is-style-blue .wp-block-button__link {
  background: var(--sherloc-blue) !important;
  color: var(--sherloc-white) !important;
}

.sherloc-btn-orange,
.wp-block-button.is-style-orange .wp-block-button__link {
  background: var(--sherloc-orange) !important;
  color: var(--sherloc-white) !important;
}

.sherloc-btn-ghost,
.wp-block-button.is-style-ghost .wp-block-button__link {
  background: transparent !important;
  color: var(--sherloc-white) !important;
  border: 1.5px solid rgba(255,255,255,0.35) !important;
}

.sherloc-btn-red-lg {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 16px 40px;
  background: var(--sherloc-red);
  color: var(--sherloc-white);
  border: none;
  border-radius: 3px;
  cursor: pointer;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.25);
}

/* =============================================
   SECTION HEADINGS
   ============================================= */
.sherloc-section h2,
.sherloc-section .wp-block-heading {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 10px;
}

.sherloc-section h2 em,
.sherloc-section .wp-block-heading em {
  color: var(--sherloc-blue);
  font-style: normal;
}

.sherloc-section-blue h2 em,
.sherloc-section-blue .wp-block-heading em {
  color: var(--sherloc-orange);
}

.sherloc-lead {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  color: var(--sherloc-mid);
  max-width: 560px;
  margin-bottom: 28px;
}

.sherloc-lead-light {
  color: rgba(255,255,255,0.65);
}

/* =============================================
   CONVERGENCE FORMULA
   ============================================= */
.sherloc-formula-box {
  background: var(--sherloc-blue);
  border-radius: 6px;
  padding: 22px 32px;
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 32px;
}

.sherloc-formula-eq {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  color: var(--sherloc-white);
  letter-spacing: 2px;
  flex-shrink: 0;
}

.sherloc-formula-eq em {
  color: var(--sherloc-orange);
  font-style: normal;
}

.sherloc-formula-note {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

/* =============================================
   SIGNAL STREAMS GRID
   ============================================= */
.sherloc-streams {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.sherloc-stream {
  background: var(--sherloc-offwhite);
  border-top: 3px solid var(--sherloc-blue);
  border-radius: 4px;
  padding: 20px 16px;
}

.sherloc-stream:nth-child(2) { border-top-color: var(--sherloc-orange); }
.sherloc-stream:nth-child(3) { border-top-color: var(--sherloc-red); }
.sherloc-stream:nth-child(4) { border-top-color: var(--sherloc-blue); }
.sherloc-stream:nth-child(5) { border-top-color: var(--sherloc-orange); }

.sherloc-stream-letter {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  color: var(--sherloc-blue);
  display: block;
  margin-bottom: 6px;
  line-height: 1;
}

.sherloc-stream:nth-child(2) .sherloc-stream-letter { color: var(--sherloc-orange); }
.sherloc-stream:nth-child(3) .sherloc-stream-letter { color: var(--sherloc-red); }

.sherloc-stream-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--sherloc-dark);
  margin-bottom: 4px;
  display: block;
}

.sherloc-stream-desc {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--sherloc-mid);
  line-height: 1.55;
}

/* =============================================
   TRACK RECORD CARDS
   ============================================= */
.sherloc-track-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.sherloc-track-card {
  background: var(--sherloc-white);
  border-top: 3px solid var(--sherloc-blue);
  border-radius: 4px;
  padding: 28px 24px;
}

.sherloc-track-card:nth-child(2) { border-top-color: var(--sherloc-orange); }
.sherloc-track-card:nth-child(3) { border-top-color: var(--sherloc-red); }

.sherloc-track-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sherloc-light);
  display: block;
  margin-bottom: 10px;
}

.sherloc-track-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 12px;
  background: #eef1ff;
  color: var(--sherloc-blue);
}

.sherloc-track-card:nth-child(2) .sherloc-track-tag { background: #fff5eb; color: var(--sherloc-orange); }
.sherloc-track-card:nth-child(3) .sherloc-track-tag { background: #fff0ee; color: var(--sherloc-red); }

.sherloc-track-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--sherloc-dark);
  margin-bottom: 10px;
  line-height: 1.2;
}

.sherloc-track-desc {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.7;
  color: var(--sherloc-mid);
  margin-bottom: 14px;
}

.sherloc-track-proof {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  font-style: italic;
  color: var(--sherloc-blue);
}

.sherloc-track-card:nth-child(2) .sherloc-track-proof { color: var(--sherloc-orange); }
.sherloc-track-card:nth-child(3) .sherloc-track-proof { color: var(--sherloc-red); }

/* =============================================
   PROBLEMS GRID
   ============================================= */
.sherloc-prob-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 40px;
}

.sherloc-prob-item {
  background: rgba(255,255,255,0.08);
  border: 0.5px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  padding: 20px 16px;
}

.sherloc-prob-icon {
  font-size: 22px;
  margin-bottom: 10px;
  display: block;
}

.sherloc-prob-txt {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
}

.sherloc-prob-cta {
  background: rgba(0,0,0,0.15);
  border: 0.5px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.sherloc-prob-cta-txt {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--sherloc-white);
  letter-spacing: 1px;
}

.sherloc-prob-cta-txt em {
  color: var(--sherloc-orange);
  font-style: normal;
}

/* =============================================
   PRODUCT CARDS
   ============================================= */
.sherloc-prod-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.sherloc-prod-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 66.8%;
}

.sherloc-prod-card {
  background: var(--sherloc-white);
  border: 0.5px solid var(--sherloc-border);
  border-top: 3px solid var(--sherloc-blue);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.sherloc-prod-card:nth-child(2) { border-top-color: var(--sherloc-orange); }
.sherloc-prod-card:nth-child(3) { border-top-color: var(--sherloc-red); }

.sherloc-prod-body {
  padding: 22px 20px 20px;
  flex: 1;
}

.sherloc-prod-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sherloc-light);
  display: block;
  margin-bottom: 6px;
}

.sherloc-prod-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--sherloc-blue);
  display: block;
  margin-bottom: 2px;
}

.sherloc-prod-card:nth-child(2) .sherloc-prod-name { color: var(--sherloc-orange); }
.sherloc-prod-card:nth-child(3) .sherloc-prod-name { color: var(--sherloc-red); }

.sherloc-prod-tagline {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sherloc-light);
  display: block;
  margin-bottom: 12px;
}

.sherloc-prod-desc {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.75;
  color: var(--sherloc-mid);
}

.sherloc-prod-footer {
  padding: 12px 20px;
  background: var(--sherloc-bg);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border-top: 0.5px solid var(--sherloc-border);
}

.sherloc-prod-btn {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 7px 16px;
  background: var(--sherloc-blue);
  color: var(--sherloc-white);
  border: none;
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.sherloc-prod-card:nth-child(2) .sherloc-prod-btn { background: var(--sherloc-orange); }
.sherloc-prod-card:nth-child(3) .sherloc-prod-btn { background: var(--sherloc-red); }

/* =============================================
   BLOG CARDS
   ============================================= */
.sherloc-blog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
}

.sherloc-view-all {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sherloc-blue);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
}

.sherloc-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* Query Loop block overrides for blog grid */
.sherloc-blog-grid .wp-block-post,
.sherloc-blog-card {
  background: var(--sherloc-white);
  border: 0.5px solid var(--sherloc-border);
  border-radius: 4px;
  overflow: hidden;
}

.sherloc-blog-card-img,
.sherloc-blog-grid .wp-block-post-featured-image {
  height: 110px;
  background: var(--sherloc-blue);
  overflow: hidden;
}

.sherloc-blog-grid .wp-block-post:nth-child(2) .wp-block-post-featured-image { background: var(--sherloc-blue-dark); }
.sherloc-blog-grid .wp-block-post:nth-child(3) .wp-block-post-featured-image { background: var(--sherloc-orange); }

.sherloc-blog-grid .wp-block-post-featured-image img {
  width: 100%;
  height: 110px;
  object-fit: cover;
}

.sherloc-blog-card-body,
.sherloc-blog-grid .wp-block-post > *:not(.wp-block-post-featured-image) {
  padding: 18px;
}

.sherloc-blog-date,
.sherloc-blog-grid .wp-block-post-date {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--sherloc-light);
  display: block;
  margin-bottom: 8px;
}

.sherloc-blog-title,
.sherloc-blog-grid .wp-block-post-title {
  font-family: var(--font-display) !important;
  font-size: 19px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  color: var(--sherloc-dark) !important;
  margin-bottom: 10px !important;
  line-height: 1.2 !important;
}

.sherloc-blog-grid .wp-block-post-title a {
  color: var(--sherloc-dark) !important;
  text-decoration: none !important;
}

.sherloc-blog-excerpt,
.sherloc-blog-grid .wp-block-post-excerpt {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.65;
  color: var(--sherloc-mid);
  margin-bottom: 14px;
}

.sherloc-blog-link,
.sherloc-blog-grid .wp-block-post-excerpt__more-link {
  font-family: var(--font-display) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  color: var(--sherloc-blue) !important;
  text-decoration: none !important;
}

/* =============================================
   CONTACT SECTION
   ============================================= */
.sherloc-contact {
  background: var(--sherloc-blue);
  padding: 60px 40px;
}

.sherloc-contact-inner {
  display: flex;
  gap: 52px;
  max-width: 1200px;
  margin: 0 auto;
}

.sherloc-contact-left {
  flex: 1;
}

.sherloc-contact h2,
.sherloc-contact .wp-block-heading {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--sherloc-white);
  line-height: 1.05;
  margin-bottom: 12px;
}

.sherloc-contact h2 em,
.sherloc-contact .wp-block-heading em {
  color: var(--sherloc-orange);
  font-style: normal;
}

.sherloc-contact-sub {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 28px;
}

.sherloc-contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sherloc-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.sherloc-contact-icon {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sherloc-contact-lbl {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  display: block;
}

.sherloc-contact-val {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--sherloc-white);
}

.sherloc-contact-right {
  flex: 0 0 320px;
}

/* =============================================
   CONTACT FORM
   ============================================= */
.sherloc-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sherloc-form-row {
  display: flex;
  gap: 10px;
}

.sherloc-input,
.sherloc-form input[type="text"],
.sherloc-form input[type="email"],
.sherloc-form input[type="tel"] {
  flex: 1;
  font-family: var(--font-body);
  font-size: 13px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.1);
  border: 0.5px solid rgba(255,255,255,0.2);
  border-radius: 3px;
  color: var(--sherloc-white);
  outline: none;
  width: 100%;
}

.sherloc-input::placeholder,
.sherloc-form input::placeholder {
  color: rgba(255,255,255,0.35);
}

.sherloc-textarea,
.sherloc-form textarea {
  font-family: var(--font-body);
  font-size: 13px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.1);
  border: 0.5px solid rgba(255,255,255,0.2);
  border-radius: 3px;
  color: var(--sherloc-white);
  outline: none;
  resize: none;
  height: 88px;
  width: 100%;
}

.sherloc-textarea::placeholder,
.sherloc-form textarea::placeholder {
  color: rgba(255,255,255,0.35);
}

.sherloc-form-btn,
.sherloc-form button[type="submit"] {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 13px;
  background: var(--sherloc-red);
  color: var(--sherloc-white);
  border: none;
  border-radius: 3px;
  cursor: pointer;
  width: 100%;
}

/* =============================================
   FOOTER
   ============================================= */
.sherloc-footer {
  background: var(--sherloc-blue);
  border-top: 0.5px solid rgba(255,255,255,0.12);
  padding: 22px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sherloc-footer-brand {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--sherloc-white);
}

.sherloc-footer-links {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sherloc-footer-links a {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
}

.sherloc-footer-links a:hover {
  color: var(--sherloc-white);
}

.sherloc-footer-copy {
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(255,255,255,0.3);
}

.sherloc-footer-bottom {
  background: var(--sherloc-blue);
  border-top: 3px solid var(--sherloc-orange);
  padding: 10px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sherloc-footer-bottom span {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
}

.sherloc-footer-bottom-links {
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sherloc-footer-bottom-links a {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  text-decoration: none;
}

/* =============================================
   SINGLE BLOG POST
   ============================================= */
.sherloc-post-header {
  background: var(--sherloc-blue);
  padding: 52px 40px;
}

.sherloc-post-header h1 {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--sherloc-white);
  line-height: 1.05;
  max-width: 800px;
}

.sherloc-post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}

.sherloc-post-date {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}

.sherloc-post-body {
  background: var(--sherloc-white);
  padding: 52px 40px;
  max-width: 800px;
  margin: 0 auto;
}

.sherloc-post-body p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--sherloc-dark);
  margin-bottom: 20px;
}

.sherloc-post-body h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--sherloc-dark);
  margin: 36px 0 14px;
}

.sherloc-post-body h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--sherloc-dark);
  margin: 28px 0 10px;
}

.sherloc-post-body strong {
  color: var(--sherloc-dark);
  font-weight: 700;
}

/* =============================================
   BLOG ARCHIVE PAGE
   ============================================= */
.sherloc-blog-archive {
  padding: 52px 40px;
  background: var(--sherloc-bg);
}

.sherloc-blog-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .sherloc-streams {
    grid-template-columns: repeat(3, 1fr);
  }

  .sherloc-prob-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sherloc-prod-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .sherloc-prod-grid-2 {
    max-width: 100%;
  }

  .sherloc-contact-inner {
    flex-direction: column;
  }

  .sherloc-contact-right {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .sherloc-hero-inner {
    flex-direction: column;
    padding: 40px 24px;
  }

  .sherloc-hero h1,
  .sherloc-hero .wp-block-heading {
    font-size: 48px;
  }

  .sherloc-hero-right {
    flex: none;
    width: 100%;
    align-items: flex-start;
  }

  .sherloc-section {
    padding: 40px 24px;
  }

  .sherloc-streams {
    grid-template-columns: repeat(2, 1fr);
  }

  .sherloc-track-grid,
  .sherloc-blog-grid,
  .sherloc-blog-archive-grid,
  .sherloc-prod-grid-3,
  .sherloc-prod-grid-2 {
    grid-template-columns: 1fr;
  }

  .sherloc-prob-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sherloc-footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 24px;
  }

  .sherloc-footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .sherloc-contact {
    padding: 40px 24px;
  }

  .sherloc-formula-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .sherloc-prob-cta {
    flex-direction: column;
    text-align: center;
  }

  .nav-inner {
    padding: 0 24px;
  }
}
