:root {
  --ink: #111822;
  --navy: #142337;
  --blue: #1f3b56;
  --gold: #a77a35;
  --mist: #f3f4f2;
  --line: #d9d6ce;
  --paper: #fbfaf7;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatPanel {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes goldSweep {
  from {
    transform: translateX(-110%);
  }

  to {
    transform: translateX(110%);
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.topbar {
  align-items: center;
  background: var(--navy);
  color: var(--white);
  display: flex;
  font-size: 0.82rem;
  gap: 22px;
  justify-content: flex-end;
  min-height: 34px;
  padding: 0 6vw;
}

.nav {
  align-items: center;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  min-height: 86px;
  padding: 10px 6vw;
}

.brand img {
  display: block;
  height: 72px;
  object-fit: contain;
  width: 248px;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 24px;
  font-size: 0.88rem;
  text-transform: uppercase;
}

.nav-cta,
.button,
.case-form button {
  background: var(--gold);
  border: 1px solid var(--gold);
  color: var(--white);
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0;
  padding: 13px 18px;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.nav-cta::after,
.button::after,
.case-form button::after {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.36), transparent);
  content: "";
  inset: 0;
  position: absolute;
  transform: translateX(-110%);
}

.nav-cta:hover,
.button:hover,
.case-form button:hover {
  box-shadow: 0 14px 28px rgba(17, 24, 34, 0.18);
  transform: translateY(-2px);
}

.nav-cta:hover::after,
.button:hover::after,
.case-form button:hover::after {
  animation: goldSweep 760ms ease;
}

.hero {
  background:
    linear-gradient(90deg, rgba(17, 24, 34, 0.94), rgba(20, 35, 55, 0.84)),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1800&q=80");
  background-position: center;
  background-size: cover;
  color: var(--white);
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.55fr);
  min-height: calc(100vh - 121px);
  padding: 11vh 6vw 9vh;
}

.hero-copy {
  align-self: center;
  animation: riseIn 820ms ease both;
  max-width: 780px;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.05;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.6rem);
  margin-bottom: 26px;
  max-width: 980px;
}

h2 {
  color: var(--navy);
  font-size: clamp(2.2rem, 4vw, 4.6rem);
  margin-bottom: 20px;
}

h3 {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.2;
}

.lead {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 1.6vw, 1.35rem);
  max-width: 780px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button.secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.65);
}

.hero-panel {
  animation: riseIn 900ms 180ms ease both, floatPanel 6s 1.3s ease-in-out infinite;
  align-self: end;
  background: rgba(251, 250, 247, 0.96);
  border-top: 4px solid var(--gold);
  color: var(--ink);
  display: grid;
  gap: 0;
}

.hero-panel div {
  border-bottom: 1px solid var(--line);
  padding: 24px;
}

.hero-panel div:last-child {
  border-bottom: 0;
}

.hero-panel span {
  color: var(--gold);
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-panel strong {
  color: var(--navy);
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 400;
  margin-top: 7px;
}

.trust-band {
  animation: riseIn 760ms 260ms ease both;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  color: var(--blue);
  display: grid;
  font-size: 0.86rem;
  font-weight: 700;
  gap: 1px;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  text-transform: uppercase;
}

.trust-band span {
  border-right: 1px solid var(--line);
  padding: 20px 14px;
}

.trust-band span:last-child {
  border-right: 0;
}

.section {
  padding: 88px 6vw;
}

.section-heading,
.split > div,
.attorneys > div,
.contact > div,
.practice-card,
.why-grid div,
.attorney-card,
.case-form,
.insight-list a {
  animation: riseIn 760ms ease both;
}

.split,
.attorneys,
.contact {
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.body-copy {
  color: #3e4853;
  font-size: 1.08rem;
}

.section-heading {
  max-width: 800px;
}

.practice-grid,
.why-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.practice-card,
.why-grid div,
.attorney-card,
.case-form {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 42px rgba(17, 24, 34, 0.06);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.practice-card {
  min-height: 260px;
  padding: 30px;
}

.practice-card:hover,
.why-grid div:hover,
.attorney-card:hover,
.case-form:hover {
  border-color: rgba(167, 122, 53, 0.48);
  box-shadow: 0 24px 54px rgba(17, 24, 34, 0.12);
  transform: translateY(-6px);
}

.practice-card span {
  color: var(--gold);
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 40px;
  transition: color 220ms ease, transform 220ms ease;
}

.practice-card:hover span {
  transform: translateY(-3px);
}

.practice-card p,
.why-grid p,
.attorney-card p,
.contact-copy p,
.footer p {
  color: #4e5965;
}

.attorneys {
  background: var(--mist);
}

.attorney-card {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: 128px minmax(0, 1fr);
  padding: 34px;
}

.attorney-initials {
  align-items: center;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.5rem;
  height: 128px;
  justify-content: center;
  width: 128px;
  transition: transform 260ms ease;
}

.attorney-card:hover .attorney-initials {
  transform: translateY(-4px) scale(1.02);
}

dl {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
}

dl div {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding-top: 10px;
}

dt {
  color: #5d6873;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

dd {
  margin: 0;
}

.why {
  background: var(--navy);
  color: var(--white);
}

.why h2 {
  color: var(--white);
}

.why-grid div {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
  min-height: 190px;
  padding: 28px;
}

.why-grid strong {
  color: var(--white);
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 400;
}

.why-grid p {
  color: rgba(255, 255, 255, 0.76);
  margin-bottom: 0;
  margin-top: 12px;
}

.page-hero {
  background: var(--mist);
  border-bottom: 1px solid var(--line);
  padding: 56px 6vw 48px;
}

.page-hero h1 {
  color: var(--navy);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  margin-bottom: 18px;
  max-width: 840px;
}

.page-hero .lead {
  color: #4e5965;
  font-size: 1.08rem;
  max-width: 700px;
}

.legal-copy,
.insight-articles {
  max-width: 980px;
}

.legal-copy article,
.insight-articles article {
  border-bottom: 1px solid var(--line);
  padding: 0 0 42px;
}

.legal-copy article + article,
.insight-articles article + article {
  padding-top: 42px;
}

.legal-copy h2,
.insight-articles h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  margin-bottom: 16px;
}

.legal-copy p,
.insight-articles p {
  color: #4e5965;
  font-size: 0.96rem;
  max-width: 780px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  grid-column: 1 / -1;
  padding-top: 18px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-links a:hover {
  color: var(--gold);
}

.contact {
  background: var(--paper);
}

.contact-copy {
  max-width: 560px;
}

.case-form {
  display: grid;
  gap: 16px;
  padding: 32px;
}

.case-form label {
  color: var(--navy);
  display: grid;
  font-size: 0.86rem;
  font-weight: 700;
  gap: 7px;
  text-transform: uppercase;
}

input,
select,
textarea {
  background: #fdfdfb;
  border: 1px solid var(--line);
  color: var(--ink);
  font: inherit;
  min-height: 46px;
  padding: 11px 12px;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
  width: 100%;
}

input:focus,
select:focus,
textarea:focus {
  background: var(--white);
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(167, 122, 53, 0.12);
  outline: none;
}

textarea {
  resize: vertical;
}

.checkbox {
  align-items: start;
  display: flex !important;
  gap: 10px !important;
  line-height: 1.4;
  text-transform: none !important;
}

.checkbox input {
  min-height: auto;
  margin-top: 3px;
  width: auto;
}

.case-form button {
  cursor: pointer;
  min-height: 52px;
  width: 100%;
}

.insights {
  background: var(--white);
}

.insight-list {
  border-top: 1px solid var(--line);
}

.insight-list a {
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  padding: 24px 0;
  transition: color 200ms ease, padding-left 200ms ease;
}

.insight-list a:hover {
  color: var(--gold);
  padding-left: 12px;
}

.practice-card:nth-child(2),
.why-grid div:nth-child(2) {
  animation-delay: 80ms;
}

.practice-card:nth-child(3),
.why-grid div:nth-child(3) {
  animation-delay: 160ms;
}

.practice-card:nth-child(4),
.why-grid div:nth-child(4) {
  animation-delay: 240ms;
}

.practice-card:nth-child(5) {
  animation-delay: 320ms;
}

.practice-card:nth-child(6) {
  animation-delay: 400ms;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

.footer {
  background: #0c1118;
  color: var(--white);
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  padding: 46px 6vw;
}

.footer strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  font-weight: 400;
}

.footer p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero,
  .split,
  .attorneys,
  .contact,
  .footer {
    grid-template-columns: 1fr;
  }

  .trust-band,
  .practice-grid,
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .topbar {
    justify-content: flex-start;
  }

  .nav-links {
    display: none;
  }

  .brand img {
    width: 214px;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
  }

  .trust-band,
  .practice-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .attorney-card {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 6vw;
  }
}
