/* Ohio Employment Lawyer — static rebuild. No JS, no external requests. */
:root {
  --navy: #1c2f4a;
  --navy-dark: #132238;
  --accent: #a8823c;
  --ink: #222831;
  --muted: #5b6573;
  --rule: #d9dde3;
  --bg: #ffffff;
  --bg-alt: #f4f5f7;
  --maxw: 1000px;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg-alt);
  color: var(--ink);
  font: 16px/1.65 var(--sans);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover, a:focus { color: var(--accent); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: #fff; padding: .5rem 1rem; z-index: 10;
}
.skip-link:focus { left: 1rem; }

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

/* Header */
.site-header { background: var(--navy); color: #fff; }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 1rem; padding-top: 1.25rem; padding-bottom: 1.25rem;
}
.brand { color: #fff; text-decoration: none; display: block; }
.brand:hover, .brand:focus { color: #fff; }
.brand-name { display: block; font: 600 .95rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.brand-title { display: block; font: 700 2rem/1.15 var(--serif); }
.brand-tagline { display: block; font-size: .95rem; opacity: .85; }
.header-contact { text-align: right; font-size: .95rem; line-height: 1.5; }
.header-contact .label { text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; opacity: .75; display: block; }
.header-contact a { color: #fff; text-decoration: none; }
.header-contact a:hover, .header-contact a:focus { color: var(--accent); }
.header-contact .phone { font: 700 1.35rem/1.3 var(--serif); }

/* Nav */
.site-nav { background: var(--navy-dark); }
.site-nav ul {
  list-style: none; margin: 0 auto; padding: 0 16px; max-width: var(--maxw);
  display: flex; flex-wrap: wrap;
}
.site-nav a {
  display: block; padding: .75rem .62rem; color: #e8ecf2; text-decoration: none;
  font-size: .9rem; border-bottom: 3px solid transparent;
}
.site-nav a:hover, .site-nav a:focus { color: #fff; background: rgba(255,255,255,.06); }
.site-nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--accent); }

/* Main */
main { background: var(--bg); }
main .wrap { padding-top: 2rem; padding-bottom: 2.5rem; }
h1, h2, h3, h4, h5, h6 { font-family: var(--serif); color: var(--navy); line-height: 1.25; }
h1 { font-size: 2rem; margin: 0 0 1.25rem; padding-bottom: .5rem; border-bottom: 2px solid var(--accent); }
h2 { font-size: 1.45rem; margin: 2rem 0 .75rem; }
h3 { font-size: 1.3rem; margin: 1.75rem 0 .5rem; }
h4 { font-size: 1.15rem; margin: 1.5rem 0 .5rem; }
p, ul, ol { margin: 0 0 1rem; }
li { margin-bottom: .35rem; }

.lead-figure { float: right; margin: 0 0 1rem 1.5rem; max-width: 300px; }
.lead-figure.portrait { max-width: 260px; }
.clearfix::after { content: ""; display: table; clear: both; }

.callout {
  background: var(--bg-alt); border-left: 4px solid var(--accent);
  padding: 1rem 1.25rem; margin: 1.5rem 0;
}
.callout p:last-child { margin-bottom: 0; }

.btn {
  display: inline-block; background: var(--navy); color: #fff; text-decoration: none;
  padding: .65rem 1.2rem; border-radius: 3px; font-weight: 600;
}
.btn:hover, .btn:focus { background: var(--accent); color: #fff; }

/* Home slideshow — pure CSS crossfade */
.slides {
  position: relative; aspect-ratio: 970 / 530; overflow: hidden;
  margin: 0 0 1.75rem; background: var(--navy);
}
.slides img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; animation: fade 24s infinite;
}
.slides img:nth-child(1) { animation-delay: 0s; }
.slides img:nth-child(2) { animation-delay: 6s; }
.slides img:nth-child(3) { animation-delay: 12s; }
.slides img:nth-child(4) { animation-delay: 18s; }
@keyframes fade {
  0% { opacity: 0; } 4% { opacity: 1; } 25% { opacity: 1; } 29% { opacity: 0; } 100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .slides img { animation: none; }
  .slides img:first-child { opacity: 1; }
}

/* Resources / posts */
.post-list { list-style: none; padding: 0; margin: 0; }
.post-list li { padding: 1rem 0; border-bottom: 1px solid var(--rule); margin: 0; }
.post-list h2 { font-size: 1.25rem; margin: 0 0 .25rem; }
.post-list h2 a { text-decoration: none; }
.post-meta { color: var(--muted); font-size: .88rem; margin-bottom: .5rem; }
.post-list p { margin: 0; }
article.post .post-meta { margin-top: -.75rem; margin-bottom: 1.5rem; }
.back-link { margin-top: 2rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; margin: 1.5rem 0; }
.contact-card { border: 1px solid var(--rule); padding: 1.1rem 1.25rem; border-radius: 3px; }
.contact-card h2 { font-size: 1.1rem; margin: 0 0 .5rem; }
.contact-card p { margin: 0 0 .25rem; }

/* Footer */
.site-footer { background: var(--navy); color: #d5dbe4; font-size: .9rem; }
.site-footer .wrap { padding-top: 1.75rem; padding-bottom: 1.75rem; }
.site-footer p { margin: 0 0 .5rem; }
.site-footer a { color: #fff; }
.site-footer .offices strong { color: #fff; }
.site-footer .service-area { opacity: .8; font-size: .85rem; margin-top: 1rem; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; }
.footer-bottom img { max-width: 140px; background: #fff; padding: 4px; border-radius: 2px; }

@media (max-width: 640px) {
  .brand-title { font-size: 1.6rem; }
  .header-contact { text-align: left; }
  h1 { font-size: 1.6rem; }
  .lead-figure, .lead-figure.portrait { float: none; margin: 0 0 1rem; max-width: 100%; }
  .site-nav a { padding: .6rem .65rem; font-size: .88rem; }
}

@media print {
  .site-nav, .slides, .skip-link { display: none; }
  .site-header, .site-footer { background: none; color: #000; }
  .site-header a, .brand-title, .site-footer a, .site-footer .offices strong { color: #000; }
}
