:root {
  --ink: #18212f;
  --muted: #647084;
  --paper: #f7f4ef;
  --surface: #ffffff;
  --line: #ded8ce;
  --sage: #617467;
  --teal: #1f6f78;
  --brick: #a9543c;
  --gold: #c3994f;
  --shadow: 0 24px 70px rgba(24, 33, 47, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 64px);
  background: rgba(247, 244, 239, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff;
  font-weight: 800;
  background: var(--ink);
  border: 2px solid var(--gold);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 28px);
  color: #364254;
  font-size: 0.94rem;
}

nav a {
  text-decoration: none;
}

nav a:hover {
  color: var(--teal);
}

.hero {
  display: grid;
  min-height: calc(100vh - 78px);
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1.08fr);
  align-items: center;
  gap: clamp(34px, 6vw, 86px);
  padding: clamp(34px, 6vw, 92px) clamp(18px, 4vw, 64px);
}

.hero-media {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  margin: 0;
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-media::after {
  display: none;
}

.hero-media > img {
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  object-fit: cover;
  object-position: center top;
}

.law-card {
  position: static;
  z-index: auto;
  width: 100%;
  padding: 24px;
  color: #fff;
  background: var(--ink);
  border: 0;
  backdrop-filter: none;
}

.card-label {
  display: block;
  color: #efe3c3;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-rule {
  width: 64px;
  height: 3px;
  margin: 24px 0;
  background: var(--gold);
}

.law-card p {
  display: inline-block;
  margin: 10px 22px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.16rem, 2vw, 1.55rem);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brick);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  font-size: clamp(3.2rem, 8vw, 7.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 4.4rem);
}

h3 {
  font-size: 1.35rem;
}

.lead {
  max-width: 660px;
  margin: 24px 0 0;
  color: #3c4655;
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  line-height: 1.65;
}

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

.button,
button {
  min-height: 48px;
  padding: 14px 20px;
  border: 1px solid var(--ink);
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.button.primary,
button {
  color: #fff;
  background: var(--ink);
}

.button.secondary {
  color: var(--ink);
  background: transparent;
}

.button:hover,
button:hover {
  transform: translateY(-1px);
}

.intro,
.services-section,
.approach-section,
.contact-section {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 4vw, 64px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(28px, 5vw, 80px);
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.profile-heading {
  display: grid;
  align-content: start;
  gap: 24px;
}

.profile-heading img {
  width: 132px;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
  border: 4px solid var(--paper);
  box-shadow: 0 14px 36px rgba(24, 33, 47, 0.13);
}

.intro p,
.approach-copy p,
.contact-section p {
  margin: 0;
  color: #435064;
  font-size: 1.08rem;
  line-height: 1.75;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 250px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.service-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 34px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  background: var(--sage);
}

.service-card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.62;
}

.approach-section {
  display: grid;
  grid-template-columns: minmax(300px, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(30px, 5vw, 74px);
  color: #fff;
  background: var(--teal);
}

.approach-section .eyebrow,
.approach-section p {
  color: #dfeee9;
}

.metrics {
  display: grid;
  gap: 12px;
}

.metrics div {
  padding: 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.metrics strong,
.metrics span {
  display: block;
}

.metrics strong {
  font-size: 1.25rem;
}

.metrics span {
  margin-top: 6px;
  color: #dfeee9;
  line-height: 1.55;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  background: var(--surface);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  background: #fbfaf7;
}

label {
  display: grid;
  gap: 7px;
  color: #334052;
  font-size: 0.9rem;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbc5bb;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

textarea {
  resize: vertical;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 4vw, 64px);
  color: #536071;
  border-top: 1px solid var(--line);
}

footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-header,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: 420px;
  }

  .hero-media > img {
    min-height: 0;
  }

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

@media (max-width: 620px) {
  nav {
    width: 100%;
    justify-content: space-between;
  }

  h1 {
    font-size: 3.05rem;
  }

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

  .law-card {
    width: calc(100% - 32px);
    padding: 24px;
  }

  .hero-media > img {
    display: block;
    height: auto;
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .law-card {
    position: static;
    width: 100%;
    background: var(--ink);
    border: 0;
  }
}
