/* Mitchell Law Group — Design System
   Ink #111111 / Paper #FFFFFF / Signal Red #C81E1E / Hairline #E3E3E0
   Display: Source Serif 4 · Body: Inter · Utility/labels: IBM Plex Mono
*/

:root {
  --ink: #111111;
  --paper: #ffffff;
  --paper-off: #fafaf8;
  --red: #c81e1e;
  --red-dark: #9c1717;
  --hairline: #e3e3e0;
  --grey: #6b6b68;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --heavy: "Arial Black", Impact, "Inter", sans-serif;
  --mono: "IBM Plex Mono", "Courier New", monospace;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
header.site {
  background: var(--ink);
  color: var(--paper);
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 3px solid var(--red);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  height: 92px;
  padding: 0 24px;
  flex-wrap: nowrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--paper);
  flex-shrink: 0;
  height: 100%;
}
.brand img {
  height: 92px;
  width: 92px;
  object-fit: cover;
  border-radius: 0;
  background: #fff;
  padding: 6px;
  flex-shrink: 0;
}
.brand .name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: 0.1px;
  line-height: 1.15;
  white-space: nowrap;
}
.brand .name span { color: var(--red); display: block; font-size: 13px; letter-spacing: 1.5px; font-family: var(--mono); font-weight: 600; margin-top: 3px; white-space: nowrap; }

nav.main { display: flex; align-items: center; gap: 22px; flex-wrap: nowrap; }
nav.main > a { margin-right: 22px; }
nav.main > a:last-of-type,
nav.main > a.call-btn { margin-right: 0; }
nav.main > .has-dropdown { margin-right: 22px; }
nav.main a {
  font-size: 14px;
  text-decoration: none;
  color: #d8d8d6;
  letter-spacing: 0.1px;
  white-space: nowrap;
  transition: color .15s ease;
}
nav.main a:hover, nav.main a:focus-visible { color: var(--paper); }
nav.main a.active { color: var(--paper); border-bottom: 2px solid var(--red); padding-bottom: 4px; }

.has-dropdown { position: relative; }
.has-dropdown > a::after { content: " \25BE"; font-size: 10px; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 14px;
  background: var(--ink);
  border: 1px solid #2a2a2a;
  border-top: 2px solid var(--red);
  min-width: 210px;
  flex-direction: column;
  padding: 6px 0;
  z-index: 60;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu { display: flex; }
.dropdown-menu a {
  padding: 11px 18px;
  color: #d8d8d6;
  font-size: 13.5px;
}
.dropdown-menu a:hover, .dropdown-menu a:focus-visible { background: #1a1a1a; color: #fff; }

.call-btn {
  background: var(--red);
  color: #fff;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.3px;
  padding: 9px 14px;
  text-decoration: none;
  border-radius: 2px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .15s ease;
}
.call-btn:hover, .call-btn:focus-visible { background: var(--red-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #444;
  color: var(--paper);
  font-size: 20px;
  padding: 6px 12px;
  border-radius: 2px;
  cursor: pointer;
}

@media (max-width: 1150px) {
  nav.main { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--ink); flex-direction: column; align-items: flex-start; padding: 16px 24px 24px; gap: 16px; border-bottom: 3px solid var(--red); }
  nav.main.open { display: flex; }
  .nav-toggle { display: block; }
  .has-dropdown { width: 100%; }
  .dropdown-menu { display: flex; position: static; border: none; background: none; margin-top: 10px; padding-left: 14px; }
}

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 14px;
}

/* ---------- Hero ---------- */
.hero { padding: 88px 0 64px; border-bottom: none; }
.hero-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  align-items: stretch;
  min-height: 430px;
}
.hero-copy { padding: 56px 48px 56px 24px; display: flex; flex-direction: column; justify-content: center; }
.hero-image { position: relative; overflow: hidden; border-left: 4px solid var(--red); }
.hero-image img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 25%;
  display: block; min-height: 340px;
  filter: brightness(0.94) contrast(0.96);
}
.hero-image::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(17,17,17,0.12);
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding: 44px 24px; }
  .hero-image { border-left: none; border-top: 4px solid var(--red); }
  .hero-image img { min-height: 240px; }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
  min-height: 460px;
}
.hero-copy { padding: 72px 48px 72px 24px; display: flex; flex-direction: column; justify-content: center; }
.hero-image { position: relative; overflow: hidden; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 400px; }
.hero-image::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(17,17,17,0.35) 0%, rgba(17,17,17,0) 30%);
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding: 48px 24px; }
  .hero-image img { min-height: 280px; }
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.2;
  margin: 0 0 20px;
  max-width: 760px;
}
.hero h1 mark {
  background: var(--ink);
  color: var(--paper);
  padding: 0 8px;
  font-style: normal;
}
.hero p.lede {
  font-size: 18px;
  color: #333;
  max-width: 620px;
  margin: 0 0 32px;
}
.cta-row { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta-row > .btn-primary { margin-right: 40px; }
.cta-row > .btn-primary:last-child { margin-right: 0; }
.secondary-link { font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.secondary-link:hover { color: var(--red); }

.credibility-line {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.4px;
  color: var(--grey);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 14px 0;
  margin: 0 0 28px;
}
.credibility-line strong { color: var(--ink); font-weight: 600; }

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2px;
  padding: 14px 26px;
  text-decoration: none;
  border-radius: 2px;
  transition: all .15s ease;
  border: 1.5px solid transparent;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--red-dark); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover, .btn-outline:focus-visible { background: var(--ink); color: var(--paper); }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
section.alt { background: var(--paper-off); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
h2.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(25px, 3.3vw, 35px);
  margin: 0 0 36px;
  max-width: 700px;
}

/* ---------- File-tab cards (signature element) ---------- */
.file-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0;
  border: 1px solid var(--hairline);
  border-top: none;
}
.file-card {
  border-top: 3px solid var(--red);
  border-right: 1px solid var(--hairline);
  padding: 28px 24px;
  text-decoration: none;
  color: var(--ink);
  transition: background .15s ease;
}
.file-card:last-child { border-right: none; }
.file-card:hover, .file-card:focus-visible { background: var(--paper-off); }
.file-card .label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 1.5px;
  color: var(--grey);
  margin: 0 0 10px;
}
.file-card h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 19px;
  margin: 0 0 8px;
}
.file-card p { font-size: 14px; color: #444; margin: 0; }

@media (max-width: 700px) {
  .file-grid { grid-template-columns: 1fr; border-top: 1px solid var(--hairline); }
  .file-card { border-right: none; border-bottom: 1px solid var(--hairline); }
}

/* ---------- Why choose / list ---------- */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.check-list li { padding-left: 30px; position: relative; font-size: 15.5px; }
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 14px; height: 14px;
  border: 2px solid var(--red);
}
.check-list strong { display: block; font-family: var(--serif); font-size: 16.5px; margin-bottom: 3px; }

/* ---------- Service detail blocks ---------- */
.service-block { margin-bottom: 44px; }
.service-block h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 21px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 10px;
  margin-bottom: 18px;
}
.service-block ul { padding-left: 20px; }
.service-block li { margin-bottom: 10px; font-size: 15px; }

.callout {
  border-left: 3px solid var(--red);
  background: var(--paper-off);
  color: #222;
  padding: 16px 20px;
  font-size: 15px;
  margin: 24px 0;
}
.callout strong { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--serif);
  font-size: 17px;
  padding: 18px 4px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink);
}
.faq-q .plus { color: var(--red); font-family: var(--mono); font-size: 18px; transition: transform .2s ease; }
.faq-q[aria-expanded="true"] .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; font-size: 15px; color: #333; }
.faq-a p { padding: 0 4px 18px; margin: 0; }

/* ---------- Attorney bios ---------- */
.bio {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid var(--hairline);
}
.bio .name-block .label { font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; color: var(--red); margin-bottom: 8px; }
.bio .name-block h2 { font-family: var(--serif); font-size: 26px; margin: 0; line-height: 1.2; }
.bio .bio-text p { font-size: 15.5px; margin: 0 0 16px; }
@media (max-width: 700px) { .bio { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- Contact / consult ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.info-row { border-top: 1px solid var(--hairline); padding: 16px 0; }
.info-row .label { font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; color: var(--grey); margin-bottom: 4px; }
.info-row .value { font-size: 16px; }
.info-row .value a { color: var(--red); text-decoration: none; }

.consult-box { background: var(--ink); color: var(--paper); padding: 36px 32px; }
.consult-box .eyebrow { color: var(--red); }
.consult-box h3 { font-family: var(--serif); font-size: 22px; margin: 0 0 14px; }
.consult-box p { color: #ccc; font-size: 14.5px; margin: 0 0 24px; }

/* ---------- Footer ---------- */
footer.site {
  background: var(--ink);
  color: #aaa;
  padding: 48px 0 32px;
  margin-top: 40px;
  font-size: 13.5px;
}
footer.site .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
footer.site a { color: #ddd; text-decoration: none; }
footer.site a:hover { color: var(--red); }
footer .legal { color: #777; font-size: 12px; margin-top: 24px; width: 100%; border-top: 1px solid #2a2a2a; padding-top: 20px; }

/* ---------- News ticker ---------- */
.ticker-wrap {
  background: var(--ink);
  border-bottom: 3px solid var(--red);
  overflow: hidden;
  padding: 12px 0;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 55s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #eee;
  font-size: 13.5px;
  white-space: nowrap;
  padding: 0 32px;
  text-decoration: none;
  border-right: 1px solid #333;
}
.ticker-item:hover { color: #fff; }
.ticker-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--red);
  border: 1px solid var(--red);
  padding: 2px 6px;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; overflow-x: auto; }
}

/* ---------- News list ---------- */
.news-category { margin-bottom: 48px; }
.news-category h3 {
  font-family: var(--serif);
  font-size: 20px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 10px;
  margin-bottom: 4px;
}
.news-item {
  display: block;
  padding: 18px 0;
  border-bottom: 1px solid var(--hairline);
  text-decoration: none;
  color: var(--ink);
}
.news-item:hover .news-headline { color: var(--red); }
.news-item .news-date { font-family: var(--mono); font-size: 11px; color: var(--grey); letter-spacing: 0.5px; }
.news-item .news-headline { font-size: 16px; margin: 6px 0 4px; transition: color .15s ease; }
.news-item .news-source { font-size: 12.5px; color: var(--grey); }
.mb-0 { margin-bottom: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
