/* ============================================================
   Persuadable Research — WordPress Theme Stylesheet
   v1.0 — Persuadables Child Theme on Kadence
   ============================================================ */

/* ---------- Kadence overrides — neutralize parent theme chrome ---------- */
body.prc-site #wrapper > .site-header,
body.prc-site #wrapper > .site-footer { display: none !important; }
body.prc-site #wrapper { padding: 0 !important; }
body.prc-site .site, body.prc-site #page { background: var(--white); }
body.prc-site .entry-content > * { max-width: none; }
body.prc-site .single-team_member .entry-content,
body.prc-site .single-post .entry-content { max-width: 760px; margin: 0 auto; padding: 0 32px; }
body.prc-site .admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.prc-site.admin-bar .site-header { top: 46px; } }

:root {
  --red: #EF3F61;
  --red-dark: #D9325A;
  --black: #373435;
  --charcoal: #4A4A4F;
  --gray-text: #5E5E64;
  --gray-soft: #8B8B92;
  --gray-line: #E5E5E7;
  --gray-bg: #F7F7F8;
  --white: #FFFFFF;
  --max: 1200px;
  --radius: 6px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 { margin: 0 0 12px; line-height: 1.2; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: 48px; }
h2 { font-size: 36px; }
h3 { font-size: 26px; }
h4 { font-size: 20px; }
p { margin: 0 0 16px; color: var(--gray-text); }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }
img { max-width: 100%; display: block; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 32px; }

/* ---------- DEMO BANNER ---------- */
.demo-banner {
  background: #FFF8E5;
  color: #6B5520;
  padding: 8px 32px;
  font-size: 13px;
  text-align: center;
  border-bottom: 1px solid #E8B53C;
}
.demo-banner strong { color: #4A3810; }

/* ---------- HEADER / NAV ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: var(--max);
  margin: 0 auto;
}
.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.brand-logo img {
  height: 56px;
  width: auto;
  display: block;
}
.site-header .inner { padding: 16px 32px; }
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-email {
  background: var(--white);
  color: var(--black);
  border: 2px solid var(--black);
  padding: 7px 18px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .3px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .15s, color .15s, border-color .15s;
}
.header-email:hover { background: var(--red); color: var(--white); border-color: var(--red); }
.header-email svg { width: 14px; height: 14px; }
footer .footer-logo img {
  height: 32px;
  width: auto;
  display: block;
  margin-bottom: 14px;
}

nav.primary {
  display: flex; align-items: center; gap: 28px;
}
nav.primary a {
  color: var(--charcoal);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 0;
  position: relative;
}
nav.primary a:hover { color: var(--black); }
nav.primary a.active {
  color: var(--red);
  font-weight: 600;
}
nav.primary a.active::after {
  content: '';
  position: absolute;
  bottom: -22px;
  left: 0; right: 0;
  height: 3px;
  background: var(--red);
}
.header-phone {
  background: var(--black);
  color: var(--white);
  padding: 9px 20px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .3px;
}
.header-phone:hover { background: var(--red); color: var(--white); }

/* ---------- HERO (home only) ---------- */
.hero {
  background: linear-gradient(135deg, #2A2728 0%, #3D3A3B 100%);
  color: var(--white);
  padding: 100px 32px 110px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -5%;
  background: url('https://persuadables.com/wp-content/uploads/revslider/reachout_bg.jpg') center/cover;
  opacity: 0.20;
  z-index: 0;
  animation: kenburns 22s ease-in-out infinite alternate;
}
@keyframes kenburns {
  0%   { transform: scale(1.05) translate(0, 0); }
  50%  { transform: scale(1.15) translate(-2%, 1%); }
  100% { transform: scale(1.10) translate(2%, -1%); }
}
.hero h1 { animation: rise .9s ease-out; }
.hero p { animation: rise .9s ease-out .15s; }
.hero .cta { animation: rise .9s ease-out .3s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; }
  .hero h1, .hero p, .hero .cta { animation: none; }
}
.hero .inner {
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 60px;
  font-weight: 700;
  max-width: 760px;
  letter-spacing: -.02em;
  line-height: 1.05;
  color: var(--white);
}
.hero p {
  font-size: 18px;
  max-width: 540px;
  color: rgba(255,255,255,.85);
  margin-top: 22px;
}
.hero .cta {
  display: inline-block;
  margin-top: 36px;
  background: var(--red);
  color: var(--white);
  padding: 14px 34px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: transform .15s, background .15s;
}
.hero .cta:hover { background: var(--red-dark); transform: translateY(-1px); color: var(--white); }

/* ---------- INTERIOR PAGE HERO ---------- */
.page-hero {
  background: var(--gray-bg);
  padding: 70px 32px 60px;
  border-bottom: 1px solid var(--gray-line);
}
.page-hero .inner { max-width: var(--max); margin: 0 auto; }
.page-hero .eyebrow {
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 46px;
  font-weight: 700;
  color: var(--black);
  max-width: 800px;
}
.page-hero p {
  font-size: 17px;
  max-width: 640px;
  margin-top: 14px;
}
/* Charcoal variant for stronger visual weight */
.page-hero.dark {
  background: var(--black);
  border-bottom: 0;
}
.page-hero.dark h1 { color: var(--white); }
.page-hero.dark p { color: rgba(255,255,255,.8); }
.page-hero.dark .eyebrow { color: var(--red); }

/* ---------- SECTIONS ---------- */
section.block { padding: 80px 0; }
section.block.alt { background: var(--gray-bg); }
.eyebrow {
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.center { text-align: center; }

/* ---------- ABOUT (home) ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.about-grid .lead h2 {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  color: var(--black);
  font-weight: 700;
}
.about-grid .copy p { font-size: 16px; line-height: 1.7; }
.about-grid .copy p + p { margin-top: 14px; }

/* ---------- WHAT WE DO 4-BOX ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform .2s, box-shadow .2s;
  display: block;
  text-decoration: none;
  color: inherit;
  min-height: 280px;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.1); color: inherit; }
.service-card .icon-area {
  background: linear-gradient(135deg, var(--black), #2A2728);
  height: 130px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.service-card .icon-area::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 4px; background: var(--red);
}
.service-card .icon-area svg { color: var(--red); width: 56px; height: 56px; }
.service-card .body {
  padding: 22px 22px 24px;
  text-align: left;
}
.service-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
  line-height: 1.25;
}
.service-card .body p { margin-bottom: 18px; }
.service-card .arrow {
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: auto;
}

/* ---------- TESTIMONIAL CAROUSEL ---------- */
.testimonial-band {
  background: var(--black);
  color: var(--white);
  padding: 72px 32px;
}
.testimonial-band .quote-icon { color: var(--red); }
.testimonial-band .inner { max-width: 880px; margin: 0 auto; text-align: center; }
.testimonial-band .quote-icon {
  font-family: 'Playfair Display', serif;
  font-size: 80px;
  line-height: 0;
  display: inline-block;
  margin-bottom: 30px;
  color: rgba(255,255,255,.5);
}
.testimonial-band blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  line-height: 1.45;
  margin: 0;
  font-style: italic;
  font-weight: 600;
}
.testimonial-band .who {
  margin-top: 24px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,.9);
}
.testimonial-band .dots {
  margin-top: 28px;
  display: flex; justify-content: center; gap: 8px;
}
.testimonial-band .dots button {
  width: 10px; height: 10px;
  border: 0; border-radius: 50%;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  transition: background .15s;
  padding: 0;
}
.testimonial-band .dots button.on { background: var(--white); }

/* ---------- LOGO STRIP (home) ---------- */
.logo-strip {
  padding: 60px 32px;
  background: var(--white);
}
.logo-strip .inner { max-width: var(--max); margin: 0 auto; text-align: center; }
.logo-strip .heading { color: var(--gray-soft); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 2.5px; margin-bottom: 28px; }
.logo-row {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 50px;
  filter: grayscale(40%);
  opacity: .85;
}
.logo-row img { max-height: 50px; max-width: 130px; object-fit: contain; }

/* ---------- TEAM ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.member {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
}
.member:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.member .photo {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, #E8E8EA, #D2D2D6);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-soft); font-size: 13px;
  position: relative;
  overflow: hidden;
}
.member .photo img {
  width: 100%; height: 100%; object-fit: cover;
}
.member .body { padding: 22px 20px; }
.member h4 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--black);
  margin-bottom: 4px;
}
.member .role {
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}
.member p {
  font-size: 14px; color: var(--gray-text); margin: 0; line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 67px;
}
.member .extra-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 12px; font-weight: 700;
  color: var(--red); text-transform: uppercase; letter-spacing: 1px;
}

/* ---------- BIO PAGE ---------- */
.bio-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: start;
}
.bio-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: linear-gradient(135deg, #E8E8EA, #D2D2D6);
  aspect-ratio: 4/5;
}
.bio-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bio-body p { font-size: 16px; line-height: 1.75; color: var(--charcoal); margin-bottom: 18px; }
.bio-body h3 {
  font-family: 'Playfair Display', serif;
  margin: 32px 0 14px;
  font-size: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gray-line);
}
.bio-body ul { padding-left: 22px; color: var(--charcoal); }
.bio-body li { margin-bottom: 6px; }
.bio-back {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--gray-soft);
}
.bio-back:hover { color: var(--red); }

ul.member-contact { list-style: none; padding: 0; margin: 0; }
ul.member-contact li { margin-bottom: 12px; }
ul.member-contact a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--gray-bg);
  border: 1px solid var(--gray-line);
  color: var(--black);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: background .15s, transform .15s, border-color .15s;
}
ul.member-contact a:hover {
  background: var(--white);
  border-color: var(--red);
  transform: translateX(2px);
  color: var(--red);
}
ul.member-contact img {
  width: 36px; height: 36px;
  flex-shrink: 0;
}

.member .extra-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px; font-weight: 700;
  color: var(--red); text-transform: uppercase; letter-spacing: 1px;
}
.member-link {
  display: block;
  margin-top: 14px;
  font-size: 12px; font-weight: 700;
  color: var(--red); text-transform: uppercase; letter-spacing: 1px;
}

/* ---------- CASE STUDY PAGE ---------- */
.cs-meta { font-size: 12px; color: var(--gray-soft); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 14px; font-weight: 600; }
.cs-body { max-width: 760px; margin: 0 auto; }
.cs-body p { font-size: 17px; line-height: 1.75; color: var(--charcoal); margin-bottom: 20px; }
.cs-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  color: var(--black);
  margin: 36px 0 14px;
  font-weight: 700;
}
.cs-body ul, .cs-body ol { padding-left: 24px; color: var(--charcoal); margin-bottom: 22px; }
.cs-body li { margin-bottom: 10px; line-height: 1.65; }
.cs-pullquote {
  border-left: 4px solid var(--red);
  background: var(--gray-bg);
  padding: 24px 28px;
  margin: 28px 0;
  font-family: 'Playfair Display', serif;
  font-size: 21px;
  font-style: italic;
  color: var(--black);
  line-height: 1.5;
}
.cs-download {
  background: var(--gray-bg);
  border: 1px dashed var(--gray-line);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  margin: 40px 0;
}
.cs-download h4 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 6px;
}
.cs-download p { font-size: 14px; margin-bottom: 18px; }
.cs-download .download-btn {
  background: var(--red); color: var(--white);
  display: inline-block; padding: 14px 30px; border-radius: 30px;
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
}
.cs-download .download-btn:hover { background: var(--red-dark); color: var(--white); }

/* ---------- SERVICES PAGE ---------- */
.service-block {
  background: var(--white);
  border-left: 5px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 36px 40px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s;
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 48px;
  align-items: center;
}
.service-block .sb-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  border-radius: var(--radius);
  padding: 24px;
  aspect-ratio: 1;
  max-width: 200px;
  margin-left: auto;
}
.service-block .sb-icon svg {
  width: 88px;
  height: 88px;
  color: var(--red);
}
.service-block:hover { box-shadow: var(--shadow-md); }
.service-block h3 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--black);
  margin-bottom: 8px;
}
.service-block .blurb { color: var(--gray-text); margin-bottom: 22px; max-width: 720px; }
.service-block ul.offerings {
  margin: 0; padding: 0; list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 28px;
}
.service-block ul.offerings li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: var(--charcoal);
  line-height: 1.6;
}
.service-block ul.offerings li::before {
  content: '';
  position: absolute;
  width: 8px; height: 8px;
  background: var(--red);
  left: 2px; top: 9px;
  border-radius: 50%;
}
.service-block ul.offerings li strong { color: var(--black); }
.service-block .read-more {
  display: inline-block;
  margin-top: 22px;
  color: var(--red); font-weight: 700;
  font-size: 13px; text-transform: uppercase; letter-spacing: 1px;
}

/* ---------- SCROLLING CLIENT MARQUEE ---------- */
.client-marquee {
  width: 100%;
  overflow: hidden;
  padding: 24px 0;
  position: relative;
}
.client-marquee::before, .client-marquee::after {
  content: '';
  position: absolute; top: 0; bottom: 0;
  width: 80px; z-index: 2; pointer-events: none;
}
.client-marquee::before { left: 0; background: linear-gradient(to right, var(--white), transparent); }
.client-marquee::after { right: 0; background: linear-gradient(to left, var(--white), transparent); }
.marquee-track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  animation: marquee 60s linear infinite;
}
.marquee-track.reverse { animation: marquee-rev 60s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-track .logo-cell {
  flex-shrink: 0;
  width: 160px;
  height: 90px;
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  padding: 14px;
  transition: transform .2s, box-shadow .2s;
}
.marquee-track .logo-cell:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,.1);
}
.marquee-track .logo-cell img {
  max-height: 60px; max-width: 100%; object-fit: contain;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes marquee-rev {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* ---------- CLIENTS ---------- */
.client-section { padding: 60px 0; }
.client-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  color: var(--black);
  border-bottom: 3px solid var(--red);
  padding-bottom: 12px;
  margin-bottom: 36px;
  display: inline-block;
}
.client-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  align-items: center;
}
.client-grid .logo-cell {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  height: 110px;
  padding: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s, box-shadow .2s;
}
.client-grid .logo-cell:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,.1);
}
.client-grid .logo-cell img {
  max-height: 70px; max-width: 100%; object-fit: contain;
}

/* ---------- NEWS / BLOG ---------- */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.post-card {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .15s, box-shadow .2s;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.post-card .cover {
  aspect-ratio: 16/10;
  background: var(--gray-bg);
  overflow: hidden;
}
.post-card .cover img { width:100%; height:100%; object-fit: cover; }
.post-card .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.post-card .meta { font-size: 11px; color: var(--gray-soft); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; }
.post-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  color: var(--black);
  margin: 8px 0 10px;
  font-weight: 700;
}
.post-card p { font-size: 14px; line-height: 1.55; flex: 1; }
.post-card .download {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px;
  background: var(--red); color: var(--white);
  padding: 10px 18px; border-radius: 30px;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  align-self: flex-start;
}
.post-card .download:hover { background: var(--red-dark); color: var(--white); }

/* ---------- CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: start;
}
.contact-info ul.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-info ul.contact-list li {
  border-bottom: 1px solid var(--gray-line);
}
.contact-info ul.contact-list li:last-child { border-bottom: 0; }
.contact-info .ci-link {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 4px;
  text-decoration: none;
  color: inherit;
  border-radius: 4px;
  transition: background .15s, transform .15s;
}
.contact-info .ci-link:hover {
  background: var(--gray-bg);
  transform: translateX(2px);
}
.contact-info .ci-link:hover .ci-value { color: var(--red); }
.contact-info .ci-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}
.contact-info .ci-text { flex: 1; }
.contact-info .ci-label {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--red);
  margin-bottom: 2px;
}
.contact-info .ci-value { font-size: 17px; color: var(--black); font-weight: 500; transition: color .15s; }
.contact-info .blurb {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-line);
  font-size: 14px;
  color: var(--gray-soft);
  line-height: 1.6;
}

.contact-form {
  background: var(--gray-bg);
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-line);
}
.contact-form h3 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 8px;
  color: var(--black);
}
.contact-form .form-intro { margin-bottom: 24px; font-size: 14px; }
.field { margin-bottom: 18px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.row .field { margin-bottom: 0; }
label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 6px;
  letter-spacing: .3px;
}
label .req { color: var(--red); }
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-line);
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  background: var(--white);
  color: var(--black);
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus {
  outline: 0;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(239,63,97,.12);
}
textarea { min-height: 110px; resize: vertical; }
.submit-btn {
  background: var(--red);
  color: var(--white);
  border: 0;
  padding: 14px 36px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.submit-btn:hover { background: var(--red-dark); transform: translateY(-1px); }
.privacy-note { margin-top: 16px; font-size: 12px; color: var(--gray-soft); }

/* ---------- CTA STRIP ---------- */
.cta-strip {
  background: var(--black);
  color: var(--white);
  padding: 60px 32px;
  border-top: 4px solid var(--red);
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.cta-strip .inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
}
.cta-strip h3 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  margin: 0;
  color: var(--white);
}
.cta-strip .actions { display: flex; gap: 14px; }
.cta-strip .btn-outline {
  background: transparent; color: var(--white);
  border: 2px solid var(--white);
  padding: 12px 28px; border-radius: 30px;
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
}
.cta-strip .btn-outline:hover { background: var(--white); color: var(--black); }
.cta-strip .btn-filled {
  background: var(--red); color: var(--white);
  padding: 12px 28px; border-radius: 30px;
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  transition: background .15s, transform .15s;
}
.cta-strip .btn-filled:hover { background: var(--red-dark); color: var(--white); transform: translateY(-1px); }
.cta-strip .btn-phone {
  background: var(--white); color: var(--black);
  padding: 12px 28px; border-radius: 30px;
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
}

/* ---------- FOOTER ---------- */
footer {
  background: #1F1C1D;
  color: rgba(255,255,255,.7);
  padding: 50px 32px 28px;
  font-size: 14px;
}
footer .inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
footer h5 {
  color: var(--white);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  font-weight: 700;
}
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 8px; }
footer a { color: rgba(255,255,255,.7); }
footer a:hover { color: var(--white); }
footer .tagline {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  color: var(--white);
  margin-bottom: 8px;
  font-weight: 700;
}
footer .copyright {
  max-width: var(--max);
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 12px;
  color: rgba(255,255,255,.5);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
footer .chpa-badge {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.12);
}
footer .chpa-badge .chpa-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,.6);
  margin-bottom: 10px;
}
footer .chpa-badge img {
  height: 50px;
  width: auto;
  background: var(--white);
  padding: 6px 10px;
  border-radius: 4px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .client-grid { grid-template-columns: repeat(4, 1fr); }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  footer .inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  h1 { font-size: 36px; }
  .hero h1 { font-size: 40px; }
  .page-hero h1 { font-size: 32px; }
  .about-grid, .contact-grid, .bio-grid { grid-template-columns: 1fr; gap: 32px; }
  .services-grid, .posts-grid { grid-template-columns: 1fr; }
  .client-grid { grid-template-columns: repeat(2, 1fr); }
  .row { grid-template-columns: 1fr; }
  .service-block ul.offerings { grid-template-columns: 1fr; }
  .service-block { grid-template-columns: 1fr; }
  .service-block .sb-icon { display: none; }
  nav.primary { display: none; }
  .cta-strip .inner { flex-direction: column; align-items: flex-start; }
  footer .inner { grid-template-columns: 1fr; }
}

/* ---------- WordPress-specific additions ---------- */

/* Bio layout (single team member page) */
.bio-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: start;
}
.bio-photo img { width: 100%; border-radius: 6px; box-shadow: var(--shadow-md); }
.bio-contact { background: var(--gray-bg); border-radius: 6px; padding: 20px; margin-top: 20px; }
.bio-contact h5 { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; color: var(--charcoal); margin: 0 0 12px; }
.bio-contact ul { list-style: none; padding: 0; margin: 0; }
.bio-contact li { margin-bottom: 8px; }
.bio-contact a { display: inline-flex; align-items: center; gap: 8px; color: var(--black); font-size: 14px; }
.bio-contact a:hover { color: var(--red); }
.bio-contact img { width: 18px; height: 18px; }
.bio-body { font-size: 17px; line-height: 1.7; }
.bio-body p { color: var(--charcoal); margin: 0 0 18px; }
@media (max-width: 768px) {
  .bio-layout { grid-template-columns: 1fr; }
}

/* Contact page layout */
.contact-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 56px;
  align-items: start;
}
.contact-info h3, .contact-form h3 { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 26px; margin-bottom: 20px; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { margin-bottom: 16px; }
.contact-list a { display: flex; align-items: center; gap: 12px; color: var(--black); font-size: 16px; }
.contact-list a:hover { color: var(--red); }
.contact-list img { width: 24px; height: 24px; }
.contact-form form p { margin-bottom: 16px; }
.contact-form label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; color: var(--charcoal); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--gray-line); border-radius: 6px;
  font-family: inherit; font-size: 15px; background: var(--white); color: var(--black);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(239,63,97,.12);
}
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Client grid layout (clients page, replaces marquee on this page) */
.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 24px;
  align-items: center;
}
.client-grid .logo-cell {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: 6px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  transition: transform .2s, box-shadow .2s;
}
.client-grid .logo-cell:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,.1);
}
.client-grid img {
  max-width: 100%;
  max-height: 80px;
  width: auto;
  height: auto;
}

/* Pagination (news page) */
.pagination, .nav-links { text-align: center; }
.pagination .page-numbers, .nav-links .page-numbers {
  display: inline-block; margin: 0 4px; padding: 8px 14px;
  border: 1px solid var(--gray-line); border-radius: 4px;
  color: var(--black); font-weight: 600; font-size: 14px;
}
.pagination .page-numbers.current, .nav-links .page-numbers.current {
  background: var(--red); color: var(--white); border-color: var(--red);
}
.pagination .page-numbers:hover, .nav-links .page-numbers:hover {
  background: var(--gray-bg);
}

/* WordPress core gallery / image alignment */
.entry-content img { height: auto; max-width: 100%; border-radius: 4px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
                                                                                                                                             