/* ============================================================
   THE MERKER GROUP — Shared Styles
   Fonts: Cormorant Garamond (display) + Jost (body)
   Colors: #DA251D (red), #0d0d0d (black), #FAF8F5 (cream)
   ============================================================ */

:root {
  --red: #DA251D;
  --red-dark: #b01a14;
  --red-light: rgba(218,37,29,0.08);
  --black: #0d0d0d;
  --white: #ffffff;
  --cream: #FAF8F5;
  --gray-light: #F5F5F5;
  --gray-mid: #e0e0e0;
  --gray: #9a9a9a;
  --gray-dark: #4a4a4a;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', -apple-system, sans-serif;
  --max-width: 1160px;
  --nav-height: 72px;
  --transition: 200ms ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Navigation ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--gray-mid);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: box-shadow var(--transition);
}
nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px 0 20px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo { display: flex; flex-direction: column; }
.nav-logo-name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.3px;
  line-height: 1;
}
.nav-logo-name span { color: var(--red); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-dark);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--red); }

/* Nav CTA — text-link items use the rule above, but the Submit Resume
   item is a button: tight padding, black fill, sits in-row with the
   text links. Overrides the text-link hover/active rules above by
   specifying its own background/color so it doesn't pick up the red
   text color on hover. */
.nav-links a.nav-cta {
  background: var(--black);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 2px;
  transition: background var(--transition);
}
.nav-links a.nav-cta:hover,
.nav-links a.nav-cta.active { background: #333; color: var(--white); }

/* ── Mobile menu button ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: all var(--transition);
}

/* ── Page wrapper ── */
.page-content { padding-top: var(--nav-height); }

/* ── Page hero (inner pages) ── */
.page-hero {
  background: var(--black);
  padding: 50px 40px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, var(--red) 0, var(--red) 1px, transparent 0, transparent 50%);
  background-size: 20px 20px;
  opacity: 0.03;
}
.page-hero::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--red);
}
.page-hero-inner { max-width: var(--max-width); margin: 0 auto; position: relative; }
.page-hero-eyebrow {
  /* 2026-05-19 content refresh: enlarged the page-name kicker (was 11px)
     so the page title ("WHO WE ARE", "CONTACT US", "ACTIVE LEGAL JOB
     SEARCHES", etc.) reads as a prominent heading in the black hero
     band. Shared class → applies consistently across every page hero. */
  font-size: 16px;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.5px;
  max-width: 700px;
}
.page-hero-title em { font-style: italic; color: var(--red); }
.page-hero-sub {
  font-size: 16px;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  margin-top: 20px;
  max-width: 560px;
  line-height: 1.7;
}

/* ── Sections ── */
section { padding: 90px 40px; }
.container { max-width: var(--max-width); margin: 0 auto; }

.section-eyebrow {
  /* 2026-05-19 content refresh: bumped from 11px so section headers
     ("Direct Contacts", "About Merker Group", etc.) read larger.
     Shared class → consistent across all section labels site-wide. */
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-divider {
  width: 48px; height: 3px;
  background: var(--red);
  margin-bottom: 28px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 600;
  color: var(--black);
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}
.section-title em { font-style: italic; color: var(--red); }
.section-body {
  font-size: 16px;
  font-weight: 400;
  color: var(--gray-dark);
  line-height: 1.8;
  max-width: 640px;
}

/* ── Two column ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: var(--white);
  padding: 13px 30px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  border-radius: 2px;
  text-decoration: none;
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); }

.btn-black {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--black);
  color: var(--white);
  padding: 13px 30px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  border-radius: 2px;
  text-decoration: none;
}
.btn-black:hover { background: #333; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  padding: 13px 30px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all var(--transition);
  border-radius: 2px;
  text-decoration: none;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.05); }

/* ── Forms ── */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-dark);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 7px;
}
.form-input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--gray-mid);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--black);
  transition: border-color var(--transition);
  border-radius: 2px;
}
.form-input:focus { outline: none; border-color: var(--red); }
.form-input::placeholder { color: var(--gray); }
textarea.form-input { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-submit {
  width: 100%;
  background: var(--red);
  color: var(--white);
  padding: 14px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
  margin-top: 6px;
  border-radius: 2px;
}
.form-submit:hover { background: var(--red-dark); }

/* Per-button color modifier — opt-in black variant for specific
   .form-submit instances (applications.html "Submit Application",
   contact.html "Send Message", legal-jobs modal "Apply for This
   Position"). Modifier is color-only; width, padding, type, and
   animations all inherit from .form-submit. */
.form-submit.form-submit--black {
  background: var(--black);
}
.form-submit.form-submit--black:hover { background: #333; }
.form-success {
  display: none;
  padding: 16px;
  background: #D1FAE5;
  border: 1px solid #A7F3D0;
  color: #065F46;
  font-size: 14px;
  text-align: center;
  border-radius: 2px;
  margin-top: 14px;
}

/* ── Conditional form sections (contact.html) ──
   The person_type <select> change handler adds .is-visible to reveal one
   section. Hidden by default. The top border + margin set the revealed
   block off as a secondary tier below the core fields. required on the
   firm inputs is toggled in JS so a hidden section can't block submit. */
.form-conditional { display: none; }
.form-conditional.is-visible {
  display: block;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-mid);
}

/* Multi-select checkbox grid (Practice Areas / Industries). 3-up on
   desktop; collapses to 2-up at the 900px breakpoint and 1-up on narrow
   phones (overrides in the @media blocks below). */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 16px;
}
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 400;
  color: var(--gray-dark);
  line-height: 1.3;
  cursor: pointer;
}
.checkbox-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--red);
  cursor: pointer;
}

/* ── CTA section ── */
.cta-section {
  background: var(--black);
  padding: 90px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(218,37,29,0.1) 0%, transparent 70%);
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  position: relative;
}
.cta-title em { font-style: italic; color: var(--red); }
.cta-body {
  font-size: 16px;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  max-width: 460px;
  margin: 0 auto 36px;
  line-height: 1.7;
  position: relative;
}
.cta-buttons { display: flex; gap: 14px; justify-content: center; position: relative; flex-wrap: wrap; }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 0; margin-top: 48px; }
.faq-item {
  border-bottom: 1px solid var(--gray-mid);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--black);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--red); }
.faq-icon {
  font-size: 24px;
  color: var(--red);
  flex-shrink: 0;
  transition: transform var(--transition);
  font-style: normal;
  font-family: var(--font-body);
  font-weight: 400;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer-inner {
  padding: 0 0 24px;
  /* 16px to match .section-body (who-we-are.html main content). */
  font-size: 16px;
  font-weight: 400;
  color: var(--gray-dark);
  line-height: 1.8;
  max-width: 720px;
}

/* ── Feature cards ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--gray-mid);
  margin-top: 56px;
}
.feature-card {
  background: var(--white);
  padding: 44px 38px;
  transition: background var(--transition);
}
.feature-card:hover { background: var(--cream); }
.feature-number {
  font-family: var(--font-display);
  font-size: 60px;
  font-weight: 600;
  color: var(--gray-mid);
  line-height: 1;
  margin-bottom: 20px;
}
.feature-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 10px;
}
.feature-body {
  font-size: 14px;
  font-weight: 400;
  color: var(--gray-dark);
  line-height: 1.7;
}

/* ── Stats bar ── */
.stats-bar { background: var(--black); padding: 56px 40px; }
.stats-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 20px 36px;
  border-right: 1px solid rgba(255,255,255,0.07);
  text-align: center;
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 600;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-number span { color: var(--red); }
.stat-label {
  font-size: 11px;
  font-weight: 400;
  color: var(--gray);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ── Job card ── */
.jobs-list { display: flex; flex-direction: column; gap: 2px; }
.job-card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  padding: 28px 36px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  transition: all var(--transition);
  position: relative;
  cursor: pointer;
}
.job-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--red);
  transform: scaleY(0);
  transition: transform var(--transition);
}
.job-card:hover { border-color: var(--black); transform: translateX(3px); }
.job-card:hover::before { transform: scaleY(1); }
.job-title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 8px;
}
.job-meta { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.job-meta-item {
  font-size: 13px;
  font-weight: 400;
  color: var(--gray);
}
.job-meta-sep { color: var(--gray-mid); font-size: 12px; }
.job-badge {
  display: inline-block;
  padding: 3px 10px;
  /* All job-card badges (practice area, location, experience, posting type)
     share ONE plain, readable treatment: black text on light gray — no red
     background/border/highlight anywhere. */
  background: var(--gray-light);
  color: var(--black);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 2px;
}
/* .job-badge-location is kept as an alias on the location badge in the
   markup; it now matches the base .job-badge exactly (gray/black), so no
   separate declarations are needed. */
.job-apply-btn {
  background: var(--black);
  color: var(--white);
  padding: 11px 24px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
  border-radius: 2px;
}
.job-apply-btn:hover { background: #333; }

/* ── Full job card (legal-jobs.html listing view) ──
   Moved out of legal-jobs.html inline <style> so the mobile
   overrides in the @media block below can win the cascade. */
.job-card-full {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  padding: 32px 36px;
  transition: all var(--transition);
  position: relative;
  cursor: pointer;
  margin-bottom: 2px;
}
.job-card-full::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--red);
  transform: scaleY(0);
  transition: transform var(--transition);
}
.job-card-full:hover { border-color: var(--black); transform: translateX(3px); }
.job-card-full:hover::before { transform: scaleY(1); }
.job-card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 14px; }
.job-card-body { font-size: 14px; font-weight: 400; color: var(--gray-dark); line-height: 1.7; margin-bottom: 20px; }
.job-card-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.job-tags { display: flex; gap: 8px; flex-wrap: wrap; }


/* ── General-interest CTA (legal-jobs.html bottom section) ── */
.jobs-general-cta {
  margin-top: 48px;
  padding: 44px;
  background: var(--cream);
  border-left: 4px solid var(--red);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

/* ── Team card ── */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 56px;
}
.team-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  padding: 36px;
  background: var(--cream);
  border-left: 4px solid var(--red);
}
.team-photo {
  width: 160px;
  height: 200px;
  object-fit: cover;
  /* Source images are landscape 1000×773; bias slightly above center
     to frame faces correctly inside the portrait box. */
  object-position: 50% 20%;
  cursor: zoom-in;
  transition: transform 200ms ease;
}
.team-photo:hover { transform: scale(1.02); }

/* Image lightbox — opened by clicking .team-photo or .lightboxable */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  padding: 40px;
}
.lightbox-overlay.is-open { display: flex; }
.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
}
.lightboxable {
  cursor: zoom-in;
  transition: transform 200ms ease;
}
.lightboxable:hover { transform: scale(1.02); }
.team-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 4px;
}
.team-role {
  font-size: 11px;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.team-bio {
  font-size: 14px;
  font-weight: 400;
  color: var(--gray-dark);
  line-height: 1.7;
}
.team-email {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--red);
  border-bottom: 1px solid var(--red);
  padding-bottom: 2px;
}

/* ── Comparison ── */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--gray-mid);
  margin-top: 56px;
}
.comparison-col { background: var(--white); padding: 48px; }
.comparison-col.dark { background: var(--black); }
.comparison-header {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--gray-mid);
}
.comparison-col.dark .comparison-header { color: var(--white); border-bottom-color: var(--red); }
.comparison-item { display: flex; gap: 14px; margin-bottom: 18px; align-items: flex-start; }
.ci-icon {
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; flex-shrink: 0; margin-top: 2px;
}
.ci-icon.bad { background: #FEE2E2; color: #991B1B; }
.ci-icon.good { background: var(--red); color: var(--white); }
.ci-text { font-size: 14px; font-weight: 400; color: var(--gray-dark); line-height: 1.6; }
.comparison-col.dark .ci-text { color: rgba(255,255,255,0.65); }

/* ── Process steps ── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 60px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 27px; left: 10%; right: 10%;
  height: 1px;
  background: var(--gray-mid);
}
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
}
.process-dot {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gray-mid);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 20px; font-weight: 600;
  color: var(--red);
  margin-bottom: 18px;
  position: relative; z-index: 1;
  transition: all var(--transition);
}
.process-step:hover .process-dot { background: var(--red); color: var(--white); border-color: var(--red); }
.process-step-title { font-family: var(--font-display); font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.process-step-body { font-size: 13px; font-weight: 400; color: var(--gray); line-height: 1.6; }

/* ── Highlight box ── */
.highlight-box {
  border-left: 4px solid var(--red);
  padding: 24px 28px;
  background: var(--cream);
  margin: 28px 0;
}
.highlight-box p {
  font-family: var(--font-display);
  font-size: 20px;
  font-style: italic;
  color: var(--black);
  line-height: 1.5;
}

/* ── Badge chips ── */
.badge-chip {
  display: inline-block;
  padding: 5px 14px;
  background: var(--red-light);
  color: var(--red);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 2px;
  margin: 4px;
}

/* ── Bullet list ── */
.bullet-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.bullet-list li {
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 15px; font-weight: 400; color: var(--gray-dark); line-height: 1.6;
}
.bullet-list li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
  margin-top: 9px;
}

/* ── Footer ── */
footer { background: #080808; padding: 60px 40px 28px; }
.footer-inner { max-width: var(--max-width); margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 44px;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-brand span { color: var(--red); }
/* Footer contrast bump (2026-05-19) — was rendering body + link text at
   0.2–0.4 alpha on the #080808 background, which fails WCAG AA on
   bright displays and was hard to read. All readable text now uses
   #f0f0f0 (near-white) for ~19:1 contrast; column titles use pure
   white as a secondary hierarchy cue (small uppercase needs the
   strongest contrast). Visual hierarchy now comes from font-size and
   font-weight, not from alpha-mute. Link hover lands on --red so the
   accent is consistent with the rest of the site. */
.footer-tagline { font-size: 13px; font-weight: 400; color: #f0f0f0; line-height: 1.7; margin-bottom: 20px; }
.footer-contact-line { font-size: 13px; color: #f0f0f0; line-height: 1.9; }
.footer-contact-line a { color: #f0f0f0; transition: color var(--transition); }
.footer-contact-line a:hover { color: var(--red); }
.footer-col-title { font-size: 10px; font-weight: 600; color: #ffffff; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 18px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13px; font-weight: 400; color: #f0f0f0; transition: color var(--transition); }
.footer-links a:hover { color: var(--red); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy { font-size: 11px; color: #f0f0f0; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 11px; color: #f0f0f0; transition: color var(--transition); }
.footer-legal a:hover { color: var(--red); }

/* ── LinkedIn "follow" link — shared across footer + the two
   page-bottom placements (legal-jobs, applications). Inherits the
   parent's text color via currentColor on the SVG so it works on
   both the dark footer and on light page sections without per-
   context tweaks. */
.linkedin-follow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 400;
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}
.linkedin-follow:hover { color: var(--red); }
.linkedin-follow svg {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ── Responsive ── */
/* Mobile-only line break inside the "Not ready to apply? Talk with
   Kevin and Danielle first ↓" link. Hidden on desktop so the link
   reads as one line; rendered on mobile so it breaks after "Talk with"
   to avoid cramped wrapping. Used on both the legal-jobs.html detail
   modal and the applications.html in-page link. */
.talk-link-mobile-break { display: none; }

@media (max-width: 900px) {
  .talk-link-mobile-break { display: inline; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .two-col.reverse { direction: ltr; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  /* Shrink padding + number font-size so the 2x2 grid content
     doesn't overflow the narrower viewport. The desktop 48px
     number font + 36px horizontal padding combined is wider
     than half a phone viewport. */
  .stats-bar { padding: 48px 22px; }
  .stat-item { padding: 18px 12px; }
  .stat-number { font-size: 32px; }
  .team-grid { grid-template-columns: 1fr; }
  .comparison-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .process-steps::before { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  section { padding: 60px 24px; }
  .page-hero { padding: 38px 24px; }

  /* Contact form checkbox grids: 3-up → 2-up on tablet/phone. */
  .checkbox-grid { grid-template-columns: 1fr 1fr; }

  /* Homepage + for-attorneys preview job cards: stack info + button */
  .job-card {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px 22px;
  }
  .job-card .job-apply-btn { width: 100%; text-align: center; }

  /* legal-jobs.html full list cards: header flexbox collapses to stack */
  .job-card-full { padding: 24px 22px; }
  .job-card-header {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .job-card-full .job-apply-btn { width: 100%; text-align: center; }

  /* Team cards (who-we-are.html): photo above text, both full width */
  .team-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 28px 22px;
  }
  .team-card .team-photo {
    width: 100%;
    height: 240px;
    margin: 0 auto;
  }
  .team-email { align-self: center; }

  /* legal-jobs.html "Don't see the right fit" CTA: stack + center */
  .jobs-general-cta {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 32px 22px;
  }
  .jobs-general-cta button { width: 100%; }

  /* Homepage hero buttons: stack vertically, full width */
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn-primary,
  .hero-buttons .btn-outline {
    width: 100%;
    text-align: center;
  }
}

/* Contact form checkbox grids: 2-up → 1-up on narrow phones. */
@media (max-width: 480px) {
  .checkbox-grid { grid-template-columns: 1fr; }
}

/* ── Shared nav JS helpers ── */
.nav-mobile-open .nav-links {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: var(--white);
  padding: 24px 40px;
  border-bottom: 1px solid var(--gray-mid);
  gap: 20px;
  z-index: 999;
}
