/* ============================================================
   WisePath Recruiting Group — Design System
   Emulates WisePath Financial family language (deep indigo +
   condensed uppercase display type + "path" motif), distinct as
   the recruiting sibling (warm gold accent, converging-paths mark).
   Draper direction: bold, premium, restrained, one conversion path.
   ============================================================ */

:root {
  /* Family base (emulate WisePath Financial) */
  --indigo: #1C2159;
  --indigo-deep: #161A45;
  --indigo-dark: #10132E;
  /* Cool secondary blues */
  --blue: #4C9FD6;
  --blue-soft: #84B6D5;
  /* Recruiting accent — warm gold (distinct from Financial's magenta) */
  --gold: #E8A33D;
  --gold-light: #F0C26B;
  --gold-dark: #C8892A;
  /* Neutrals */
  --white: #FFFFFF;
  --ivory: #F7F5F0;
  --surface: #F1F2F6;
  --ink: #252525;
  --grey: #959595;
  --line: #E4E2DC;
  /* Type */
  --font-display: "Oswald", sans-serif;
  --font-body: "Inter", sans-serif;
  /* Radius */
  --r: 8px;
  /* Shadows */
  --shadow-lg: 0 24px 60px -20px rgba(16,19,46,.45);
  --shadow-md: 0 12px 32px -16px rgba(16,19,46,.28);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .03em;
  line-height: 1.08;
  font-weight: 600;
  color: var(--indigo);
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--gold-dark); }

img { max-width: 100%; display: block; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
  font-size: .86rem;
  padding: 16px 28px;
  border-radius: var(--r);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn-gold { background: var(--gold); color: var(--indigo-deep); }
.btn-gold:hover { background: var(--gold-light); color: var(--indigo-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-light); transform: translateY(-2px); }
.btn-dark { background: var(--indigo); color: #fff; }
.btn-dark:hover { background: var(--gold); color: var(--indigo-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(16,19,46,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 28px; max-width: 1280px; margin: 0 auto;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 34px; height: 34px; flex: 0 0 34px; }
.brand-name { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: #fff; font-size: 1.05rem; line-height: 1; }
.brand-name .sub { display: block; font-size: .62rem; letter-spacing: .22em; color: var(--gold); text-transform: uppercase; margin-top: 3px; font-weight: 400; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: rgba(255,255,255,.82); font-size: .82rem; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .07em; font-weight: 500; }
.nav a:hover { color: var(--gold); }
.header-cta { white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.6rem; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--indigo-dark) 0%, var(--indigo-deep) 55%, var(--indigo) 100%);
  color: #fff;
  overflow: hidden;
}
.hero-inner {
  max-width: 1280px; margin: 0 auto; padding: 96px 28px 110px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--gold); font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: .18em; font-size: .8rem; font-weight: 500; margin-bottom: 22px;
}
.hero-eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--gold); }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.6rem); margin-bottom: 22px; }
.hero h1 .gold { color: var(--gold); }
.hero-sub { color: rgba(255,255,255,.86); font-size: 1.14rem; max-width: 30em; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-proof { margin-top: 40px; display: flex; gap: 34px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.12); padding-top: 26px; }
.hero-proof .stat { line-height: 1.15; }
.hero-proof .stat b { display: block; font-family: var(--font-display); font-size: 1.9rem; color: #fff; }
.hero-proof .stat span { color: rgba(255,255,255,.6); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }

/* Converging paths motif */
.hero-visual { position: relative; min-height: 420px; }
.path-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-card {
  position: relative; z-index: 2; margin: 70px auto 0;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px; padding: 26px; backdrop-filter: blur(4px);
  max-width: 380px;
}
.hero-card .label { color: var(--gold); font-family: var(--font-display); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; margin-bottom: 8px; }
.hero-card p { color: rgba(255,255,255,.88); font-size: .94rem; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section.ivory { background: var(--ivory); }
.section.white { background: #fff; }
.eyebrow {
  color: var(--gold-dark); font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: .2em; font-size: .8rem; font-weight: 500; margin-bottom: 14px;
}
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 16px; }
.section-head p { color: #5b5b5b; font-size: 1.05rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content:""; display:block; width:48px; height:2px; background: var(--gold); margin: 12px auto 0; }

/* Authority strip */
.authority {
  background: var(--indigo-deep); color: #fff;
  border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08);
}
.authority-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: rgba(255,255,255,.08); }
.authority-cell { background: var(--indigo-deep); padding: 30px 26px; text-align: center; }
.authority-cell b { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-light); margin-bottom: 4px; }
.authority-cell span { color: rgba(255,255,255,.7); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-family: var(--font-display); }

/* Services hubs */
.hubs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.hub {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 30px;
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.hub:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.hub .num { font-family: var(--font-display); color: var(--gold-dark); font-size: .9rem; letter-spacing: .1em; }
.hub h3 { margin: 10px 0 8px; font-size: 1.25rem; }
.hub p { color: #5b5b5b; font-size: .96rem; }
.hub ul { list-style: none; margin-top: 14px; }
.hub li { padding-left: 20px; position: relative; color: #5b5b5b; font-size: .92rem; margin-bottom: 6px; }
.hub li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }
.hub-cta { display: inline-block; margin-top: 16px; color: var(--indigo); font-family: var(--font-display); text-transform: uppercase; font-size: .82rem; letter-spacing: .08em; font-weight: 600; }
.hub-cta:hover { color: var(--gold-dark); }

/* Twin funnels */
.twin { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.twin-card {
  border-radius: 14px; padding: 44px 38px; color: #fff;
  position: relative; overflow: hidden; min-height: 340px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.twin-card.employer { background: linear-gradient(150deg, var(--indigo) 0%, var(--indigo-dark) 100%); }
.twin-card.candidate { background: linear-gradient(150deg, #2E3A6E 0%, var(--indigo-deep) 100%); border: 1px solid rgba(255,255,255,.1); }
.twin-card .eyebrow { color: var(--gold-light); letter-spacing: .18em; }
.twin-card h3 { color: #fff; font-size: 1.9rem; margin: 8px 0 12px; }
.twin-card p { color: rgba(255,255,255,.82); font-size: 1rem; margin-bottom: 24px; }

/* Pattern interrupt */
.pattern-interrupt {
  background: var(--indigo-dark); color: #fff; text-align: center;
  padding: 96px 28px; position: relative; overflow: hidden;
}
.pattern-interrupt .big { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.12; color: #fff; max-width: 800px; margin: 0 auto 20px; }
.pattern-interrupt .big .gold { color: var(--gold); }
.pattern-interrupt p { color: rgba(255,255,255,.78); max-width: 560px; margin: 0 auto 34px; font-size: 1.05rem; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 30px; position: relative; }
.step .step-num { font-family: var(--font-display); font-size: 2.6rem; color: var(--indigo); opacity: .14; line-height: 1; }
.step h3 { margin: 14px 0 10px; font-size: 1.15rem; }
.step p { color: #5b5b5b; font-size: .94rem; }

/* Proof / testimonials */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 28px; }
.testimonial .t-img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; margin-bottom: 16px; border: 2px solid var(--line); }
.testimonial .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 14px; }
.testimonial blockquote { color: #3d3d3d; font-size: .98rem; font-style: italic; margin-bottom: 18px; }
.testimonial .who b { display: block; color: var(--indigo); font-size: .92rem; }
.testimonial .who span { color: var(--grey); font-size: .82rem; }

/* Specialties chips */
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chip { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 12px 22px; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em; font-size: .84rem; color: var(--indigo); font-weight: 500; }
.chip:hover { border-color: var(--gold); color: var(--gold-dark); }

/* CTA close */
.cta-close {
  background: linear-gradient(135deg, var(--indigo) 0%, var(--indigo-deep) 100%);
  color: #fff; text-align: center; padding: 96px 28px;
}
.cta-close h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin-bottom: 18px; }
.cta-close p { color: rgba(255,255,255,.82); font-size: 1.08rem; margin-bottom: 34px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--indigo-dark); color: rgba(255,255,255,.75); padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 18px; }
.site-footer a { color: rgba(255,255,255,.7); font-size: .9rem; display: block; margin-bottom: 10px; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: rgba(255,255,255,.5); font-size: .84rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding: 64px 24px 80px; }
  .hero-visual { min-height: 320px; }
  .twin, .hubs { grid-template-columns: 1fr; }
  .steps, .testimonials { grid-template-columns: 1fr; }
  .authority-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--indigo-dark); flex-direction: column; align-items: flex-start; padding: 20px 28px; gap: 18px; border-top: 1px solid rgba(255,255,255,.08); }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
}
@media (max-width: 560px) {
  .authority-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
}

/* ===== HUB ICONS (added 2026-08-19) ===== */
.hub-icon { margin-bottom: 10px; }
.hub-icon svg { width: 36px; height: 36px; display: block; }

/* =========================================================================
   Careers page — JazzHR jobs list
   ========================================================================= */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.job-card {
  background: var(--white);
  border: 1px solid var(--ivory-dark, #e8e5df);
  border-radius: var(--r);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: box-shadow .15s ease, transform .15s ease;
}
.job-card:hover {
  box-shadow: var(--shadow-md, 0 4px 16px rgba(0,0,0,.09));
  transform: translateY(-2px);
}
.job-card-header { flex: 1; }
.job-location {
  font-size: .78rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--gold-dark, #B4770F);
  margin-bottom: 6px;
}
.job-title {
  color: var(--indigo);
  font-family: var(--font-display);
  font-size: 1.14rem;
  line-height: 1.25;
  margin: 0 0 10px;
}
.job-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .8rem;
  color: var(--muted, #6B7280);
  margin-bottom: 8px;
}
.job-type { font-weight: 600; color: var(--ink); }
.job-date { font-weight: 400; }
.job-salary {
  font-size: .86rem;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 4px;
}
.job-cta { align-self: flex-start; }
.job-cta .btn { padding: 10px 22px; font-size: .82rem; }
.no-jobs { max-width: 560px; }
.no-jobs h2 { margin-bottom: 14px; }
.no-jobs p { font-size: 1.05rem; color: var(--muted, #6B7280); line-height: 1.65; margin-bottom: 20px; }

@media (max-width: 640px) {
  .jobs-grid { grid-template-columns: 1fr; }
}

/* New brand + photo styles (added 2026-09-02) */
.brand-logo { width: 176px; height: auto; display: block; }
.about-grid .firm-photo { width: auto; max-width: 420px; display: block; margin: 0 auto 20px; border-radius: 14px; object-fit: cover; }
.founder-photo { width: auto; max-width: 520px; display: block; margin: 0 auto 36px; border-radius: 14px; object-fit: cover; }

/* ---- Full-bleed Theme Builder header/footer (2026-09-08) ---- */
.elementor-location-header .elementor-container,
.elementor-location-footer .elementor-container {
  max-width: 100% !important;
  width: 100% !important;
}
.elementor-location-header,
.elementor-location-footer {
  width: 100% !important;
}

/* ============================================================
   RESTORED PAGE CSS  (restored 2026-09-10)
   The 2026-09-08 theme -> Elementor conversion dropped each
   inner page's inline <style> block. These rules restore the
   intended design (hero gradient, content panels/cards) for the
   About / Specialties / Employers / Candidates / Contact pages.
   Scoped variants use the per-page body classes (page-id-X).
   ============================================================ */

/* ---------- Inner-page hero (shared base: About/Specialties/Employers) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--indigo-dark), var(--indigo-deep) 60%, var(--indigo));
  color: #fff;
  /* padding needs !important: Elementor's per-page generated CSS (e.g.
     post-5.css: .elementor-5 .elementor-element.elementor-element-s3a7c2d11)
     has (0,3,0) specificity and otherwise zeroes this padding. */
  padding: 84px 28px 76px !important;
}
.page-hero h1 { color: #fff; font-size: clamp(2rem,4vw,3.2rem); margin-bottom: 18px; }
.page-hero p { color: rgba(255,255,255,.85); font-size: 1.12rem; max-width: 32em; }

/* Candidates (post 8) — different gradient */
.page-id-8 .page-hero { background: linear-gradient(135deg, #2E3A6E, var(--indigo-deep) 60%, var(--indigo-dark)); }

/* Contact (post 9) — tighter padding, tweaked type */
.page-id-9 .page-hero { padding: 84px 28px 60px !important; }
.page-id-9 .page-hero h1 { margin-bottom: 16px; }
.page-id-9 .page-hero p { font-size: 1.1rem; }

/* About (post 5) — wider hero paragraph */
.page-id-5 .page-hero p { max-width: 34em; }

/* ---------- About (post 5) ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: start; }
.about-grid h2 { font-size: 1.5rem; margin-bottom: 16px; }
.about-grid p { color: #5b5b5b; margin-bottom: 14px; }
.family-card { background: linear-gradient(150deg, var(--indigo), var(--indigo-deep)); color: #fff; border-radius: 14px; padding: 38px; }
.family-card h3 { color: #fff; font-size: 1.4rem; margin-bottom: 12px; }
.family-card p { color: rgba(255,255,255,.85); font-size: .98rem; }
.values { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 56px; }
.value { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 28px; }
.value h3 { font-size: 1.1rem; margin-bottom: 10px; }
.value p { color: #5b5b5b; font-size: .93rem; }

/* ---------- Specialties (post 6) ---------- */
.spec-block { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.spec-block + .spec-block { margin-top: 28px; }
.spec-text { padding: 40px 38px; }
.spec-text .num { font-family: var(--font-display); color: var(--gold-dark); letter-spacing: .1em; font-size: .86rem; }
.spec-text h2 { font-size: 1.6rem; margin: 10px 0 12px; }
.spec-text p { color: #5b5b5b; margin-bottom: 14px; }
.spec-text ul { list-style: none; }
.spec-text li { padding-left: 20px; position: relative; margin-bottom: 8px; color: #5b5b5b; }
.spec-text li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }
.spec-band { background: linear-gradient(150deg, var(--indigo), var(--indigo-deep)); color: #fff; display: flex; flex-direction: column; justify-content: center; padding: 40px; }
.spec-band .big { font-family: var(--font-display); text-transform: uppercase; font-size: 1.9rem; line-height: 1.15; color: #fff; margin-bottom: 14px; }
.spec-band p { color: rgba(255,255,255,.82); }

/* ---------- For Employers (post 7) ---------- */
.value-rows { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 56px; }
.value-row { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 28px; }
.value-row h3 { font-size: 1.15rem; margin: 10px 0 8px; }
.value-row p { color: #5b5b5b; font-size: .94rem; }
.check-tile { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 28px; }
.check-tile h3 { font-size: 1.1rem; margin-bottom: 12px; }
.check-tile ul { list-style: none; }
.check-tile li { padding-left: 26px; position: relative; margin-bottom: 10px; color: #5b5b5b; font-size: .95rem; }
.check-tile li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--gold-dark); font-weight: 700; }
.cost-panel { background: var(--indigo-dark); color: #fff; border-radius: 14px; padding: 40px 36px; }
.cost-panel h3 { color: #fff; font-size: 1.4rem; margin-bottom: 12px; }
.cost-panel p { color: rgba(255,255,255,.8); }
.cost-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.cost-box { border: 1px solid rgba(255,255,255,.15); border-radius: 10px; padding: 22px; }
.cost-box .lbl { color: var(--gold-light); font-family: var(--font-display); text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; margin-bottom: 6px; }
.cost-box p { color: rgba(255,255,255,.85); font-size: .92rem; margin-bottom: 0; }

/* ---------- For Candidates (post 8) ---------- */
/* .job-card rules are scoped to the candidates page (.page-id-8) so they cannot
   clobber the separate careers page (/careers/, post 10) which has its own
   `.job-card` rule (line ~280) with padding 24px / display:flex. */
.page-id-8 .job-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 28px; }
.page-id-8 .job-card .badge { display: inline-block; background: var(--ivory); color: var(--indigo); font-family: var(--font-display); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; padding: 4px 10px; border-radius: 6px; margin-bottom: 12px; }
.page-id-8 .job-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.page-id-8 .job-card .loc { color: var(--grey); font-size: .85rem; margin-bottom: 14px; }
.jobs-cta { text-align: center; margin-top: 34px; }
.perks { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.perk { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 28px; }
.perk h3 { font-size: 1.1rem; margin-bottom: 8px; }
.perk p { color: #5b5b5b; font-size: .94rem; }

/* ---------- Contact (post 9) ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; margin-top: -30px; position: relative; z-index: 2; }
.contact-grid > * { min-width: 0; }
.contact-grid .row2 > .field { min-width: 0; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 38px; }
.form-card h2 { font-size: 1.5rem; margin-bottom: 8px; }
.form-card .note { color: #5b5b5b; font-size: .92rem; margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .05em; font-size: .78rem; color: var(--indigo); font-weight: 500; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 8px; font-family: var(--font-body); font-size: .96rem; color: var(--ink); background: var(--surface); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); background: #fff; }
.field textarea { min-height: 110px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .8rem; color: #6b6b6b; }
.consent input { width: 16px; height: 16px; margin-top: 2px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 34px; }
.side-card h3 { font-size: 1.2rem; margin-bottom: 14px; }
.side-card p { color: #5b5b5b; font-size: .95rem; margin-bottom: 8px; }
.side-card .contact-line { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.side-card .contact-line a { color: var(--indigo); font-weight: 500; }

/* ---------- Contact Form 7 (form id=20) — consent + shared field styling ----------
   The form template (id 20) now emits the ORIGINAL structure: <span class="eyebrow">,
   <h2>, <p class="note">, then .field blocks (label + control), an email/phone .row2
   row, a .consent block (one CF7 checkbox + sentence text), then the submit button.
   The theme's .field/.row2/.consent rules above already style the field labels,
   the inputs and the small grey sentence-case consent row — so nothing is restyled
   here. This block only supplies the CF7-surface pieces so the emitted .wpcf7-*
   controls, checkbox row and gold submit share the .field look. It is scoped to
   .page-id-9 so it cannot leak to other pages. Field LABELS are styled only via
   the theme .field label rule — the consent sentence (.wpcf7-list-item-label) must
   stay small grey sentence-case (NOT uppercase Oswald/indigo). The checkbox GROUP
   wrapper (span.wpcf7-checkbox) stays excluded from the input styling. */
.page-id-9 form.wpcf7-form .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-acceptance):not(.wpcf7-checkbox):not(.wpcf7-radio) { width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 8px; font-family: var(--font-body); font-size: .96rem; color: var(--ink); background: var(--surface); }
.page-id-9 form.wpcf7-form .wpcf7-form-control:focus { outline: 2px solid var(--gold); border-color: var(--gold); background: #fff; }
.page-id-9 form.wpcf7-form textarea.wpcf7-form-control { min-height: 110px; resize: vertical; }
.page-id-9 form.wpcf7-form .wpcf7-list-item { display: flex; gap: 10px; align-items: flex-start; font-size: .8rem; color: #6b6b6b; margin: 14px 0; }
.page-id-9 form.wpcf7-form .wpcf7-list-item-label { font-family: var(--font-body); text-transform: none; color: #6b6b6b; font-size: .8rem; font-weight: 400; }
.page-id-9 form.wpcf7-form .wpcf7-form-control.wpcf7-checkbox { display: inline; }
.page-id-9 form.wpcf7-form .wpcf7-checkbox input { width: 16px; height: 16px; margin-top: 2px; }
.page-id-9 form.wpcf7-form .wpcf7-submit { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; font-size: .86rem; padding: 16px 28px; border-radius: var(--r); border: 2px solid transparent; cursor: pointer; background: var(--gold); color: var(--indigo-deep); transition: transform .15s ease, box-shadow .2s ease, background .2s ease; }
.page-id-9 form.wpcf7-form .wpcf7-submit:hover { background: var(--gold-light); color: var(--indigo-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ---------- Contact (post 9) 2-column grid layout ----------
   The Elementor conversion left the Contact Form 7 form widget, the privacy note
   and the side-cards scattered across 5 grid children, with the form drifting to
   the RIGHT column and an empty `.contact-form-placeholder` + stray html wrapper
   occupying grid cells (visitors saw a blank white box top-left, the form
   top-right, the side card bottom-left).
   Fix (scoped strictly to .page-id-9 so no other page is affected):
   - hide the two EMPTY grid items (.contact-form-placeholder, empty widget wd948e161);
   - the CF7 form widget wrapper becomes the LEFT column card (white bg, --line
     border, 14px radius, ~38px padding);
   - the privacy note (the plain div right after wd948e161) sits under the form
     in the LEFT column;
   - the side-cards (the plain div after that) occupy the RIGHT column spanning
     both rows. */
.page-id-9 .contact-grid > .contact-form-placeholder,
.page-id-9 .contact-grid > .elementor-element-wd948e161 { display: none; }

.page-id-9 .contact-grid > .elementor-element-w9ea4a5f3 {   /* CF7 form card */
  grid-column: 1; grid-row: 1;
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 38px;
}
.page-id-9 .contact-grid > .elementor-element-wd948e161 + div {  /* privacy note */
  grid-column: 1; grid-row: 2;
  align-self: start;
}
.page-id-9 .contact-grid > .elementor-element-wd948e161 + div + div {  /* side-cards */
  grid-column: 2; grid-row: 1 / span 2;
  margin: 0;
}

/* ---------- Restored responsive rules ---------- */
@media (max-width: 900px) {
  .about-grid > * { min-width: 0; }            /* let tracks shrink inside the grid */
  .about-grid .firm-photo { max-width: 100%; } /* photo can never exceed its column */
  .about-grid, .values { grid-template-columns: 1fr; }
  .spec-block { grid-template-columns: 1fr; }
  .value-rows, .cost-grid { grid-template-columns: 1fr; }
  .perks { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; margin-top: 30px; }
  /* collapse the Contact grid cells back to a single stacked column */
  .page-id-9 .contact-grid > .elementor-element-w9ea4a5f3,
  .page-id-9 .contact-grid > .elementor-element-wd948e161 + div,
  .page-id-9 .contact-grid > .elementor-element-wd948e161 + div + div {
    grid-column: 1; grid-row: auto;
  }
}

/* 2026-09-15 client photography */
.wp-photo { width: 100%; max-width: 1180px; height: auto; display: block; margin: 0 auto; border-radius: 14px; }
.page-id-6 .spec-photo, .wp-photo { border-radius: 14px; }

/* 2026-09-21 Calendly mobile-overflow guard (post 9 /contact/ inline widget) */
@media (max-width: 480px){ .calendly-inline-widget{ min-width:0 !important; width:100% !important; } }

/* 2026-09-21 mobile: side-card email must wrap, not push the page wider at 320px */
.side-card .contact-line { flex-wrap: wrap; }
.side-card .contact-line a { overflow-wrap: anywhere; min-width: 0; }

/* 2026-09-21 mobile QA: vertical rhythm + tap targets for stacked Employer/Candidate radios on /contact/ */
.page-id-9 .wp-role-selector .wpcf7-list-item { margin: 0 22px 14px 0; }
.page-id-9 .wp-role-selector .wpcf7-list-item:last-child { margin-bottom: 0; }
