:root {
  --navy: #061728;
  --navy-deep: #03111e;
  --ivory: #f6f1e9;
  --muted: #b7bdc5;
  --gold: #e0aa78;
  --gold-light: #f2c996;
  --line: rgba(225, 170, 120, 0.72);
  --sans: "Manrope", Arial, sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}
body {
  margin: 0;
  background: var(--navy-deep);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.menu-open {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
svg {
  display: block;
}
.container {
  width: min(100% - 96px, 1320px);
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -70px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--ivory);
  color: var(--navy);
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 12px;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 100;
  height: 92px;
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease;
}
/*.site-header.is-fixed { position: fixed; height: 76px; background: rgba(3, 17, 30, .94); box-shadow: 0 10px 30px rgba(0, 0, 0, .18); backdrop-filter: blur(12px); }*/
.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
}
.brand {
  width: max-content;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  color: var(--gold-light);
}
.header-inner > .brand {
  width: auto;
  max-width: 240px;
  height: 100%;
  min-height: 0;
  padding-block: 12px;
}
.header-inner > .brand img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 120px;
}
.brand-name {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 0.17em;
}
.brand-subtitle {
  margin-top: 8px;
  padding-left: 0.44em;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.66em;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 43px;
  font-size: 14px;
  font-weight: 400;
}
.main-nav a,
.footer-nav a {
  position: relative;
}
.main-nav a::after,
.footer-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.footer-nav a:hover::after,
.footer-nav a:focus-visible::after {
  width: 100%;
}
.main-nav a[aria-current="page"] {
  color: var(--gold-light);
}
.main-nav a[aria-current="page"]::after {
  width: 100%;
}
.menu-toggle {
  display: none;
}

.button {
  min-height: 50px;
  width: max-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: linear-gradient(120deg, #e8b980, #f4d3a7 52%, #dba66e);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  color: #131313;
  font-size: 14px;
  font-weight: 500;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}
.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  filter: brightness(1.04);
}
.button svg,
.text-button svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.button-small {
  justify-self: end;
  min-height: 42px;
  padding: 9px 24px;
}

.hero {
  position: relative;
  min-height: 750px;
  display: flex;
  align-items: center;
  background-color: #061525;
  background-image:
    linear-gradient(
      90deg,
      rgba(2, 16, 28, 0.98) 0%,
      rgba(2, 16, 28, 0.82) 27%,
      rgba(2, 16, 28, 0.12) 61%,
      rgba(2, 16, 28, 0.08) 100%
    ),
    linear-gradient(0deg, rgba(2, 13, 23, 0.42), transparent 36%),
    url("/assets/images/background/imagem-topo.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(transparent, rgba(3, 17, 30, 0.48));
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 78px;
}
.hero-copy {
  max-width: 570px;
}
.eyebrow,
.section-label {
  margin: 0;
  color: #cfd3d8;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  line-height: 1.75;
  text-transform: uppercase;
}
.hero h1,
.section h2,
.contact h2 {
  margin: 20px 0 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.025em;
}
.hero h1 {
  font-size: clamp(58px, 5.8vw, 82px);
}
.hero h1 em {
  color: var(--gold);
  font-weight: 500;
}
.short-line {
  display: block;
  width: 58px;
  height: 1px;
  margin: 34px 0 25px;
  background: var(--line);
}
.hero-description {
  max-width: 410px;
  margin: 0 0 30px;
  color: #d0d4d9;
  font-size: 15px;
  line-height: 1.65;
}
.section {
  border-top: 1px solid rgba(255, 255, 255, 0.045);
}

.about {
  padding: 58px 0 52px;
  background:
    radial-gradient(circle at 74% 20%, rgba(27, 52, 76, 0.22), transparent 36%),
    var(--navy-deep);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.68fr 0.52fr;
  align-items: center;
  gap: 70px;
}
.section-label {
  display: flex;
  align-items: center;
  gap: 17px;
  color: var(--gold-light);
}
.section-label::after {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--line);
}
.section h2,
.contact h2 {
  font-size: clamp(40px, 4.2vw, 56px);
}
.about-copy > p:not(.section-label) {
  max-width: 480px;
  margin: 13px 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.text-button {
  min-width: 164px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 18px 8px 22px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 3px;
  font-size: 14px;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background 0.2s ease;
}
.text-button:hover,
.text-button:focus-visible {
  border-color: var(--gold);
  background: rgba(224, 170, 120, 0.06);
  color: var(--gold-light);
}
.values {
  margin: 0;
  padding: 8px 0 8px 31px;
  border-left: 1px solid var(--gold);
  list-style: none;
}
.values li {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  font-size: 13px;
  line-height: 1.35;
}
.values li:last-child {
  border-bottom: 0;
}
.value-number {
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
}
.about-statement {
  margin: 0;
  padding-left: 62px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(208, 214, 222, 0.32);
  font-size: 14px;
  letter-spacing: 0.42em;
  line-height: 2;
  text-transform: uppercase;
}

.practice {
  padding: 75px 0 75px;
  background:
    linear-gradient(
      90deg,
      rgba(3, 17, 30, 0.25),
      rgba(9, 29, 47, 0.4),
      rgba(3, 17, 30, 0.25)
    ),
    var(--navy-deep);
}
.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
}
.practice-card {
  min-height: 143px;
  padding: 0 54px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 54px;
}
.practice-card:first-child {
  /*padding-left: 72px;*/
}
.practice-card:last-child,
.practice-card:nth-child(3) {
  border-right: 0;
}
.practice-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
  color: var(--gold-light);
}
.practice-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.practice-card h3 {
  margin: 0 0 7px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
}
.practice-card p {
  max-width: 240px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.contact {
  min-height: 310px;
  display: grid;
  grid-template-columns: 52% 48%;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--navy);
}
.contact-image {
  min-height: 310px;
  background:
    linear-gradient(90deg, transparent 74%, var(--navy) 100%),
    linear-gradient(0deg, rgba(2, 13, 23, 0.15), transparent 60%),
    url("../images/home/cta-books.png") center/cover no-repeat;
}
.contact-content {
  display: flex;
  align-items: center;
  padding: 48px clamp(40px, 7vw, 112px) 48px 65px;
}
.contact-copy {
  width: 100%;
}
.contact h2 {
  margin-bottom: 27px;
}

.articles {
  padding: 72px 0 78px;
  background:
    radial-gradient(circle at 50% 0, rgba(21, 48, 72, 0.26), transparent 45%),
    var(--navy-deep);
}
.articles-heading {
  max-width: 680px;
  margin-bottom: 38px;
}
.articles-heading h2 {
  margin-top: 15px;
}
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.article-card {
  min-width: 0;
  padding: 34px 38px 38px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.article-card:first-child {
  padding-left: 0;
}
.article-card:last-child {
  padding-right: 0;
  border-right: 0;
}
.article-category {
  margin: 0 0 14px;
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.article-card h3 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(25px, 2.25vw, 34px);
  font-weight: 400;
  line-height: 1.08;
}
.article-card > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.page-hero {
  position: relative;
  min-height: 570px;
  display: flex;
  align-items: flex-end;
  padding: 170px 0 82px;
  overflow: hidden;
  background-color: var(--navy);
  background-position: center;
  background-size: cover;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(3, 17, 30, 0.98) 0%,
      rgba(3, 17, 30, 0.84) 40%,
      rgba(3, 17, 30, 0.22) 78%
    ),
    linear-gradient(0deg, rgba(3, 17, 30, 0.7), transparent 56%);
}
.page-hero--about {
  background-image: url("../images/home/hero-lawyer.png");
  background-position: center 38%;
}
.page-hero--practice {
  background-image: url("../images/home/cta-books.png");
  background-position: center 47%;
}
.page-hero--articles {
  background-image: url("../images/home/footer-legal-consultation.png");
  background-position: center 42%;
}
.page-hero-content {
  position: relative;
  z-index: 1;
}
.page-hero-content h1 {
  max-width: 900px;
  margin: 20px 0 24px;
  font-family: var(--serif);
  font-size: clamp(58px, 6.2vw, 86px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.03em;
}
.page-hero-content h1 em {
  color: var(--gold);
  font-weight: 500;
}
.page-hero-content > p:last-child {
  max-width: 590px;
  margin: 0;
  color: #d0d4d9;
  font-size: 15px;
  line-height: 1.7;
}
.page-section {
  padding: 88px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--navy-deep);
}
.page-section h2 {
  margin: 16px 0 0;
  font-family: var(--serif);
  font-size: clamp(42px, 4.5vw, 62px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.025em;
}
.page-section-heading {
  max-width: 720px;
  margin-bottom: 45px;
}
.firm-story-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.5fr;
  align-items: start;
  gap: 70px;
}
.firm-story-heading h2 {
  max-width: 540px;
}
.firm-story-copy {
  padding-top: 30px;
}
.firm-story-copy p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}
.legacy-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 34px;
  border-left: 1px solid var(--gold);
}
.legacy-card strong {
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 74px;
  font-weight: 400;
  line-height: 0.85;
}
.legacy-card span {
  margin-top: 17px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  line-height: 1.7;
  text-transform: uppercase;
}
.principles {
  background:
    radial-gradient(circle at 50% 0, rgba(21, 48, 72, 0.3), transparent 42%),
    var(--navy);
}
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.principle-card {
  min-width: 0;
  padding: 34px 40px 38px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.principle-card:first-child {
  padding-left: 0;
}
.principle-card:last-child {
  padding-right: 0;
  border-right: 0;
}
.principle-card > span {
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 25px;
}
.principle-card h3,
.practice-detail-card h3,
.article-list-card h3 {
  margin: 12px 0 11px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.08;
}
.principle-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
.practice-details {
  background:
    radial-gradient(circle at 80% 10%, rgba(21, 48, 72, 0.24), transparent 38%),
    var(--navy-deep);
}
.practice-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.practice-detail-card {
  min-width: 0;
  padding: 42px 48px 46px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.detail-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.detail-card-top span {
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 25px;
}
.detail-card-top img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}
.practice-detail-card > p {
  max-width: 520px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
.practice-detail-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: #d5d9dd;
  font-size: 13px;
  list-style: none;
}
.practice-detail-card li {
  position: relative;
  padding-left: 18px;
}
.practice-detail-card li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 1px;
  background: var(--gold);
}
.article-archive {
  background:
    radial-gradient(circle at 25% 0, rgba(21, 48, 72, 0.22), transparent 42%),
    var(--navy-deep);
}
.article-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.article-list-card {
  min-width: 0;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  padding: 36px 38px 40px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.article-list-card > p {
  margin: 0;
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.article-list-card h3 {
  font-size: 29px;
}
.article-list-card > span {
  margin-top: auto;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.site-footer {
  background: #03111e;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.footer-legal-image {
  min-height: 590px;
  background:
    linear-gradient(90deg, rgba(3, 17, 30, 0.08), rgba(3, 17, 30, 0.34)),
    linear-gradient(0deg, rgba(3, 17, 30, 0.38), transparent 48%),
    url("../images/home/footer-legal-consultation.png") center/cover no-repeat;
}
.footer-form-panel {
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 68px clamp(42px, 7vw, 112px);
  flex-direction: column;
  background:
    radial-gradient(circle at 80% 10%, rgba(30, 62, 88, 0.28), transparent 42%),
    var(--navy);
}
.footer-form-inner {
  width: min(100%, 610px);
}
.footer-form-inner h2 {
  margin: 15px 0 12px;
  font-family: var(--serif);
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 400;
  line-height: 1;
}
.footer-form-intro {
  max-width: 520px;
  margin: 0 0 27px;
  color: var(--muted);
  font-size: 14px;
}
.contact-form {
  display: grid;
  gap: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.form-field {
  min-width: 0;
  display: grid;
  gap: 7px;
}
.form-field span {
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.form-field input,
.form-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--ivory);
  font: 400 14px/1.5 var(--sans);
  transition: border-color 0.2s ease;
}
.form-field input {
  height: 42px;
}
.form-field textarea {
  min-height: 100px;
  padding: 9px 0;
  resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--gold-light);
}
.contact-form .button {
  margin-top: 4px;
  cursor: pointer;
}
.form-feedback {
  min-height: 20px;
  margin: -8px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.footer-contact-bar {
  /*border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);*/
  background: #061728;
}
.footer-form-panel .footer-contact-bar {
  margin-top: 48px;
}
.footer-form-panel .footer-contact-bar-inner,
.footer-form-panel .footer-base {
  width: 100%;
}
.footer-contact-bar-inner {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.footer-phone {
  display: flex;
  align-items: baseline;
  gap: 20px;
}
.footer-phone span {
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.footer-phone strong {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  white-space: nowrap;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  /*border: 1px solid rgba(255, 255, 255, 0.18);*/
  border-radius: 50%;
  color: var(--gold-light);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}
.footer-social a:hover,
.footer-social a:focus-visible {
  transform: translateY(-2px);
  border-color: var(--gold);
  background: rgba(224, 170, 120, 0.08);
}
.footer-social svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer-social .social-dot {
  fill: currentColor;
  stroke: none;
}
.footer-base {
  min-height: 124px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}
.footer-logo {
  width: min(220px, 42vw);
}
.footer-logo img {
  display: block;
  width: 100%;
  max-height: 76px;
  object-fit: contain;
  object-position: left center;
}
.footer-base p {
  margin: 0;
  color: #a7aeb7;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-align: right;
}

.whatsapp {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 90;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: #1f9d61;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}
.whatsapp:hover,
.whatsapp:focus-visible {
  transform: translateY(-3px);
  background: #25b96f;
}
.whatsapp svg {
  width: 27px;
  fill: white;
}
.reveal {
  opacity: 1;
  transform: none;
}

@media (max-width: 1050px) {
  .container {
    width: min(100% - 56px, 1320px);
  }
  .header-inner {
    gap: 26px;
  }
  .main-nav {
    gap: 26px;
  }
  .hero {
    min-height: 700px;
    background-position: 58% center;
  }
  .hero-copy {
    max-width: 520px;
  }
  .about-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
  }
  .about-statement {
    display: none;
  }
  .practice-card {
    padding: 0 36px;
  }
  .practice-card:first-child {
    padding-left: 36px;
  }
  .contact {
    grid-template-columns: 50% 50%;
  }
  .contact-content {
    padding-left: 42px;
  }
  .firm-story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
  }
  .legacy-card {
    min-height: auto;
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 28px;
    padding: 24px 0 24px 34px;
  }
  .legacy-card span {
    margin-top: 0;
  }
  .practice-detail-card {
    padding-inline: 36px;
  }
  .article-list-card {
    padding-inline: 28px;
  }
}

@media (max-width: 780px) {
  html {
    scroll-padding-top: 70px;
  }
  .container {
    width: min(100% - 40px, 680px);
  }
  .site-header,
  .site-header.is-fixed {
    height: 70px;
  }
  .site-header.is-fixed {
    position: fixed;
  }
  .header-inner {
    display: flex;
    justify-content: space-between;
  }
  .header-inner > .brand {
    max-width: calc(100% - 58px);
    padding-block: 10px;
  }
  .brand-name {
    font-size: 23px;
  }
  .brand-subtitle {
    margin-top: 6px;
    font-size: 6px;
  }
  .header-cta {
    display: none;
  }
  .menu-toggle {
    position: relative;
    z-index: 102;
    width: 42px;
    height: 42px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: transparent;
    color: white;
    cursor: pointer;
  }
  .menu-toggle span {
    width: 24px;
    height: 1px;
    background: currentColor;
    transition:
      transform 0.25s ease,
      opacity 0.2s ease;
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .main-nav {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    background: rgba(3, 17, 30, 0.98);
    font-family: var(--serif);
    font-size: 34px;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.25s ease,
      visibility 0.25s ease;
  }
  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
  }
  .hero {
    min-height: 760px;
    align-items: flex-end;
    padding-bottom: 68px;
    background-image:
      linear-gradient(
        0deg,
        rgba(2, 15, 27, 0.99) 0%,
        rgba(2, 15, 27, 0.9) 28%,
        rgba(2, 15, 27, 0.12) 64%
      ),
      linear-gradient(90deg, rgba(2, 15, 27, 0.4), rgba(2, 15, 27, 0.04)),
      url("../images/home/hero-lawyer.png");
    background-size:
      auto 100%,
      auto 100%,
      auto 100%;
    background-position:
      center,
      center,
      67% center;
  }
  .hero-inner {
    padding-top: 280px;
  }
  .hero-copy {
    max-width: 470px;
  }
  .hero h1 {
    font-size: clamp(48px, 13vw, 66px);
  }
  .hero-description {
    max-width: 360px;
  }
  .about {
    padding: 52px 0;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .values {
    padding-left: 24px;
  }
  .practice {
    padding: 36px 0 20px;
  }
  .practice-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 22px;
  }
  .practice-card,
  .practice-card:first-child {
    min-height: auto;
    display: block;
    padding: 20px 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 0;
  }
  .practice-card:last-child {
    border-right: 0;
  }
  .practice-icon {
    width: 34px;
    height: 34px;
    margin: 0 0 10px;
  }
  .practice-card h3 {
    font-size: 21px;
    line-height: 1.05;
  }
  .practice-card p {
    font-size: 12px;
    line-height: 1.45;
  }
  .contact {
    grid-template-columns: 1fr;
  }
  .contact-image {
    min-height: 280px;
    background-position: 32% center;
  }
  .contact-content {
    padding: 46px 20px 56px;
  }
  .contact-copy {
    width: min(100%, 680px);
    margin: auto;
  }
  .articles {
    padding: 54px 0 58px;
  }
  .articles-heading {
    margin-bottom: 28px;
  }
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .article-card,
  .article-card:first-child,
  .article-card:last-child {
    padding: 26px 0 28px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .article-card:last-child {
    border-bottom: 0;
  }
  .article-card h3 {
    font-size: 29px;
  }
  .page-hero {
    min-height: 520px;
    padding: 150px 0 62px;
  }
  .page-hero::before {
    background:
      linear-gradient(
        0deg,
        rgba(3, 17, 30, 0.97) 0%,
        rgba(3, 17, 30, 0.74) 48%,
        rgba(3, 17, 30, 0.24) 100%
      ),
      linear-gradient(90deg, rgba(3, 17, 30, 0.75), rgba(3, 17, 30, 0.14));
  }
  .page-hero-content h1 {
    font-size: clamp(48px, 12vw, 64px);
  }
  .page-section {
    padding: 62px 0;
  }
  .firm-story-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .firm-story-copy {
    padding-top: 0;
  }
  .legacy-card {
    grid-column: auto;
  }
  .principles-grid,
  .practice-detail-grid,
  .article-list-grid {
    grid-template-columns: 1fr;
  }
  .principle-card,
  .principle-card:first-child,
  .principle-card:last-child {
    padding: 28px 0 30px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .principle-card:last-child {
    border-bottom: 0;
  }
  .practice-detail-card {
    padding: 34px 28px 38px;
  }
  .article-list-card {
    min-height: 230px;
    padding: 30px 28px 34px;
  }
  .footer-contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-legal-image {
    min-height: 330px;
    background-position: 42% center;
  }
  .footer-form-panel {
    padding: 52px 20px 56px;
  }
  .footer-form-inner {
    width: min(100%, 680px);
    margin-inline: auto;
  }
  .footer-contact-bar-inner {
    min-height: 104px;
  }
  .footer-base {
    min-height: 112px;
  }
  .footer-logo {
    width: min(190px, 38vw);
  }
}

@media (max-width: 430px) {
  .container {
    width: min(100% - 32px, 680px);
  }
  .hero {
    min-height: 720px;
    background-position:
      center,
      center,
      65% center;
  }
  .hero-inner {
    padding-top: 250px;
  }
  .eyebrow {
    font-size: 10px;
  }
  .hero h1 {
    font-size: 46px;
  }
  .page-hero {
    min-height: 480px;
    padding-bottom: 52px;
  }
  .page-hero-content h1 {
    font-size: 44px;
  }
  .page-hero-content > p:last-child {
    font-size: 14px;
  }
  .page-section h2 {
    font-size: 40px;
  }
  .legacy-card strong {
    font-size: 60px;
  }
  .practice-detail-card {
    padding-inline: 20px;
  }
  .article-list-card {
    padding-inline: 20px;
  }
  .hero-description {
    font-size: 14px;
  }
  .button {
    padding-inline: 20px;
    gap: 21px;
  }
  .section h2,
  .contact h2 {
    font-size: 40px;
  }
  .values li {
    grid-template-columns: 44px 1fr;
  }
  .practice-card,
  .practice-card:first-child {
    padding-inline: 9px;
  }
  .practice-card h3 {
    font-size: 18px;
  }
  .practice-card p {
    font-size: 10px;
  }
  .contact-image {
    min-height: 225px;
  }
  .footer-legal-image {
    min-height: 250px;
  }
  .footer-form-panel {
    padding: 44px 16px 50px;
  }
  .footer-form-inner h2 {
    font-size: 40px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-contact-bar-inner {
    min-height: 126px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
  }
  .footer-phone {
    gap: 10px;
  }
  .footer-phone strong {
    font-size: 24px;
  }
  .footer-base {
    min-height: 106px;
    gap: 18px;
  }
  .footer-base p {
    max-width: 175px;
    font-size: 9px;
    line-height: 1.5;
  }
  .whatsapp {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
