/* ============================================================
   Ojenikoh Technology Consulting — Main Stylesheet v3.0
   Palette: Dark Slate / Teal / Warm White / Muted Copper
   Fonts loaded via wp_enqueue_style in functions.php
   ============================================================ */

/* ── Tokens ─────────────────────────────────────────── */
:root {
  --slate:        #2D3748;
  --slate-deep:   #1A202C;
  --slate-mid:    #4A5568;
  --teal:         #0F766E;
  --teal-light:   #0D9488;
  --teal-tint:    #F0FDFA;
  --copper:       #B7791F;
  --copper-light: #D69E2E;
  --warm-white:   #FAFAF8;
  --warm-white-2: #F4F4F0;
  --border:       #E2E8F0;
  --text-body:    #374151;
  --text-muted:   #64748B;
  --white:        #FFFFFF;

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --max-w: 1160px;
  --radius: 4px;
}

/* ── Reset ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Hard override — prevents WordPress block styles from
   overriding theme typography after activation          */
html body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  color: #374151 !important;
  background: #FAFAF8 !important;
  -webkit-font-smoothing: antialiased;
}
html body h1,
html body h2,
html body h3,
html body h4,
html body h5,
html body h6 {
  font-family: 'DM Serif Display', Georgia, serif !important;
  font-weight: 400 !important;
  line-height: 1.15 !important;
  color: #2D3748 !important;
  margin: 0 0 .5em !important;
  letter-spacing: -.01em !important;
}
html body p {
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 0.8rem !important;
  line-height: 1.6 !important;
  margin: 0 0 1.1em !important;
}
html body p:last-child { margin-bottom: 0 !important; }
html body a { color: inherit; text-decoration: none; }
html body img { max-width: 100%; display: block; }
html body ul,
html body ol { margin: 0; padding: 0; list-style: none; }

/* ── Layout utilities ────────────────────────────────── */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

/* ── Eyebrow ─────────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--copper);
  margin-bottom: 14px;
}

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}
.btn-primary { background: var(--teal); color: var(--white); border-color: var(--teal); }
.btn-primary:hover { background: var(--teal-light); border-color: var(--teal-light); }
.btn-outline { background: transparent; color: var(--slate); border-color: var(--slate); }
.btn-outline:hover { background: var(--slate); color: var(--white); }
.btn-copper { background: var(--copper); color: var(--white); border-color: var(--copper); }
.btn-copper:hover { background: var(--copper-light); border-color: var(--copper-light); }
.btn-ghost-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-ghost-white:hover { background: rgba(255,255,255,.12); border-color: var(--white); }

/* ── Header / Nav ────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,248,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--slate);
  flex-shrink: 0;
}
.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--teal);
  border-radius: var(--radius);
  flex-shrink: 0;
}
.brand-mark span {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--white);
  font-style: italic;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: .88rem;
  font-weight: 500;
}
.nav-links a {
  color: var(--slate-mid);
  padding: 4px 0;
  position: relative;
  transition: color .15s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--slate); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--teal);
}
.nav-cta { font-size: .85rem; padding: 9px 20px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  gap: 5px;
  flex-direction: column;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--slate);
  border-radius: 2px;
  transition: .2s;
}

@media (max-width: 900px) {
  .nav-cta.desktop-only { display: none; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--warm-white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 0 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 28px; }
  .nav-links a.active::after { display: none; }
  .nav-toggle { display: flex; }
}

/* ── Hero ────────────────────────────────────────────── */
.hero {
  padding: 80px 0 72px;
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
}
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
}
.hero h1 {
  font-size: clamp(2.1rem, 3.8vw, 3rem);
  margin-bottom: 20px;
  color: var(--slate-deep);
}
.hero h1 em {
  font-style: italic;
  color: var(--teal);
}
.hero-sub {
  font-size: 1.06rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.65;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Phase tracker card */
.phase-card {
  background: var(--slate);
  border-radius: 6px;
  padding: 28px;
  color: var(--white);
}
.phase-card-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #94A3B8;
  margin-bottom: 20px;
  font-weight: 600;
}
.phase-card-label .live-dot {
  display: flex;
  align-items: center;
  gap: 6px;
}
.live-dot::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--teal-light);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}
.phase-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid rgba(255,255,255,.08);
}
.phase-row:first-of-type { border-top: none; }
.phase-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 2px solid #4A5568;
  background: transparent;
  margin-top: 5px;
  flex-shrink: 0;
  transition: background .2s;
}
.phase-row.done .phase-dot { background: var(--teal); border-color: var(--teal); }
.phase-row.active .phase-dot { background: transparent; border-color: var(--copper); box-shadow: 0 0 0 3px rgba(183,121,31,.2); }
.phase-name { font-size: .95rem; font-weight: 600; color: #CBD5E1; }
.phase-row.done .phase-name { color: #94A3B8; }
.phase-row.active .phase-name { color: var(--copper-light); }
.phase-note { font-size: .8rem; color: #64748B; margin-top: 3px; }
.phase-badge {
  margin-left: auto;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 3px 9px;
  border-radius: 20px;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 4px;
}
.phase-row.active .phase-badge { background: rgba(183,121,31,.18); color: var(--copper-light); }
.phase-row.done .phase-badge { background: rgba(255,255,255,.06); color: #64748B; }

/* ── Generic section scaffolding ─────────────────────── */
.section { padding: 80px 0; }
.section-alt { background: var(--teal-tint); }
.section-slate { background: var(--slate); }
.section-slate h2, .section-slate h3 { color: var(--white); }
.section-slate .eyebrow { color: var(--copper-light); }
.section-slate p { color: #94A3B8; }

.section-head { max-width: 660px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.65rem, 2.8vw, 2.2rem); }
.section-head .sub { color: var(--text-muted); font-size: 0.8rem; margin-top: 12px; }

/* ── Problem section ─────────────────────────────────── */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 860px) { .problem-grid { grid-template-columns: 1fr; gap: 36px; } }

.problem-body p { color: var(--text-muted); font-size: .8rem; line-height: 1.7; }
.problem-body p strong { color: var(--slate); }

.problem-callout {
  border-left: 3px solid var(--teal);
  padding: 24px 24px 24px 28px;
  background: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.problem-callout p {
  font-size: .8rem;
  color: var(--slate);
  line-height: 1.6;
  margin: 0;
  font-family: var(--font-display);
}

/* ── ALIGN Framework — signature element ─────────────── */
.align-spine {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 60px;
}
.align-spine::before {
  content: '';
  position: absolute;
  left: 26px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(to bottom, var(--teal), rgba(15,118,110,.15));
}
.align-step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 24px 0;
  position: relative;
}
.align-step::before {
  content: '';
  position: absolute;
  left: -42px;
  top: 32px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal);
  border: 3px solid var(--teal-tint);
}
.align-letter {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--copper);
  line-height: 1;
  width: 36px;
  flex-shrink: 0;
  margin-top: 2px;
}
.align-content h4 {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.align-content p { font-size: .8rem; color: var(--text-muted); margin: 0; }

/* ── Three-column feature grid ───────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (max-width: 860px) { .feature-grid { grid-template-columns: 1fr; } }

.feature-cell {
  padding: 32px 28px;
  border-right: 1px solid var(--border);
  background: var(--white);
}
.feature-cell:last-child { border-right: none; }
@media (max-width: 860px) {
  .feature-cell { border-right: none; border-bottom: 1px solid var(--border); }
  .feature-cell:last-child { border-bottom: none; }
}
.feature-cell .fc-tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--teal);
  background: rgba(15,118,110,.08);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.feature-cell h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--slate);
  margin-bottom: 12px;
}
.feature-cell p { font-size: .93rem; color: var(--text-muted); margin: 0; }

/* ── Who I work with ─────────────────────────────────── */
.industry-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
}
@media (max-width: 600px) { .industry-list { grid-template-columns: 1fr; } }

.industry-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.industry-item:nth-child(odd) { padding-right: 32px; }
.industry-item:nth-child(even) { padding-left: 32px; border-left: 1px solid var(--border); }
@media (max-width: 600px) {
  .industry-item:nth-child(even) { padding-left: 0; border-left: none; }
}
.industry-icon {
  width: 36px; height: 36px;
  background: rgba(15,118,110,.08);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--teal);
  font-weight: 700;
  font-size: .82rem;
  font-family: var(--font-display);
  font-style: italic;
}
.industry-item h4 { font-family: var(--font-body); font-size: .95rem; font-weight: 600; color: var(--slate); margin-bottom: 4px; }
.industry-item p { font-size: .88rem; color: var(--text-muted); margin: 0; }

/* ── Who this is NOT for ─────────────────────────────── */
.not-for-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.not-for-grid > div:last-child {
  padding-top: 0 !important;
}
@media (max-width: 860px) { .not-for-grid { grid-template-columns: 1fr; gap: 28px; } }

.not-for-list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  font-size: .8rem;
  color: #94A3B8;
  align-items: flex-start;
}
.not-for-list li::before {
  content: '×';
  color: #64748B;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.right-fit-box {
  border-left: 3px solid var(--teal);
  padding: 24px 24px 24px 28px;
  background: rgba(15,118,110,.08);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.right-fit-box p {
  color: var(--white) !important;
  font-size: 1rem;
  line-height: 1.65;
}
.right-fit-box strong { color: var(--copper-light) !important; }

/* ── Outcomes checklist ──────────────────────────────── */
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 40px;
}
@media (max-width: 600px) { .outcomes-grid { grid-template-columns: 1fr; } }

.outcome-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: .8rem;
  color: var(--text-body);
}
.outcome-item::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Credibility strip ───────────────────────────────── */
.cred-strip {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.cred-item {
  flex: 1;
  min-width: 160px;
  padding: 28px 24px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.cred-item:last-child { border-right: none; }
.cred-item .cred-val {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--slate);
  display: block;
  margin-bottom: 4px;
}
.cred-item .cred-label { font-size: .78rem; color: var(--text-muted); font-weight: 500; }

/* ── CTA band ────────────────────────────────────────── */
.cta-band {
  background: var(--slate);
  padding: 72px 0;
  text-align: center;
}
.cta-band h2 {
  color: #ffffff !important;
  font-size: clamp(1.5rem, 2.6vw, 2rem) !important;
  margin-bottom: 14px !important;
  font-family: 'DM Serif Display', Georgia, serif !important;
}
.cta-band p {
  color: #94A3B8 !important;
  text-align: center !important;
  max-width: 600px;
  width: 100%;
  margin: 0 auto 28px !important;
  font-size: .8rem !important;
}

.cta-actions {
  justify-content: center;
  gap: 16px;
}

/* ── Page header (interior pages) ───────────────────── */
.page-header {
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--border);
  background: var(--warm-white);
}
.page-header .eyebrow { margin-bottom: 12px; }
.page-header h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); color: var(--slate-deep); margin-bottom: 14px; }
.page-header .sub { color: var(--text-muted); font-size: 1.04rem; max-width: 620px; }

/* ── Services ledger ─────────────────────────────────── */
.ledger { border-top: 1px solid var(--border); }

.ledger-row {
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 860px) { .ledger-row { grid-template-columns: 1fr; gap: 16px; } }

.ledger-meta { padding-top: 4px; }
.ledger-tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--white);
  background: var(--teal);
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 10px;
}
.ledger-meta .service-num {
  display: block;
  font-family: var(--font-display);
  font-size: .88rem;
  color: var(--text-muted);
  margin-top: 6px;
  font-style: italic;
}
.ledger-body h3 {
  font-size: 1.35rem;
  color: var(--slate);
  margin-bottom: 8px;
}
.ledger-body .for-line {
  color: var(--text-muted);
  font-size: .95rem;
  font-style: italic;
  margin-bottom: 16px;
  border-left: 2px solid var(--border);
  padding-left: 14px;
}
.protects-box {
  background: rgba(15,118,110,.06);
  border-left: 3px solid var(--teal);
  padding: 12px 16px;
  margin-bottom: 18px;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.protects-box p {
  font-size: .88rem;
  color: var(--teal);
  margin: 0;
  font-weight: 500;
}
.protects-box strong { color: var(--slate); }
.deliverable-list {
  columns: 2;
  column-gap: 24px;
}
@media (max-width: 600px) { .deliverable-list { columns: 1; } }
.deliverable-list li {
  font-size: .8rem;
  color: var(--text-body);
  padding: 6px 0 6px 16px;
  position: relative;
  break-inside: avoid;
  border-bottom: 1px solid var(--border);
}
.deliverable-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 5px; height: 5px;
  background: var(--teal);
  border-radius: 50%;
}

/* Special: Risk Review (service 00) ─── */
.service-featured .ledger-tag { background: var(--copper); }
.service-featured .ledger-body h3 { color: var(--teal); }

/* ── Process steps ───────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (max-width: 860px) { .process-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .process-steps { grid-template-columns: 1fr; } }

.process-step {
  padding: 28px 24px;
  border-right: 1px solid var(--border);
  background: var(--white);
}
.process-step:last-child { border-right: none; }
@media (max-width: 860px) {
  .process-step:nth-child(2) { border-right: none; }
  .process-step { border-bottom: 1px solid var(--border); }
  .process-step:last-child { border-bottom: none; }
}
.step-num {
  font-family: var(--font-display);
  font-size: .82rem;
  color: var(--copper);
  font-style: italic;
  margin-bottom: 10px;
  display: block;
}
.process-step h4 { font-family: var(--font-body); font-size: .95rem; font-weight: 700; color: var(--slate); margin-bottom: 8px; }
.process-step p { font-size: .88rem; color: var(--text-muted); margin: 0; }

/* ── About page ──────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: start;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }

.about-body h2 { font-size: 1.35rem; margin-bottom: 14px; color: var(--slate); }
.about-body p { color: var(--text-muted); font-size: 1rem; line-height: 1.72; }
.about-body p + h2 { margin-top: 40px; }

.cred-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}
.cred-card-header {
  background: var(--slate);
  padding: 20px 24px;
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .88rem;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.cred-list li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  font-size: .92rem;
}
.cred-list li:last-child { border-bottom: none; }
.cred-org { font-weight: 600; color: var(--slate); }
.cred-detail { color: var(--text-muted); font-size: .85rem; text-align: right; }

/* ── Insights (Implementation Insights) ──────────────── */
.insight-list { border-top: 1px solid var(--border); }
.insight-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 660px) { .insight-row { grid-template-columns: 1fr; gap: 8px; } }

.insight-date {
  font-size: .78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .07em;
  padding-top: 4px;
}
.insight-tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--teal);
  background: rgba(15,118,110,.08);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.insight-row h3 {
  font-size: 1.18rem;
  color: var(--slate);
  margin-bottom: 8px;
  transition: color .15s;
}
.insight-row h3 a:hover { color: var(--teal); }
.insight-row p { font-size: .93rem; color: var(--text-muted); margin: 0; }

/* ── Contact page ────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

.contact-grid h2 { font-size: 1.3rem; margin-bottom: 16px; }

.booking-placeholder {
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: .92rem;
  background: var(--white);
  line-height: 1.65;
}

.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: .84rem; font-weight: 600; color: var(--slate); margin-bottom: 6px; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .8rem;
  color: var(--text-body);
  background: var(--white);
  transition: border-color .15s, box-shadow .15s;
}
.form-field textarea { resize: vertical; min-height: 100px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15,118,110,.1);
}

.q-list { counter-reset: qn; }
.q-list li {
  counter-increment: qn;
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: .93rem;
  color: var(--text-body);
  align-items: flex-start;
}
.q-list li::before {
  content: counter(qn, decimal-leading-zero);
  font-family: var(--font-display);
  color: var(--copper);
  font-size: .9rem;
  flex-shrink: 0;
  font-style: italic;
}
.contact-info { margin-top: 28px; border-top: 1px solid var(--border); }
.contact-info li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: .93rem;
}
.contact-info .ci-label {
  display: block;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
  color: var(--copper);
  margin-bottom: 3px;
}

/* ── Footer ──────────────────────────────────────────── */
.site-footer {
  background: var(--slate-deep);
  color: #94A3B8;
  padding: 60px 0 28px;
  font-size: .88rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 24px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .brand { color: var(--white); margin-bottom: 12px; }
.footer-brand p { font-size: .86rem; color: #64748B; max-width: 280px; line-height: 1.65; }

.footer-col h5 {
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #64748B; transition: color .15s; }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .78rem;
  color: #475569;
}

/* ── WordPress editor content styles ────────────────────
   Applied to content output by the_content() so text
   typed in wp-admin renders correctly on the front end.
   ─────────────────────────────────────────────────────── */

.wp-content h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--slate);
  margin: 36px 0 12px;
  font-weight: 400;
}
.wp-content h2:first-child { margin-top: 0; }

.wp-content h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--slate);
  margin: 28px 0 10px;
  font-weight: 400;
}

.wp-content p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.72;
  margin-bottom: 1.1em;
}

.wp-content strong { color: var(--slate); font-weight: 600; }

.wp-content ul, .wp-content ol {
  padding-left: 0;
  margin: 0 0 1.2em;
}

.wp-content ul li, .wp-content ol li {
  font-size: .97rem;
  color: var(--text-muted);
  padding: 8px 0 8px 20px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.wp-content ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 17px;
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
}

.wp-content ol { counter-reset: li; }
.wp-content ol li { counter-increment: li; }
.wp-content ol li::before {
  content: counter(li, decimal-leading-zero);
  position: absolute;
  left: 0;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--copper);
  font-size: .88rem;
}

/* Hero sub — when the_content() renders in the hero */
.hero-sub p {
  font-size: 1.06rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: .6em;
}
.hero-sub p:last-child { margin-bottom: 0; }

/* Page header sub — for contact/services intro */
.page-header .sub p {
  color: var(--text-muted);
  font-size: 1.04rem;
  margin-bottom: .5em;
}

/* Nuclear font override — catches any WP interference */
.section h2,
.section-alt h2,
.section-slate h2,
.cta-band h2,
.page-header h1,
.hero h1 {
  font-family: 'DM Serif Display', Georgia, serif !important;
  color: inherit !important;
}
.cta-band h2 { color: #ffffff !important; }
.section-slate h2 { color: #ffffff !important; }

.problem-body h2 {
  font-family: 'DM Serif Display', Georgia, serif !important;
  font-weight: 400 !important;
  font-size: clamp(1.65rem, 2.8vw, 2.2rem) !important;
  color: var(--slate) !important;
  line-height: 1.2 !important;
  margin-bottom: 20px !important;
}

.problem-body p {
  font-size: .8rem !important;
  color: var(--text-muted) !important;
  line-height: 1.7 !important;
  font-family: 'Inter', system-ui, sans-serif !important;
}

.problem-callout {
  border-left: 3px solid var(--teal);
  padding: 24px 24px 24px 28px;
  background: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 24px;
}

.problem-callout p {
  font-size: 1rem !important;
  color: var(--slate) !important;
  line-height: 1.6 !important;
  font-family: 'DM Serif Display', Georgia, serif !important;
  font-weight: 400 !important;
  margin: 0 !important;
}

/* ── Footer font fixes ───────────────────────────────── */
.footer-brand .brand {
  font-family: 'DM Serif Display', Georgia, serif !important;
  font-weight: 400 !important;
  font-size: 1.1rem !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 12px !important;
}

.footer-brand p {
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 0.86rem !important;
  color: #64748B !important;
  max-width: 260px !important;
  line-height: 1.65 !important;
  font-weight: 400 !important;
}

.footer-col h5 {
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: #ffffff !important;
  margin-bottom: 16px !important;
}

.footer-col a {
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 0.88rem !important;
  color: #64748B !important;
  line-height: 1.5 !important;
}

.footer-col li {
  margin-bottom: 10px !important;
}

.footer-bottom {
  font-size: 0.78rem !important;
  color: #475569 !important;
  font-family: 'Inter', system-ui, sans-serif !important;
}
