/* Kelliher & Beyer, LLP — Wicked Fast Web redesign */

:root {
  --navy: #102943;
  --navy-dark: #0a1a2c;
  --brass: #b3873f;
  --brass-light: #d9ad6b;
  --ivory: #f8f5ef;
  --ink: #1c2530;
  --slate: #5c6b7a;
  --hairline: rgba(16, 41, 67, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Work Sans', sans-serif;
  color: var(--ink);
  background: var(--ivory);
  padding-top: 84px;
}

h1, h2, h3, h4,
.font-serif {
  font-family: 'Libre Baskerville', Georgia, serif;
}

a {
  text-decoration: none;
}

.text-brass { color: var(--brass); }
.text-navy { color: var(--navy); }
.bg-navy { background-color: var(--navy); }
.bg-ivory { background-color: var(--ivory); }

.section {
  padding: 6rem 0;
}

.section-tight {
  padding: 4rem 0;
}

.eyebrow {
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--brass);
}

.section-title {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.section-lede {
  color: var(--slate);
  max-width: 720px;
}

/* ---------- Navbar ---------- */
.navbar-wfw {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background: #ffffff;
  box-shadow: 0 2px 18px rgba(16, 41, 67, 0.08);
  padding: 0.65rem 0;
}

.navbar-wfw .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.navbar-wfw .navbar-brand img {
  height: 42px;
  width: auto;
}

.navbar-wfw .brand-text {
  font-family: 'Libre Baskerville', serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  line-height: 1.15;
}

.navbar-wfw .nav-link {
  font-weight: 500;
  color: var(--ink);
  margin: 0 0.5rem;
  position: relative;
}

.navbar-wfw .nav-link:hover,
.navbar-wfw .nav-link:focus {
  color: var(--brass);
}

.btn-brass {
  background: var(--brass);
  border: 1px solid var(--brass);
  color: #fff;
  font-weight: 600;
  padding: 0.55rem 1.4rem;
  border-radius: 4px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-brass:hover {
  background: #9a7136;
  border-color: #9a7136;
  color: #fff;
}

.btn-outline-ivory {
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  font-weight: 600;
  padding: 0.55rem 1.4rem;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.btn-outline-ivory:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn-outline-navy {
  border: 1px solid var(--navy);
  color: var(--navy);
  font-weight: 600;
  padding: 0.55rem 1.4rem;
  border-radius: 4px;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-outline-navy:hover {
  background: var(--navy);
  color: #fff;
}

/* ---------- Hero (split panel) ---------- */
.hero-split {
  display: flex;
  min-height: 88vh;
}

.hero-photo {
  flex: 1 1 56%;
  background: url('img/hero.webp') center/cover no-repeat;
  position: relative;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10, 26, 44, 0) 70%, rgba(10, 26, 44, 0.25) 100%);
}

.hero-panel {
  flex: 1 1 44%;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  display: flex;
  align-items: center;
  padding: 3rem 3.5rem;
  border-left: 6px solid var(--brass);
}

.hero-eyebrow {
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--brass-light);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: 'Libre Baskerville', serif;
  font-weight: 700;
  color: #fff;
  font-size: 2.6rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-subtitle {
  color: var(--brass-light);
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
}

.hero-tagline {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* ---------- About ---------- */
.about-photo {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(16, 41, 67, 0.18);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.stat-card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 6px;
  padding: 1.5rem;
  text-align: center;
}

.stat-number {
  font-family: 'Libre Baskerville', serif;
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--navy);
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- Practice Areas ---------- */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.practice-card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.practice-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(16, 41, 67, 0.12);
}

.practice-card.cta-card {
  background: var(--navy);
  color: #fff;
}

.practice-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(179, 135, 63, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  font-size: 1.4rem;
  color: var(--brass);
}

.cta-card .practice-icon {
  background: rgba(255, 255, 255, 0.15);
  color: var(--brass-light);
}

.practice-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.65rem;
  color: var(--navy);
}

.cta-card h3 {
  color: #fff;
}

.practice-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.88rem;
  color: var(--slate);
}

.cta-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}

.practice-card li {
  margin-bottom: 0.35rem;
  padding-left: 1rem;
  position: relative;
}

.practice-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  background: var(--brass);
  border-radius: 50%;
}

/* ---------- Team ---------- */
.team-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--hairline);
  height: 100%;
}

.team-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-body {
  padding: 1.75rem;
}

.team-name {
  font-family: 'Libre Baskerville', serif;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.1rem;
}

.team-title {
  color: var(--brass);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
}

.team-body p {
  color: var(--slate);
  font-size: 0.94rem;
}

.team-focus {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--hairline);
  font-size: 0.85rem;
  color: var(--ink);
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: #fff;
  border-left: 4px solid var(--brass);
  border-radius: 4px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 10px 24px rgba(16, 41, 67, 0.06);
}

.testimonial-quote {
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--navy);
}

/* ---------- Contact ---------- */
.office-card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 1.75rem;
  height: 100%;
}

.office-card h3 {
  color: var(--navy);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.office-card .bi {
  color: var(--brass);
  margin-right: 0.5rem;
}

.map-wrap {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--hairline);
  height: 100%;
  min-height: 320px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

.contact-form-card {
  background: var(--navy);
  border-radius: 8px;
  padding: 2.5rem;
  color: #fff;
}

.contact-form-card .form-control {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 0.7rem 0.9rem;
}

.contact-form-card .form-control::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.contact-form-card .form-control:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--brass);
  box-shadow: none;
  color: #fff;
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 0 2rem;
}

.footer-logo-chip {
  background: var(--ivory);
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.footer-logo-chip img {
  height: 36px;
  width: auto;
  display: block;
}

footer.site-footer a {
  color: rgba(255, 255, 255, 0.75);
}

footer.site-footer a:hover {
  color: var(--brass-light);
}

.footer-heading {
  font-family: 'Libre Baskerville', serif;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-right: 0.5rem;
}

.social-icons a:hover {
  background: var(--brass);
  border-color: var(--brass);
  color: #fff;
}

.powered-by {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  text-align: center;
}

.powered-by a {
  color: var(--brass-light);
  font-weight: 600;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .hero-split {
    flex-direction: column;
    min-height: auto;
  }

  .hero-photo {
    height: 42vh;
    flex: none;
  }

  .hero-panel {
    border-left: none;
    border-top: 6px solid var(--brass);
    padding: 3rem 1.75rem;
  }

  .hero-panel-content {
    padding-top: 0;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .practice-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  body {
    padding-top: 72px;
  }

  .navbar-wfw .navbar-brand img {
    height: 34px;
  }

  .practice-grid {
    grid-template-columns: 1fr;
  }

  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section {
    padding: 4rem 0;
  }
}
