:root {
  --white: #ffffff;
  --ivory: #fbf8f1;
  --linen: #f3eadb;
  --ink: #211d18;
  --muted: #6d6256;
  --line: #e7dcc9;
  --gold: #c8a45d;
  --gold-dark: #8c672c;
  --brown: #4b3828;
  --shadow: 0 22px 60px rgba(43, 34, 23, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(20px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(200, 164, 93, 0.24);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  line-height: 0;
}

.brand img {
  width: auto;
  height: 34px;
  object-fit: contain;
  border: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 34px);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav a.is-active {
  color: var(--brown);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.language-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, 1fr);
  min-width: 86px;
  padding: 3px;
  background: var(--ivory);
  border: 1px solid var(--line);
}

.lang-button {
  min-height: 34px;
  padding: 6px 10px;
  color: var(--muted);
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.lang-button.is-active {
  color: var(--white);
  background: var(--brown);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--brown);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  align-items: end;
  min-height: calc(100vh - 76px);
  padding: clamp(72px, 9vw, 128px) clamp(20px, 5vw, 80px) clamp(36px, 5vw, 64px);
  overflow: hidden;
  background: var(--white);
}

.hero::before {
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(0deg, var(--white), rgba(255, 255, 255, 0));
  content: "";
  pointer-events: none;
}

.hero-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(58vw, 820px);
  opacity: 0.72;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding-bottom: clamp(42px, 7vw, 90px);
}

.hero-brand-mark {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  max-width: 100%;
  width: 100%;
  margin-bottom: 0;
}

.hero-brand-mark img {
  width: clamp(300px, 36vw, 520px);
  height: auto;
  flex: 0 0 auto;
  margin-left: -10px;
  object-fit: contain;
  border: 0;
  box-shadow: none;
  opacity: 0;
  transform: translateY(18px);
  animation: fade-up 680ms ease 120ms forwards;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.08;
  overflow-wrap: break-word;
}

h1 {
  max-width: 900px;
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 7rem;
  font-weight: 700;
}

h2 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.75rem;
  font-weight: 700;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.24rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid var(--gold);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: var(--brown);
  border-color: var(--brown);
}

.button.primary:hover,
.button.primary:focus-visible {
  color: var(--brown);
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 14px 34px rgba(200, 164, 93, 0.24);
}

.button.secondary {
  color: var(--brown);
  background: rgba(255, 255, 255, 0.76);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  color: var(--white);
  background: var(--brown);
  border-color: var(--brown);
  box-shadow: 0 14px 34px rgba(75, 56, 40, 0.16);
}

.whatsapp-button {
  gap: 10px;
}

.whatsapp-button svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: currentColor;
}

.inline-button {
  margin-top: 24px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 20px;
  color: var(--gold-dark);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 180ms ease, transform 180ms ease;
}

.text-link::after {
  width: 16px;
  height: 16px;
  background: currentColor;
  content: "";
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 12h12.2l-5-5L14 5.2 22 13l-8 7.8-1.8-1.8 5-5H5v-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 12h12.2l-5-5L14 5.2 22 13l-8 7.8-1.8-1.8 5-5H5v-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 180ms ease;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--brown);
  transform: translateX(2px);
}

.text-link:hover::after,
.text-link:focus-visible::after {
  transform: translateX(3px);
}

.text-link.light {
  color: var(--gold);
}

.text-link.light:hover,
.text-link.light:focus-visible {
  color: var(--white);
}

.hero-panel {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1px;
  align-self: end;
  background: rgba(200, 164, 93, 0.55);
  box-shadow: var(--shadow);
}

.hero-panel div {
  position: relative;
  overflow: hidden;
  padding: 24px;
  background: rgba(255, 255, 255, 0.92);
}

.hero-panel div::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), rgba(200, 164, 93, 0));
  content: "";
}

.hero-panel strong {
  display: block;
  color: var(--gold-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1;
}

.hero-panel .stat-number {
  min-width: 2.4ch;
  font-variant-numeric: tabular-nums;
}

.hero-panel .stat-location {
  color: var(--brown);
  font-size: 1.8rem;
}

.hero-panel span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.section,
.intro-band,
.values-band,
.clients-band,
.contact-band {
  padding: clamp(72px, 8vw, 124px) clamp(20px, 5vw, 80px);
}

.section-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: start;
}

.intro-split {
  align-items: center;
  grid-template-columns: minmax(300px, 0.95fr) minmax(320px, 0.9fr);
}

.accent-title {
  color: var(--brown);
  background: linear-gradient(110deg, var(--brown) 0%, var(--brown) 42%, var(--gold-dark) 64%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .accent-title {
    -webkit-text-fill-color: transparent;
  }
}

.intro-copy {
  position: relative;
  max-width: 620px;
  padding: clamp(24px, 3vw, 34px) 0 clamp(24px, 3vw, 34px) clamp(24px, 3vw, 38px);
  border-left: 1px solid rgba(200, 164, 93, 0.5);
}

.intro-copy::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -1px;
  width: 3px;
  height: 42%;
  margin: auto 0;
  background: var(--gold);
  content: "";
}

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

.section-heading.centered {
  margin-right: auto;
  margin-bottom: 44px;
  margin-left: auto;
  text-align: center;
}

.prose {
  color: var(--muted);
  font-size: 1.04rem;
}

.prose p {
  margin-bottom: 18px;
}

.page-hero.about-hero {
  position: relative;
  min-height: min(520px, 70vh);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.88) 48%, rgba(255, 255, 255, 0.42) 100%),
    url("assets/legal-documents-desk.jpg") right center / cover no-repeat;
}

.about-hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), var(--white)),
    radial-gradient(circle at 20% 24%, rgba(200, 164, 93, 0.18), rgba(200, 164, 93, 0) 34%);
  content: "";
  pointer-events: none;
}

.about-hero::after {
  position: absolute;
  right: clamp(20px, 6vw, 86px);
  bottom: clamp(22px, 5vw, 70px);
  width: clamp(92px, 12vw, 170px);
  height: 4px;
  background: linear-gradient(90deg, var(--gold), rgba(200, 164, 93, 0));
  content: "";
}

.page-heading.about-hero-content {
  position: relative;
  z-index: 1;
  padding-top: clamp(62px, 8vw, 110px);
  padding-bottom: clamp(54px, 7vw, 96px);
  text-align: left;
}

.about-hero h1 {
  color: var(--brown);
  background: linear-gradient(110deg, var(--brown), var(--gold-dark), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .about-hero h1 {
    -webkit-text-fill-color: transparent;
  }
}

.about-services {
  background:
    linear-gradient(180deg, var(--white), rgba(251, 248, 241, 0.78));
}

.about-services-grid {
  align-items: center;
}

.about-services .section-heading h2 {
  color: var(--brown);
}

.about-service-panel {
  display: grid;
  gap: 12px;
}

.about-service-panel p {
  position: relative;
  margin: 0;
  padding: 18px 20px 18px 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(200, 164, 93, 0.28);
  box-shadow: 0 14px 38px rgba(33, 29, 24, 0.06);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.about-service-panel p::before {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 4px;
  background: var(--gold);
  content: "";
}

@media (hover: hover) and (pointer: fine) {
  .about-service-panel p:hover {
    transform: translateY(-4px);
    border-color: rgba(200, 164, 93, 0.68);
    box-shadow: 0 20px 48px rgba(33, 29, 24, 0.1);
  }
}

.values-band.about-values {
  padding-top: clamp(54px, 7vw, 92px);
  background: linear-gradient(180deg, var(--ivory), var(--white));
}

.about-values .value-grid {
  gap: 16px;
  border: 0;
}

.about-values .value-grid>div {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(200, 164, 93, 0.28);
  box-shadow: 0 18px 46px rgba(33, 29, 24, 0.08);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.about-values .value-grid>div::after {
  position: absolute;
  right: -38px;
  bottom: -38px;
  width: 118px;
  height: 118px;
  background: radial-gradient(circle, rgba(200, 164, 93, 0.18), rgba(200, 164, 93, 0));
  content: "";
  pointer-events: none;
}

.about-values .value-grid>div:last-child {
  border-right: 1px solid rgba(200, 164, 93, 0.28);
}

.about-values .value-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 24px;
  color: var(--brown);
  background: var(--ivory);
  border: 1px solid rgba(200, 164, 93, 0.42);
  letter-spacing: 0;
}

.about-values h3 {
  color: var(--brown);
}

@media (hover: hover) and (pointer: fine) {
  .about-values .value-grid>div:hover {
    transform: translateY(-8px);
    border-color: rgba(200, 164, 93, 0.72);
    box-shadow: 0 28px 64px rgba(33, 29, 24, 0.13);
  }
}

.values-band {
  padding-top: 0;
  background: linear-gradient(180deg, var(--white), var(--ivory));
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.value-grid>div {
  min-height: 240px;
  padding: clamp(28px, 4vw, 46px);
  border-right: 1px solid var(--line);
}

.value-grid>div:last-child {
  border-right: 0;
}

.value-number,
.practice-kicker,
.role {
  display: block;
  color: var(--gold-dark);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.value-grid p,
.practice-card li,
.client-copy p,
.team-card p,
.contact-band p,
.image-statement p {
  color: var(--muted);
}

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

.practice-card {
  min-height: 520px;
  padding: clamp(26px, 3vw, 36px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 46px rgba(33, 29, 24, 0.08);
}

.practice-card.feature {
  color: var(--white);
  background: linear-gradient(160deg, var(--brown), #2e261f);
  border-color: var(--brown);
}

.practice-card.feature h3,
.practice-card.feature h2,
.practice-card.feature li,
.practice-card.feature p {
  color: var(--white);
}

.practice-card.feature .practice-kicker {
  color: var(--gold);
}

.practice-card ul {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.practice-card li {
  position: relative;
  padding-left: 22px;
}

.practice-card li::before {
  position: absolute;
  top: 0.66em;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--gold);
  content: "";
  transform: rotate(45deg);
}

.practice-card p {
  color: var(--muted);
}

.compact-grid .practice-card {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  border-color: rgba(200, 164, 93, 0.34);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.compact-grid .practice-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), rgba(200, 164, 93, 0.15));
  content: "";
}

.compact-grid .practice-card::after {
  position: absolute;
  right: -44px;
  bottom: -44px;
  width: 128px;
  height: 128px;
  background: radial-gradient(circle, rgba(200, 164, 93, 0.18), rgba(200, 164, 93, 0));
  content: "";
  pointer-events: none;
}

.compact-grid .practice-card h3 {
  margin-top: 18px;
}

.compact-grid .practice-card p {
  min-height: 104px;
}

.compact-grid .practice-card .text-link {
  margin-top: 8px;
}

.compact-grid .practice-card.feature {
  box-shadow: 0 24px 60px rgba(46, 38, 31, 0.18);
}

.compact-grid .practice-card.feature::before {
  background: linear-gradient(90deg, var(--gold), rgba(255, 255, 255, 0.18));
}

@media (hover: hover) and (pointer: fine) {

  .compact-grid .practice-card:hover,
  .compact-grid .practice-card:focus-within {
    transform: translateY(-10px);
    border-color: rgba(200, 164, 93, 0.82);
    box-shadow: 0 28px 70px rgba(33, 29, 24, 0.16);
  }

  .compact-grid .practice-card.feature:hover,
  .compact-grid .practice-card.feature:focus-within {
    box-shadow: 0 32px 78px rgba(46, 38, 31, 0.26);
  }

  .compact-grid .practice-card:hover .practice-kicker,
  .compact-grid .practice-card:focus-within .practice-kicker {
    color: var(--gold);
  }
}

.practice-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.detail-card {
  min-height: 0;
}

.detail-card h2 {
  font-size: 2.1rem;
}

.page-hero.practice-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(251, 248, 241, 0.84)),
    url("assets/hero-legal-desk.jpg") center / cover no-repeat;
}

.practice-hero::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 28%, rgba(200, 164, 93, 0.2), rgba(200, 164, 93, 0) 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0), var(--white));
  content: "";
  pointer-events: none;
}

.practice-hero::after {
  position: absolute;
  right: clamp(20px, 6vw, 88px);
  bottom: clamp(18px, 5vw, 58px);
  width: clamp(96px, 14vw, 190px);
  height: 4px;
  background: linear-gradient(90deg, var(--gold), rgba(200, 164, 93, 0));
  content: "";
}

.practice-hero-heading {
  position: relative;
  z-index: 1;
}

.practice-hero h1 {
  color: var(--brown);
  background: linear-gradient(110deg, var(--brown), var(--gold-dark), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .practice-hero h1 {
    -webkit-text-fill-color: transparent;
  }
}

.practice-detail-section {
  background:
    linear-gradient(180deg, var(--white), var(--ivory));
}

.practice-detail-section .practice-detail-grid {
  gap: clamp(18px, 2.4vw, 28px);
  align-items: stretch;
}

.practice-detail-section .detail-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(200, 164, 93, 0.32);
  box-shadow: 0 18px 48px rgba(33, 29, 24, 0.08);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.practice-detail-section .detail-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), rgba(200, 164, 93, 0.12));
  content: "";
}

.practice-detail-section .detail-card::after {
  position: absolute;
  right: -52px;
  bottom: -52px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(200, 164, 93, 0.17), rgba(200, 164, 93, 0));
  content: "";
  pointer-events: none;
}

.practice-detail-section .detail-card.feature::before {
  background: linear-gradient(90deg, var(--gold), rgba(255, 255, 255, 0.22));
}

.practice-detail-section .detail-card h2 {
  margin-top: 20px;
  color: var(--brown);
}

.practice-detail-section .detail-card.feature h2 {
  color: var(--white);
}

.practice-detail-section .practice-card ul {
  gap: 10px;
}

.practice-detail-section .practice-card li {
  padding: 10px 12px 10px 32px;
  background: rgba(251, 248, 241, 0.82);
  border: 1px solid rgba(200, 164, 93, 0.22);
}

.practice-detail-section .practice-card li::before {
  top: 1.22em;
  left: 13px;
}

.practice-detail-section .practice-card.feature li {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.practice-detail-section .practice-card.feature li::before {
  background: var(--gold);
}

.practice-detail-section .detail-card>p {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(200, 164, 93, 0.26);
}

@media (hover: hover) and (pointer: fine) {
  .practice-detail-section .detail-card:hover {
    transform: translateY(-8px);
    border-color: rgba(200, 164, 93, 0.74);
    box-shadow: 0 30px 70px rgba(33, 29, 24, 0.14);
  }
}

.image-statement {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  align-items: center;
  background: var(--ivory);
}

.image-statement img {
  width: 100%;
  height: min(520px, 60vw);
  min-height: 340px;
  object-fit: cover;
}

.image-statement div {
  max-width: 620px;
  padding: clamp(44px, 7vw, 86px);
}

.about-relationship {
  background:
    linear-gradient(135deg, rgba(75, 56, 40, 0.96), rgba(33, 29, 24, 0.98)),
    var(--brown);
}

.about-relationship img {
  filter: saturate(0.82) contrast(1.04);
}

.about-relationship div {
  position: relative;
}

.about-relationship div::before {
  position: absolute;
  top: clamp(30px, 5vw, 58px);
  bottom: clamp(30px, 5vw, 58px);
  left: clamp(24px, 4vw, 50px);
  width: 3px;
  background: var(--gold);
  content: "";
}

.about-relationship .eyebrow {
  color: var(--gold);
}

.about-relationship h2,
.about-relationship p {
  color: var(--white);
}

.about-relationship p {
  color: rgba(255, 255, 255, 0.78);
}

.about-relationship .button.primary {
  color: var(--brown);
  background: var(--gold);
  border-color: var(--gold);
}

.about-relationship .button.primary:hover,
.about-relationship .button.primary:focus-visible {
  color: var(--brown);
  background: var(--white);
  border-color: var(--white);
}

.clients-band {
  background: var(--white);
}

.page-hero.clients-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(95deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.86) 54%, rgba(255, 255, 255, 0.42) 100%),
    url("assets/hero-legal-desk.jpg") center / cover no-repeat;
}

.clients-hero::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 26%, rgba(200, 164, 93, 0.2), rgba(200, 164, 93, 0) 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0), var(--white));
  content: "";
  pointer-events: none;
}

.clients-hero::after {
  position: absolute;
  right: clamp(20px, 6vw, 88px);
  bottom: clamp(18px, 5vw, 58px);
  width: clamp(96px, 14vw, 190px);
  height: 4px;
  background: linear-gradient(90deg, var(--gold), rgba(200, 164, 93, 0));
  content: "";
}

.page-heading.clients-hero-content {
  position: relative;
  z-index: 1;
  text-align: left;
}

.clients-hero h1 {
  color: var(--brown);
  background: linear-gradient(110deg, var(--brown), var(--gold-dark), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .clients-hero h1 {
    -webkit-text-fill-color: transparent;
  }
}

.clients-directory-section {
  background:
    linear-gradient(180deg, var(--white), rgba(251, 248, 241, 0.76));
}

.clients-page-heading {
  max-width: 760px;
  margin-bottom: clamp(28px, 4vw, 46px);
}

.clients-page-heading h2 {
  color: var(--brown);
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
}

.clients-page-heading p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
}

.client-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 1.15fr);
  gap: clamp(32px, 5vw, 70px);
  align-items: start;
  margin-top: 34px;
}

.client-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 34px;
}

.client-list span {
  padding: 9px 12px;
  color: var(--brown);
  background: var(--ivory);
  border: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 700;
}

.client-directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  counter-reset: client;
}

.client-directory span {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 76px;
  padding: 16px 18px 16px 58px;
  color: var(--brown);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(200, 164, 93, 0.3);
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 12px 34px rgba(33, 29, 24, 0.05);
  transition: transform 190ms ease, border-color 190ms ease, box-shadow 190ms ease, background 190ms ease;
  counter-increment: client;
}

.client-directory span::before {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--gold-dark);
  background: var(--ivory);
  border: 1px solid rgba(200, 164, 93, 0.42);
  content: counter(client, decimal-leading-zero);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0;
}

@media (hover: hover) and (pointer: fine) {
  .client-directory span:hover {
    transform: translateY(-5px);
    background: var(--white);
    border-color: rgba(200, 164, 93, 0.72);
    box-shadow: 0 22px 48px rgba(33, 29, 24, 0.11);
  }
}

.credentials-section {
  background:
    linear-gradient(180deg, var(--ivory), var(--white));
  border-top: 1px solid var(--line);
}

.credentials-section .logo-carousel {
  padding: 8px 4px 22px;
}

.credentials-section .logo-slide {
  border-color: rgba(200, 164, 93, 0.3);
  box-shadow: 0 14px 36px rgba(33, 29, 24, 0.07);
  transition: transform 190ms ease, border-color 190ms ease, box-shadow 190ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .credentials-section .logo-slide:hover {
    transform: translateY(-5px);
    border-color: rgba(200, 164, 93, 0.74);
    box-shadow: 0 24px 54px rgba(33, 29, 24, 0.13);
  }
}

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

.logo-grid img {
  width: 100%;
  height: 112px;
  padding: 16px;
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--line);
}

.logo-grid-wide {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.logo-carousel {
  display: flex;
  gap: 14px;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 4px 4px 16px;
  scroll-padding: 4px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.logo-carousel::-webkit-scrollbar {
  height: 8px;
}

.logo-carousel::-webkit-scrollbar-track {
  background: var(--linen);
}

.logo-carousel::-webkit-scrollbar-thumb {
  background: var(--gold);
}

.logo-slide {
  display: flex;
  flex: 0 0 168px;
  align-items: center;
  justify-content: center;
  height: 126px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  scroll-snap-align: start;
}

.wide-carousel .logo-slide {
  flex-basis: 190px;
  height: 140px;
}

.logo-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.page-hero.team-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(95deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.88) 52%, rgba(255, 255, 255, 0.44) 100%),
    url("assets/hero-legal-desk.jpg") center / cover no-repeat;
}

.team-hero::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 28%, rgba(200, 164, 93, 0.2), rgba(200, 164, 93, 0) 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0), var(--white));
  content: "";
  pointer-events: none;
}

.team-hero::after {
  position: absolute;
  right: clamp(20px, 6vw, 88px);
  bottom: clamp(18px, 5vw, 58px);
  width: clamp(96px, 14vw, 190px);
  height: 4px;
  background: linear-gradient(90deg, var(--gold), rgba(200, 164, 93, 0));
  content: "";
}

.page-heading.team-hero-content {
  position: relative;
  z-index: 1;
  text-align: left;
}

.team-hero h1 {
  color: var(--brown);
  background: linear-gradient(110deg, var(--brown), var(--gold-dark), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .team-hero h1 {
    -webkit-text-fill-color: transparent;
  }
}

section.team-section {
  background:
    linear-gradient(180deg, var(--white), rgba(251, 248, 241, 0.78));
}

.team-page-heading {
  max-width: 780px;
  margin-bottom: clamp(28px, 4vw, 46px);
}

.team-page-heading h2 {
  color: var(--brown);
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
}

.team-page-heading p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
}

.team-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 46px rgba(33, 29, 24, 0.08);
}

.team-section .team-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(200, 164, 93, 0.3);
  box-shadow: 0 18px 48px rgba(33, 29, 24, 0.08);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.team-section .team-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), rgba(200, 164, 93, 0.12));
  content: "";
}

.team-section .team-card::after {
  position: absolute;
  right: -48px;
  bottom: -48px;
  width: 138px;
  height: 138px;
  background: radial-gradient(circle, rgba(200, 164, 93, 0.17), rgba(200, 164, 93, 0));
  content: "";
  pointer-events: none;
}

.team-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  background: var(--linen);
}

.team-section .team-card img {
  filter: saturate(0.9) contrast(1.03);
  transition: filter 220ms ease, transform 220ms ease;
}

.team-card div {
  padding: 22px;
}

.team-section .team-card div {
  position: relative;
  z-index: 1;
  padding: 24px;
}

.team-card h3 {
  margin: 0 0 12px;
  font-size: 1.02rem;
  line-height: 1.2;
}

.team-section .team-card h3 {
  margin: 0 0 12px;
  color: var(--brown);
  font-size: 1.08rem;
  line-height: 1.2;
}

.team-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.42;
}

.team-card p:not(.role)+p:not(.role) {
  margin-top: 3px;
}

.team-section .team-card p:not(.role) {
  margin: 0;
  color: var(--muted);
  line-height: 1.42;
}

.team-section .team-card p:not(.role)+p:not(.role) {
  margin-top: 3px;
}

.role {
  margin: 0 0 9px;
  line-height: 1.2;
}

.team-section .role {
  margin: 0 0 9px;
  color: var(--gold-dark);
  font-size: 0.72rem;
  line-height: 1.2;
}

@media (hover: hover) and (pointer: fine) {
  .team-section .team-card:hover {
    transform: translateY(-8px);
    border-color: rgba(200, 164, 93, 0.74);
    box-shadow: 0 30px 70px rgba(33, 29, 24, 0.14);
  }

  .team-section .team-card:hover img {
    filter: saturate(1) contrast(1.06);
    transform: scale(1.025);
  }
}

.contact-band {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(75, 56, 40, 0.96), rgba(33, 29, 24, 0.96)),
    var(--brown);
}

.contact-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.contact-band h2,
.contact-band p {
  color: var(--white);
}

.contact-band .eyebrow {
  color: var(--gold);
}

.contact-band .button.primary {
  color: var(--brown);
  background: var(--gold);
  border-color: var(--gold);
}

.contact-band .button.secondary {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
}

.contact-band .button.primary:hover,
.contact-band .button.primary:focus-visible,
.contact-band .button.secondary:hover,
.contact-band .button.secondary:focus-visible {
  color: var(--brown);
  background: var(--white);
  border-color: var(--white);
}

.page-hero {
  padding: clamp(76px, 10vw, 138px) clamp(20px, 5vw, 80px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.74)),
    url("assets/hero-legal-desk.jpg") center / cover no-repeat;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin-bottom: 0;
  font-size: clamp(3.4rem, 8vw, 6.4rem);
}

.page-heading {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.page-heading h1 {
  margin-bottom: 20px;
}

.page-heading p:not(.eyebrow) {
  margin: 0 auto;
  color: var(--brown);
  font-size: 1.1rem;
}

.lead-copy {
  width: min(680px, 100%);
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.12rem;
}

.centered-page-heading {
  text-align: center;
}

#team .section-heading.centered,
.centered-page-heading {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.contact-card,
.contact-form {
  padding: clamp(24px, 4vw, 40px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 46px rgba(33, 29, 24, 0.08);
}

.contact-card h2 {
  color: var(--brown);
  background: linear-gradient(110deg, var(--brown), var(--gold-dark), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 2.35rem;
}

.page-hero.contact-hero h1 {
  color: var(--brown);
  background: linear-gradient(110deg, var(--brown) 0%, var(--gold-dark) 58%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {

  .page-hero.contact-hero h1,
  .contact-card h2 {
    -webkit-text-fill-color: transparent;
  }
}

.stacked-actions {
  flex-direction: column;
  align-items: stretch;
  margin-top: 26px;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--brown);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 0;
  font: inherit;
  letter-spacing: 0;
  text-transform: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(200, 164, 93, 0.55);
  outline-offset: 2px;
}

.map-section iframe {
  display: block;
  width: 100%;
  height: min(42vh, 340px);
  min-height: 260px;
  border: 0;
}

.footer-contact-section {
  padding: clamp(56px, 7vw, 96px) clamp(20px, 5vw, 80px);
  background: var(--ivory);
  border-top: 1px solid var(--line);
}

.footer-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(20px, 4vw, 44px);
  align-items: stretch;
}

.footer-map {
  display: grid;
  grid-template-rows: 1fr auto auto;
  height: 100%;
  min-height: 100%;
}

.footer-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 1px solid var(--line);
}

.map-address {
  display: grid;
  gap: 2px;
  padding: 12px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-style: normal;
  line-height: 1.45;
}

.map-address strong {
  color: var(--brown);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  letter-spacing: 0.06em;
}

.map-address span {
  display: block;
}

.contact-shortcut-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 14px;
}

.contact-shortcut {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  width: fit-content;
  padding: 10px 14px;
  color: var(--white);
  background: var(--brown);
  border: 1px solid var(--brown);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease;
}

.contact-shortcut svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex: 0 0 auto;
}

.contact-shortcut:hover,
.contact-shortcut:focus-visible {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
}

.footer-email-form h2 {
  font-size: 2.35rem;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes soft-zoom {
  from {
    transform: scale(1.04);
  }

  to {
    transform: scale(1);
  }
}

@keyframes title-sheen {
  from {
    background-position: 0% 50%;
  }

  to {
    background-position: 100% 50%;
  }
}

@keyframes title-rule {
  to {
    transform: scaleX(1);
  }
}

.site-header {
  animation: fade-in 520ms ease both;
}

.hero-media img {
  animation: soft-zoom 1800ms ease-out both;
}

.hero-content .eyebrow,
.hero-actions,
.hero-panel div {
  opacity: 0;
  animation: fade-up 680ms ease forwards;
}

.hero-content .eyebrow {
  animation-delay: 80ms;
}

.hero-actions {
  animation-delay: 240ms;
}

.hero-panel div:nth-child(1) {
  animation-delay: 320ms;
}

.hero-panel div:nth-child(2) {
  animation-delay: 400ms;
}

.hero-panel div:nth-child(3) {
  animation-delay: 480ms;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.practice-card.reveal,
.team-card.reveal,
.client-directory span.reveal,
.client-list span.reveal,
.logo-slide.reveal,
.value-grid>div.reveal {
  transform: translateY(22px) scale(0.985);
}

.footer-map.reveal {
  transform: translateX(-18px);
}

.contact-form.reveal {
  transform: translateX(18px);
}

.practice-grid .practice-card:nth-child(2).reveal,
.team-grid .team-card:nth-child(2).reveal,
.client-list span:nth-child(2).reveal,
.logo-carousel .logo-slide:nth-child(2).reveal {
  transition-delay: 80ms;
}

.practice-grid .practice-card:nth-child(3).reveal,
.team-grid .team-card:nth-child(3).reveal,
.client-list span:nth-child(3).reveal,
.logo-carousel .logo-slide:nth-child(3).reveal {
  transition-delay: 140ms;
}

.team-grid .team-card:nth-child(4).reveal,
.client-list span:nth-child(4).reveal,
.logo-carousel .logo-slide:nth-child(4).reveal {
  transition-delay: 200ms;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  padding: 26px clamp(20px, 5vw, 80px);
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  h1 {
    font-size: 5.2rem;
  }

  h2 {
    font-size: 3rem;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-media {
    display: none;
  }

  .hero-content {
    padding-bottom: 36px;
  }

  .hero-brand-mark img {
    margin-left: -6px;
  }

  .split,
  .client-layout,
  .image-statement {
    grid-template-columns: 1fr;
  }

  .intro-copy {
    max-width: none;
    padding: 26px 0 0;
    border-top: 1px solid rgba(200, 164, 93, 0.5);
    border-left: 0;
  }

  .intro-copy::before {
    top: -1px;
    bottom: auto;
    left: 0;
    width: 92px;
    height: 3px;
    margin: 0;
  }

  .page-hero.about-hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.92), var(--white)),
      url("assets/legal-documents-desk.jpg") center / cover no-repeat;
  }

  .page-hero.practice-hero {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.92), var(--white)),
      url("assets/hero-legal-desk.jpg") center / cover no-repeat;
  }

  .page-hero.clients-hero {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.92), var(--white)),
      url("assets/hero-legal-desk.jpg") center / cover no-repeat;
  }

  .page-hero.team-hero {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.92), var(--white)),
      url("assets/hero-legal-desk.jpg") center / cover no-repeat;
  }

  .about-service-panel p {
    padding: 16px 16px 16px 20px;
  }

  .about-values .value-grid {
    gap: 12px;
  }

  .about-relationship div::before {
    top: 34px;
    bottom: auto;
    left: clamp(24px, 7vw, 44px);
    width: 72px;
    height: 3px;
  }

  .practice-detail-section .practice-card li {
    padding: 9px 10px 9px 28px;
  }

  .practice-detail-section .practice-card li::before {
    left: 11px;
  }

  .client-directory span {
    min-height: 70px;
    padding: 14px 14px 14px 54px;
  }

  .team-section .team-card div {
    padding: 22px;
  }

  .value-grid,
  .practice-grid,
  .practice-detail-grid,
  .contact-page-grid,
  .footer-contact-grid {
    grid-template-columns: 1fr;
  }

  .value-grid>div {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .value-grid>div:last-child {
    border-bottom: 0;
  }

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

  .practice-card {
    min-height: 0;
  }

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

  .logo-grid-wide {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-layout {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 900px) {
  .site-header {
    min-height: 68px;
    padding: 10px 18px;
    gap: 12px;
  }

  .brand img {
    height: 30px;
  }

  .header-actions {
    gap: 8px;
  }

  .language-switch {
    min-width: 76px;
  }

  .lang-button {
    min-height: 32px;
    padding: 5px 8px;
    font-size: 0.72rem;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 68px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 8px 18px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 48px rgba(33, 29, 24, 0.14);
    transform: translateY(-130%);
    transition: transform 180ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
  }

  .site-nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero {
    padding: 70px 18px 34px;
  }

  h1 {
    font-size: 3.55rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  h3 {
    font-size: 1.12rem;
  }

  .hero-media {
    opacity: 0.28;
  }

  .hero-media img {
    object-position: 70% center;
  }

  .hero-content {
    padding-bottom: 28px;
  }

  .hero-brand-mark {
    gap: 0;
    margin-bottom: 0;
  }

  .hero-brand-mark img {
    width: 230px;
    height: auto;
    margin-left: 0;
  }

  .hero-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-panel strong {
    font-size: 1.6rem;
  }

  .hero-panel span {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .hero-panel div {
    padding: 16px 14px;
  }

  .section,
  .intro-band,
  .values-band,
  .clients-band,
  .contact-band {
    padding-right: 18px;
    padding-left: 18px;
  }

  .section-heading.centered {
    text-align: left;
  }

  .page-hero h1 {
    font-size: 3.3rem;
  }

  .footer-map iframe {
    min-height: 280px;
  }

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

  .logo-grid img {
    height: 96px;
  }

  .logo-slide {
    flex-basis: 150px;
    height: 112px;
  }

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

  .image-statement img {
    height: 58vw;
    min-height: 260px;
  }

  .image-statement div {
    padding: 34px 18px 42px;
  }

  .center-action {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding-right: 12px;
    padding-left: 12px;
  }

  .brand img {
    height: 24px;
  }

  .nav-toggle {
    width: 38px;
    height: 38px;
    padding: 8px;
  }

  .language-switch {
    min-width: 68px;
    padding: 2px;
  }

  .lang-button {
    min-height: 30px;
    padding: 4px 7px;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-brand-mark {
    gap: 0;
  }

  .hero-brand-mark img {
    width: 190px;
    height: auto;
    margin-left: -6px;
  }

  h1 {
    font-size: 2.85rem;
  }

  h2 {
    font-size: 2rem;
  }

  .eyebrow {
    font-size: 0.68rem;
    line-height: 1.4;
  }

  .hero-actions,
  .contact-actions {
    width: 100%;
  }

  .button {
    width: 100%;
    min-height: 46px;
  }

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

  .client-directory,
  .logo-grid-wide {
    grid-template-columns: 1fr;
  }

  .logo-carousel {
    gap: 10px;
    padding-bottom: 14px;
  }

  .logo-slide,
  .wide-carousel .logo-slide {
    flex-basis: 138px;
    height: 104px;
    padding: 14px;
  }

  .hero-panel {
    grid-template-columns: 1fr;
  }

  .hero-panel div {
    padding: 16px;
  }

  .client-list span {
    width: 100%;
  }

  .page-hero {
    padding: 64px 18px;
  }

  .page-hero h1 {
    font-size: 2.7rem;
  }

  .contact-card,
  .contact-form {
    padding: 22px 18px;
  }
}

@media (max-width: 380px) {
  .header-actions {
    margin-left: auto;
  }

  h1 {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 1.86rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
