:root {
  --ink: #171717;
  --charcoal: #24221f;
  --navy: #0d2434;
  --ivory: #f7f3ec;
  --paper: #fffdf8;
  --stone: #d9d2c6;
  --bronze: #b7894a;
  --bronze-dark: #7a552b;
  --sage: #60786f;
  --muted: #6f6a62;
  --font-inter: "Inter";
  --font-libre: "Libre Baskerville";
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-inter), Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

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

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

h1,
h2,
h3,
.brand {
  font-family: var(--font-libre), Georgia, serif;
}

.hero {
  position: relative;
  min-height: 88svh;
  display: flex;
  align-items: center;
  padding: 7rem clamp(1.25rem, 4vw, 5.5rem) 5rem;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(13, 21, 25, 0.92) 0%, rgba(13, 21, 25, 0.76) 34%, rgba(13, 21, 25, 0.26) 67%, rgba(13, 21, 25, 0.48) 100%),
    linear-gradient(0deg, rgba(13, 21, 25, 0.72) 0%, rgba(13, 21, 25, 0) 35%),
    url("./images/law-office-hero.png") center / cover;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: 1.15rem clamp(1.25rem, 4vw, 5.5rem);
  border-bottom: 1px solid rgba(255, 253, 248, 0.18);
  background: rgba(13, 21, 25, 0.22);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: max-content;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  letter-spacing: 0;
  font-weight: 700;
}

.brand span:nth-child(2) {
  color: var(--bronze);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 2.4vw, 2.2rem);
  color: rgba(255, 253, 248, 0.84);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.main-nav a,
.header-call {
  transition: color 180ms ease, border-color 180ms ease;
}

.main-nav a:hover,
.header-call:hover {
  color: #ffffff;
}

.header-call {
  justify-self: end;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(255, 253, 248, 0.28);
  border-radius: 999px;
  color: rgba(255, 253, 248, 0.92);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

.eyebrow {
  max-width: 34ch;
  color: var(--bronze);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--bronze-dark);
}

.hero h1 {
  margin-top: 0.95rem;
  max-width: 12ch;
  font-size: clamp(4rem, 11vw, 9.5rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy {
  width: min(640px, 100%);
  margin-top: 1.65rem;
  color: rgba(255, 253, 248, 0.88);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 3.2rem;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.2rem;
  border-radius: 2px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button.primary {
  border: 1px solid var(--bronze);
  background: var(--bronze);
  color: #181411;
}

.button.primary:hover {
  background: #d3a866;
  border-color: #d3a866;
}

.button.secondary {
  border: 1px solid rgba(255, 253, 248, 0.38);
  color: var(--paper);
}

.button.secondary:hover {
  border-color: rgba(255, 253, 248, 0.88);
}

.button.light.primary {
  color: #181411;
}

.button.light.secondary {
  color: var(--paper);
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 253, 248, 0.18);
  border-bottom: 1px solid var(--stone);
  background: var(--paper);
}

.trust-band p {
  min-height: 6rem;
  display: flex;
  align-items: center;
  padding: 1.25rem clamp(1rem, 2.5vw, 2rem);
  border-right: 1px solid var(--stone);
  color: var(--charcoal);
  font-size: 0.95rem;
  font-weight: 800;
}

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

.intro-section,
.practice-section,
.approach-section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 4vw, 5.5rem);
}

.section-kicker {
  margin-bottom: 1.25rem;
  color: var(--sage);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(18rem, 0.7fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
}

.intro-grid h2,
.section-heading h2,
.approach-section h2,
.contact-section h2 {
  max-width: 780px;
  color: var(--navy);
  font-size: clamp(2.3rem, 5vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.intro-grid p {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
}

.practice-section {
  background: var(--paper);
  border-block: 1px solid var(--stone);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section-heading h2 {
  width: min(780px, 100%);
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--stone);
  border: 1px solid var(--stone);
}

.practice-card {
  min-height: 21rem;
  display: flex;
  flex-direction: column;
  padding: 1.4rem;
  background: var(--paper);
}

.practice-card span {
  width: 2.2rem;
  height: 2px;
  margin-bottom: 5rem;
  background: var(--bronze);
}

.practice-card h3 {
  color: var(--navy);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.08;
}

.practice-card p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.approach-section {
  display: grid;
  grid-template-columns: minmax(18rem, 0.85fr) minmax(20rem, 1.15fr);
  gap: clamp(2rem, 7vw, 6rem);
  background: var(--ivory);
}

.approach-list {
  border-top: 1px solid var(--stone);
}

.approach-list div {
  display: grid;
  grid-template-columns: minmax(10rem, 0.65fr) minmax(16rem, 1fr);
  gap: 1.5rem;
  padding: 1.55rem 0;
  border-bottom: 1px solid var(--stone);
}

.approach-list strong {
  color: var(--navy);
  font-family: var(--font-libre), Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.2;
}

.approach-list p {
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(18rem, 1fr) auto;
  gap: 2rem;
  align-items: end;
  padding: clamp(4rem, 8vw, 6.5rem) clamp(1.25rem, 4vw, 5.5rem);
  background: var(--navy);
  color: var(--paper);
}

.contact-section h2 {
  color: var(--paper);
}

.contact-section p:not(.eyebrow) {
  max-width: 660px;
  margin-top: 1rem;
  color: rgba(255, 253, 248, 0.78);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem clamp(1.25rem, 4vw, 5.5rem);
  background: #0a1016;
  color: rgba(255, 253, 248, 0.72);
  font-size: 0.82rem;
}

footer a {
  color: var(--paper);
  font-weight: 900;
}

@media (max-width: 1040px) {
  .practice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .practice-card {
    min-height: 16rem;
  }

  .practice-card span {
    margin-bottom: 3rem;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .trust-band,
  .intro-grid,
  .approach-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .trust-band p {
    min-height: 4.5rem;
    border-right: 0;
    border-bottom: 1px solid var(--stone);
  }

  .trust-band p:last-child {
    border-bottom: 0;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2 {
    margin-top: 0.75rem;
  }

  .contact-actions {
    margin-top: 0;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .hero {
    min-height: 86svh;
    padding-top: 6.5rem;
    background-position: 58% center;
  }

  .site-header {
    gap: 0.75rem;
  }

  .header-call {
    padding: 0.62rem 0.72rem;
    font-size: 0.78rem;
  }

  .hero h1 {
    font-size: clamp(3.6rem, 17vw, 5.5rem);
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

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

  .approach-list div {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }
}
