/* ============================================================
   PLAINTIFF·PARTNERS — shared stylesheet
   Modern ink + oxblood · alternating dark/light sections
   ============================================================ */

:root {
  --navy-900: #131519;
  --navy-800: #191c22;
  --navy-700: #23262f;
  --navy-600: #2b2f3a;
  --gold: #b24a3e;
  --gold-light: #cf7a5f;
  --gold-deep: #7c2b37;
  --cream: #f1eee7;
  --ivory: #f8f6f1;
  --ink: #1a1a1e;
  --muted-on-light: #5f5a54;
  --muted-on-dark: #a9adb6;
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
  --shadow-card: 0 10px 30px rgba(19, 21, 25, 0.12);
  --shadow-card-hover: 0 18px 44px rgba(19, 21, 25, 0.22);
  --radius: 10px;
  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- typography ---------- */
h1, h2, h3, .display { font-family: var(--font-display); font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.3rem; }

.gold-gradient {
  background: linear-gradient(100deg, var(--gold-deep) 0%, var(--gold-light) 35%, #e6a488 50%, var(--gold-light) 65%, var(--gold-deep) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold-light); /* fallback */
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-sub { max-width: 640px; font-size: 1.05rem; }

/* ---------- gold divider ---------- */
.gold-rule {
  width: 72px; height: 3px; border: 0; margin: 22px 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}
.in .gold-rule, .gold-rule.in { transform: scaleX(1); }
.gold-rule.center { margin-left: auto; margin-right: auto; transform-origin: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn-gold {
  background: linear-gradient(120deg, var(--gold-deep), var(--gold) 45%, var(--gold-light));
  color: var(--navy-900);
  box-shadow: 0 8px 24px rgba(178, 74, 62, 0.35);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(178, 74, 62, 0.5); }
.btn-outline-light { border-color: rgba(250, 247, 240, 0.5); color: var(--ivory); }
.btn-outline-light:hover { border-color: var(--gold-light); color: var(--gold-light); transform: translateY(-3px); }
.btn-outline-dark { border-color: var(--navy-700); color: var(--navy-700); }
.btn-outline-dark:hover { background: var(--navy-700); color: var(--ivory); transform: translateY(-3px); }
.btn-block { display: block; width: 100%; text-align: center; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 0;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}
.nav.solid {
  background: rgba(19, 21, 25, 0.96);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  padding: 12px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; color: var(--ivory); letter-spacing: 0.04em; }
.logo .dot { color: var(--gold-light); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  color: rgba(250, 247, 240, 0.85);
  font-size: 0.92rem; font-weight: 500;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a:hover, .nav-links a.active { color: var(--gold-light); }
.nav-cta { padding: 11px 22px !important; }
.nav-cta::after { display: none; }

.hamburger {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 34px; height: 26px; position: relative; z-index: 110;
}
.hamburger span {
  display: block; height: 3px; width: 100%; border-radius: 2px;
  background: var(--ivory); margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center;
  color: var(--ivory);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: -12% 0;
  background-size: cover; background-position: center;
  will-change: transform;
  z-index: 0;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(19, 21, 25, 0.94) 0%, rgba(26, 29, 36, 0.82) 45%, rgba(26, 29, 36, 0.55) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 720px; padding: 140px 0 90px; }
.hero p.lead { font-size: 1.15rem; color: var(--muted-on-dark); margin: 22px 0 34px; max-width: 560px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-trust { margin-top: 44px; display: flex; gap: 34px; flex-wrap: wrap; font-size: 0.85rem; color: var(--muted-on-dark); }
.hero-trust strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-light); }

/* staged hero entrance */
.hero-stage { opacity: 0; transform: translateY(26px); animation: heroIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.hero-stage.d1 { animation-delay: 0.15s; }
.hero-stage.d2 { animation-delay: 0.35s; }
.hero-stage.d3 { animation-delay: 0.55s; }
.hero-stage.d4 { animation-delay: 0.75s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* page hero (inner pages) */
.page-hero { min-height: 62vh; }
.page-hero .hero-content { padding: 150px 0 70px; }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section-dark { background: linear-gradient(160deg, var(--navy-900), var(--navy-800) 55%, var(--navy-700)); color: var(--ivory); }
.section-dark .section-sub { color: var(--muted-on-dark); }
.section-light { background: var(--cream); }
.section-light .section-sub { color: var(--muted-on-light); }
.section-ivory { background: var(--ivory); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head .section-sub { margin: 0 auto; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(34px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.55s; }

/* ---------- stats ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; }
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  color: var(--gold-light);
}
.stat span { font-size: 0.9rem; color: var(--muted-on-dark); letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: var(--ivory);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
  position: relative;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-card-hover); }
.card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.card:hover::after { transform: scaleX(1); }
.card-img { height: 210px; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.card:hover .card-img img { transform: scale(1.07); }
.card-body { padding: 26px; }
.card-body h3 { margin-bottom: 10px; color: var(--navy-800); }
.card-body p { font-size: 0.95rem; color: var(--muted-on-light); }
.card-links { margin-top: 18px; display: flex; gap: 18px; font-size: 0.88rem; font-weight: 700; }
.card-links a { color: var(--gold-deep); position: relative; }
.card-links a:hover { color: var(--navy-700); }
.card-tag {
  display: inline-block; margin-bottom: 12px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-deep);
  background: rgba(178, 74, 62, 0.14);
  padding: 4px 10px; border-radius: 20px;
}

/* proof cards (light, no image) */
.proof-card { padding: 34px 28px; }
.proof-card .num { font-family: var(--font-display); font-size: 2.4rem; color: var(--gold-deep); }

/* ---------- accident expertise strip ---------- */
.accident-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; min-height: 460px; }
.accident-panel {
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
  padding: 34px 24px;
  color: var(--ivory);
  min-height: 340px;
  background-size: cover; background-position: center;
  transition: flex-grow 0.5s ease;
}
.accident-panel::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(19, 21, 25, 0.25) 0%, rgba(19, 21, 25, 0.88) 88%);
  transition: background 0.4s ease;
}
.accident-panel:hover::before {
  background: linear-gradient(180deg, rgba(19, 21, 25, 0.05) 0%, rgba(19, 21, 25, 0.92) 92%);
}
.accident-panel > div { position: relative; z-index: 1; }
.accident-panel h3 { font-size: 1.15rem; margin-bottom: 6px; color: var(--gold-light); }
.accident-panel p { font-size: 0.83rem; color: var(--muted-on-dark); opacity: 0; transform: translateY(10px); transition: opacity 0.35s ease, transform 0.35s ease; }
.accident-panel:hover p { opacity: 1; transform: none; }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; counter-reset: step; }
.step {
  position: relative; padding: 36px 30px;
  background: var(--ivory); border-radius: var(--radius); box-shadow: var(--shadow-card);
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-size: 3rem; font-weight: 700;
  background: linear-gradient(120deg, var(--gold-deep), var(--gold-light));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  display: block; margin-bottom: 12px;
}
.step h3 { color: var(--navy-800); margin-bottom: 10px; }
.step p { font-size: 0.95rem; color: var(--muted-on-light); }

/* ---------- testimonials ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.quote {
  background: var(--ivory); border-radius: var(--radius); box-shadow: var(--shadow-card);
  padding: 32px 28px; position: relative;
}
.quote::before {
  content: "\201C";
  font-family: var(--font-display); font-size: 4.4rem; line-height: 1;
  color: var(--gold); opacity: 0.55;
  display: block; margin-bottom: -18px;
}
.quote p { font-style: italic; color: var(--muted-on-light); font-size: 0.97rem; }
.quote footer { margin-top: 18px; font-weight: 700; color: var(--navy-800); font-size: 0.9rem; }
.quote footer span { display: block; font-weight: 500; color: var(--gold-deep); font-size: 0.8rem; }

/* ---------- contingent ribbon ---------- */
.ribbon {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  color: var(--ivory);
  text-align: center;
  padding: 46px 0;
  border-top: 1px solid rgba(178, 74, 62, 0.22);
  border-bottom: 1px solid rgba(178, 74, 62, 0.22);
}
.ribbon .lead-line {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.25;
  max-width: 860px;
  margin: 0 auto 10px;
}
.ribbon p { color: var(--muted-on-dark); max-width: 620px; margin: 0 auto; font-size: 0.98rem; }

/* ---------- two-up feature (plaintiff / defense) ---------- */
.duo { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.duo-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  min-height: 300px;
  display: flex; align-items: flex-end;
  padding: 34px;
  color: var(--ivory);
  background-size: cover; background-position: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.duo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.duo-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,20,38,0.35) 0%, rgba(8,20,38,0.9) 90%);
}
.duo-card > div { position: relative; z-index: 1; }
.duo-card h3 { color: var(--gold-light); font-size: 1.35rem; margin-bottom: 8px; }
.duo-card p { color: var(--muted-on-dark); font-size: 0.95rem; }
@media (max-width: 780px) { .duo { grid-template-columns: 1fr; } }

/* ---------- case timeline ---------- */
.timeline { position: relative; max-width: 900px; margin: 0 auto; }
.tl-legend { display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; margin: 0 auto 40px; font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; }
.tl-legend span { display: inline-flex; align-items: center; gap: 8px; color: var(--muted-on-dark); }
.tl-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.tl-legend .k-firm { background: rgba(255, 255, 255, 0.5); }
.tl-legend .k-rpi { background: linear-gradient(120deg, var(--gold-deep), var(--gold-light)); }

.tl-track {
  position: absolute; left: 50%; top: 8px; bottom: 8px; width: 3px;
  transform: translateX(-50%);
  background: rgba(178, 74, 62, 0.18);
  border-radius: 3px;
}
.tl-fill {
  position: absolute; left: 50%; top: 8px; width: 3px;
  transform: translateX(-50%);
  height: var(--tl-progress, 0%);
  background: linear-gradient(180deg, var(--gold), var(--gold-light));
  border-radius: 3px;
  box-shadow: 0 0 14px rgba(178, 74, 62, 0.5);
  transition: height 0.15s linear;
}

.tl-row { position: relative; display: grid; grid-template-columns: 1fr 54px 1fr; align-items: center; margin-bottom: 16px; }
.tl-node {
  grid-column: 2; justify-self: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--navy-700); color: var(--muted-on-dark);
  border: 2px solid rgba(178, 74, 62, 0.4);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  z-index: 2; transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}
.tl-row.lit .tl-node {
  background: linear-gradient(120deg, var(--gold-deep), var(--gold-light));
  color: var(--navy-900); border-color: var(--gold-light);
  box-shadow: 0 0 0 6px rgba(178, 74, 62, 0.16); transform: scale(1.08);
}
.tl-card {
  padding: 18px 20px; border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.tl-row .tl-firm { grid-column: 1; text-align: right; border-right: 2px solid rgba(255, 255, 255, 0.28); }
.tl-row .tl-rpi { grid-column: 3; text-align: left; background: rgba(178, 74, 62, 0.08); border-left: 2px solid rgba(178, 74, 62, 0.5); }
.tl-card h3 { font-size: 1.08rem; color: var(--ivory); margin-bottom: 5px; }
.tl-card .stage-note { font-size: 0.72rem; font-weight: 500; color: var(--muted-on-dark); font-family: var(--font-body); }
.tl-card p { font-size: 0.86rem; color: var(--muted-on-dark); margin: 0; }
.tl-card .who { font-size: 0.9rem; font-weight: 700; color: var(--gold-light); }
.tl-card .who small { display: block; font-weight: 500; color: var(--muted-on-dark); font-size: 0.76rem; margin-top: 3px; letter-spacing: 0.04em; }

/* reveal from the side each card sits on */
.tl-firm.reveal { transform: translateX(-30px); }
.tl-rpi.reveal { transform: translateX(30px); }
.tl-firm.reveal.in, .tl-rpi.reveal.in { transform: none; }

.tl-tagline { text-align: center; max-width: 680px; margin: 50px auto 0; }
.tl-tagline p { font-family: var(--font-display); font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.3; color: var(--ivory); }

@media (max-width: 760px) {
  .tl-track, .tl-fill { left: 19px; }
  .tl-row { grid-template-columns: 38px 1fr; column-gap: 16px; margin-bottom: 14px; }
  .tl-node { grid-column: 1; }
  .tl-row .tl-firm, .tl-row .tl-rpi { grid-column: 2; text-align: left; border-right: 0; border-left: 2px solid rgba(178, 74, 62, 0.5); }
  .tl-firm.reveal, .tl-rpi.reveal { transform: translateX(24px); }
  .tl-firm.reveal.in, .tl-rpi.reveal.in { transform: none; }
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; padding: 110px 0; text-align: center; color: var(--ivory);
  background-size: cover; background-position: center;
}
.cta-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(19, 21, 25, 0.95), rgba(35, 38, 47, 0.88)); }
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { max-width: 780px; margin: 0 auto 18px; }
.cta-band p { color: var(--muted-on-dark); max-width: 560px; margin: 0 auto 36px; }

/* ---------- split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card-hover); position: relative; }
.split-img img { width: 100%; height: 460px; object-fit: cover; }
.split-img::after {
  content: ""; position: absolute; inset: 0;
  border: 1px solid rgba(178, 74, 62, 0.4); border-radius: var(--radius);
  margin: 14px; pointer-events: none;
}
.check-list li { display: flex; gap: 14px; margin-bottom: 16px; font-size: 0.98rem; }
.check-list li::before {
  content: "\2713"; flex: 0 0 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; font-size: 0.8rem; font-weight: 700;
  background: linear-gradient(120deg, var(--gold-deep), var(--gold-light));
  color: var(--navy-900);
}
.section-dark .check-list li { color: var(--muted-on-dark); }
.section-light .check-list li, .section-ivory .check-list li { color: var(--muted-on-light); }

/* ---------- forms ---------- */
.form-wrap {
  background: var(--ivory); border-radius: var(--radius); box-shadow: var(--shadow-card-hover);
  padding: 44px; max-width: 680px; margin: 0 auto;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 20px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.84rem; font-weight: 700; color: var(--navy-800); letter-spacing: 0.03em; }
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--font-body); font-size: 0.95rem;
  padding: 13px 15px;
  border: 1.5px solid #dcd6c8; border-radius: 6px;
  background: var(--cream); color: var(--ink);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(178, 74, 62, 0.18);
}
.form-field .error-msg { font-size: 0.78rem; color: #b3261e; display: none; }
.form-field.invalid input, .form-field.invalid select, .form-field.invalid textarea { border-color: #b3261e; }
.form-field.invalid .error-msg { display: block; }
.form-success {
  display: none; text-align: center; padding: 30px 10px;
}
.form-success.show { display: block; }
.form-success h3 { color: var(--navy-800); margin-bottom: 8px; }
.form-success p { color: var(--muted-on-light); font-size: 0.95rem; }
.hp { position: absolute; left: -9999px; opacity: 0; } /* honeypot */

/* ---------- contact info row ---------- */
.contact-direct { display: flex; gap: 44px; flex-wrap: wrap; justify-content: center; margin-top: 44px; }
.contact-direct a { display: flex; flex-direction: column; align-items: center; gap: 4px; font-weight: 700; color: var(--gold-light); }
.contact-direct a small { font-weight: 500; color: var(--muted-on-dark); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.72rem; }
.contact-direct a:hover { color: var(--ivory); }

/* ---------- footer ---------- */
footer.site-footer {
  background: var(--navy-900); color: var(--muted-on-dark);
  padding: 64px 0 30px; font-size: 0.9rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 44px; }
.footer-grid h4 { color: var(--gold-light); font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid a { display: block; margin-bottom: 9px; color: var(--muted-on-dark); }
.footer-grid a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(178, 74, 62, 0.18); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.8rem; }

/* ---------- roles page grid ---------- */
.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.salary { font-size: 0.85rem; font-weight: 700; color: var(--navy-700); margin-top: 12px; }
.salary span { color: var(--gold-deep); }

/* ---------- reduced motion / no-js ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-stagger > *, .hero-stage { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .gold-rule { transform: scaleX(1); }
  .gold-gradient { animation: none; }
}
.no-js .reveal, .no-js .reveal-stagger > *, .no-js .hero-stage { opacity: 1; transform: none; animation: none; }
.no-js .gold-rule { transform: scaleX(1); }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .card-grid, .role-grid, .quote-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .accident-strip { grid-template-columns: repeat(2, 1fr); }
  .accident-panel p { opacity: 1; transform: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .section { padding: 68px 0; }
  .card-grid, .role-grid, .quote-grid, .steps, .form-grid { grid-template-columns: 1fr; }
  .accident-strip { grid-template-columns: 1fr; }
  .hero-content { padding-top: 120px; }
  .form-wrap { padding: 30px 22px; }
  .nav-links {
    position: fixed; inset: 0;
    background: rgba(19, 21, 25, 0.98);
    flex-direction: column; justify-content: center;
    gap: 26px; font-size: 1.15rem;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; }
  .hamburger { display: block; }
}


/* ---------- video hero + scroll progress (blue & gold) ---------- */
.hero { isolation: isolate; }
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  opacity: 0; transition: opacity 1.1s ease;
}
.hero-video.ready { opacity: 1; }
.no-js .hero-video { opacity: 1; }
.hero-desat { display: none; }               /* B&W desaturation layer disabled */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 200; transition: width 0.1s linear;
}
@media (prefers-reduced-motion: reduce) { .hero-video { opacity: 1; } }


/* ---------- stacked wordmark logo (concept 2) ---------- */
.logo-stack { display: inline-flex; flex-direction: column; align-items: stretch; line-height: 1; }
.logo-stack .l1, .logo-stack .l2 { font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; letter-spacing: 0.2em; }
.logo-stack .l1 { color: var(--ivory); }
.logo-stack .l2 { color: var(--gold-light); }
.logo-stack .l2rule { width: 100%; height: 2px; background: var(--gold-deep); margin: 3px 0; }


/* ---------- two-column blocks (compassion points, contact boxes) ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }
.contact-box { background: var(--ivory); border: 1px solid rgba(0,0,0,0.06); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-card); }
.contact-box h3 { color: var(--ink); font-size: 1.5rem; margin: 6px 0 8px; }
.contact-box > p { color: var(--muted-on-light); font-size: 0.95rem; margin-bottom: 18px; }
.contact-box > p a { color: var(--gold-deep); font-weight: 700; text-decoration: underline; }
.contact-box .cb-form { position: relative; }
.contact-box .form-grid { grid-template-columns: 1fr; gap: 14px; }
.contact-box .form-field { margin-bottom: 14px; }
.contact-box.dark { background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); border-color: rgba(255,255,255,0.08); }
.contact-box.dark h3 { color: var(--ivory); }
.contact-box.dark > p { color: var(--muted-on-dark); }
.contact-box.dark > p a { color: var(--gold-light); }
.contact-box.dark .form-field label { color: var(--ivory); }
.contact-box.dark .form-field input, .contact-box.dark .form-field textarea, .contact-box.dark .form-field select {
  background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.18); color: var(--ivory); }
.contact-box.dark .form-field input::placeholder, .contact-box.dark .form-field textarea::placeholder { color: rgba(255,255,255,0.4); }
.contact-box.dark .form-field input:focus, .contact-box.dark .form-field textarea:focus {
  border-color: var(--gold-light); box-shadow: 0 0 0 3px rgba(207,122,95,0.25); background: rgba(255,255,255,0.09); }
.contact-box.dark .form-success h3 { color: var(--ivory); }
.contact-box.dark .form-success p { color: var(--muted-on-dark); }

/* centre a lone trailing role card (13th of a 3-col grid) */
@media (min-width: 1021px) { .role-grid > .card:last-child:nth-child(3n - 2) { grid-column: 2; } }


/* even form spacing */
.form-field { margin-bottom: 0; }
.contact-box .form-field { margin-bottom: 0; }
.form-grid { gap: 20px; }
.contact-box .form-grid { gap: 16px; }

/* mobile hardening */
@media (max-width: 700px) {
  .hero-trust { gap: 20px 26px; }
  .contact-direct { gap: 22px 30px; }
  .form-wrap { padding: 26px 20px; }
  .contact-box { padding: 26px 22px; }
  h1 { font-size: clamp(2rem, 8vw, 2.6rem); }
  .hero-content { padding-top: 116px; }
  .tl-tagline p, .ribbon .lead-line { font-size: 1.3rem; }
}
@media (max-width: 420px) {
  .hero-ctas .btn, .hero-ctas { width: 100%; }
  .hero-ctas .btn { text-align: center; }
}


/* prevent form grid overflow (long select options were widening a column) */
.form-field { min-width: 0; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-width: 0; max-width: 100%; }
