:root {
  --ink: #17181c;
  --ink-2: #22242a;
  --ox: #8e3426;
  --ox-dark: #6e2718;
  --ox-light: #a94734;
  --paper: #f4f4f2;
  --paper-2: #eae9e5;
  --stone: #d6d4ce;
  --brass: #b08d57;
  --muted: #5c5e66;
  --container-max: 1320px;
  --nav-breakpoint: 1200px;
  --site-chrome-height: 88px;
  --pad: 45px;
  --serif: "Faustina", Georgia, serif;
  --sans: "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.body--nav-open {
  overflow: hidden;
}

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

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

:focus-visible {
  outline: 2px solid var(--ox);
  outline-offset: 3px;
}

/* ---------- container ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.about__grid > *,
.values__grid > *,
.contact__grid > *,
.practice__grid > *,
.cases__grid > *,
.footer__top > *,
.contact-form__row > *,
.values__items > * {
  min-width: 0;
}

.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
  max-width: 100%;
}

/* ---------- scale rule ---------- */
.scale-rule {
  display: block;
  width: 132px;
  height: 20px;
  overflow: visible;
}

.scale-rule__beam {
  stroke: var(--ox);
  stroke-width: 1.6;
  fill: none;
}

.scale-rule__pan {
  fill: var(--ox);
}

.scale-rule--light .scale-rule__beam {
  stroke: var(--brass);
}

.scale-rule--light .scale-rule__pan {
  fill: var(--brass);
}

/* ---------- eyebrow ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ox);
  margin: 0 0 14px;
}

.eyebrow--light {
  color: var(--brass);
}

/* ---------- headings ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}

.heading-lg {
  font-size: clamp(30px, 2.6vw, 44px);
  line-height: 1.12;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  padding: 19px 38px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  max-width: 100%;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.btn--primary {
  background: var(--ox);
  color: #fff;
  border-color: var(--ox);
}

.btn--primary:hover {
  background: var(--ox-dark);
  border-color: var(--ox-dark);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.btn--sm {
  font-size: 16px;
  padding: 14px 28px;
}

.btn--spaced {
  margin-top: 30px;
}

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--paper);
  border-bottom: 1px solid var(--stone);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 34px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.header__brand {
  flex: 0 0 auto;
  flex-shrink: 0;
}

.header__brand-img {
  width: 205px;
  height: auto;
  flex-shrink: 0;
  max-width: none;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.header__nav-link {
  font-size: clamp(14px, 1.05vw, 16px);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  flex-shrink: 0;
}

.header__nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1.5px;
  background: var(--ox);
  transition: right 0.3s ease;
}

.header__nav-link:hover::after,
.header__nav-link--active::after {
  right: 0;
}

.header__cta {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 0 0 auto;
  flex-shrink: 0;
}

.header__tel {
  font-family: var(--serif);
  font-size: clamp(18px, 1.4vw, 22px);
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.header__tel small {
  display: block;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1;
}

.header__cta .btn {
  font-size: clamp(13px, 1vw, 16px);
  padding: clamp(10px, 0.9vw, 14px) clamp(16px, 1.5vw, 28px);
  flex-shrink: 0;
  white-space: nowrap;
}

.header__burger {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  z-index: 70;
}

.header__burger-line {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.header--nav-open .header__burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header--nav-open .header__burger-line:nth-child(2) {
  opacity: 0;
}

.header--nav-open .header__burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header__overlay {
  display: none;
}

.header__nav-extras {
  display: none;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: clamp(24px, 4vw, 56px) clamp(20px, 3vw, 40px) 0;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  isolation: isolate;
  height: calc(100vh - var(--site-chrome-height));
  height: calc(100dvh - var(--site-chrome-height));
  height: calc(100svh - var(--site-chrome-height));
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/bg-hero.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.5;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    96deg,
    rgba(17, 18, 22, 0.97) 0%,
    rgba(17, 18, 22, 0.93) 38%,
    rgba(23, 24, 28, 0.62) 62%,
    rgba(23, 24, 28, 0.42) 100%
  );
}

.hero__glow {
  position: absolute;
  right: 2%;
  bottom: 0;
  width: 56%;
  height: 82%;
  z-index: 1;
  background: radial-gradient(
    ellipse at 60% 78%,
    rgba(142, 52, 38, 0.34) 0%,
    rgba(142, 52, 38, 0) 66%
  );
}

.hero__accent {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--ox);
  z-index: 4;
}

.hero__inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  z-index: 3;
}

.hero__content {
  max-width: min(100%, 640px);
  width: min(100%, 55%);
  padding-right: clamp(12px, 2vw, 24px);
  padding-left: clamp(0px, 1vw, 8px);
  z-index: 3;
}

.hero__content .eyebrow {
  color: var(--brass);
}

.hero__title {
  font-size: clamp(32px, 3.05vw, 52px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.hero__title em {
  font-style: normal;
  color: var(--brass);
}

.hero__subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.8);
  margin: 20px 0 0;
  max-width: 520px;
  border-left: 2px solid var(--ox);
  padding-left: 18px;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 34px;
  flex-wrap: nowrap;
}

.hero__tel {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero__tel svg {
  flex: 0 0 auto;
}

.hero__tel:hover {
  color: var(--brass);
}

.hero__visual {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 55%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}

.hero__image {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom center;
}

/* ---------- accolades ---------- */
.accolades {
  background: var(--ink-2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.accolades__inner {
  display: flex;
  align-items: center;
  gap: 30px;
  padding-top: 26px;
  padding-bottom: 26px;
}

.accolades__label {
  flex: 0 0 auto;
  max-width: 190px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  line-height: 1.6;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  padding-right: 30px;
  margin: 0;
}

.accolades__row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1 1 auto;
  justify-content: space-between;
  flex-wrap: wrap;
}

.accolades__badge {
  flex: 1 1 0;
  min-width: 150px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  padding: 8px 14px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.5;
  transition:
    background 0.25s ease,
    border-color 0.25s ease;
}

.accolades__badge:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.28);
}

.accolades__badge--empty {
  border-style: dashed;
  color: rgba(255, 255, 255, 0.3);
}

.accolades__badge img {
  max-width: 100%;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1) opacity(0.88);
  transition: opacity 0.25s ease;
}

.accolades__badge:hover img {
  filter: brightness(0) invert(1) opacity(1);
}

/* ---------- section shell ---------- */
.section {
  padding-top: 104px;
  padding-bottom: 104px;
}

.section__head {
  max-width: 760px;
}

.section__head .scale-rule {
  margin-bottom: 18px;
}

/* ---------- about ---------- */
.about {
  background: var(--paper);
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) 1.22fr;
  gap: 74px;
  align-items: start;
}

.about__figure {
  position: relative;
  margin: 0;
}

.about__figure img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 2px;
}

.about__figure::before {
  content: "";
  position: absolute;
  left: -16px;
  top: -16px;
  width: 120px;
  height: 120px;
  border-left: 3px solid var(--ox);
  border-top: 3px solid var(--ox);
}

.about__years {
  position: absolute;
  right: -26px;
  bottom: 44px;
  background: var(--ink);
  color: #fff;
  padding: 24px 30px;
  border-radius: 2px;
  text-align: center;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.22);
}

.about__years b {
  display: block;
  font-family: var(--serif);
  font-size: 46px;
  line-height: 1;
  font-weight: 600;
  color: var(--brass);
}

.about__years span {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
}

.about__copy h2 {
  margin-bottom: 10px;
}

.about__subtitle {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.42;
  color: var(--ox);
  margin: 0 0 26px;
  font-weight: 500;
}

.about__copy p {
  color: var(--muted);
  margin: 0 0 20px;
}

.about__note {
  margin-top: 32px;
  padding: 26px 30px;
  background: var(--paper-2);
  border-left: 3px solid var(--ox);
  font-family: var(--serif);
  font-size: 18.5px;
  line-height: 1.62;
  color: var(--ink);
}

/* ---------- practice areas ---------- */
.practice {
  background: var(--paper-2);
}

.practice__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 50px;
}

.practice__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.practice-card {
  background: #fff;
  border: 1px solid var(--stone);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.practice-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 46px rgba(23, 24, 28, 0.13);
  border-color: var(--ox);
}

.practice-card__image {
  position: relative;
  height: 214px;
  overflow: hidden;
}

.practice-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.practice-card:hover .practice-card__image img {
  transform: scale(1.06);
}

.practice-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(23, 24, 28, 0) 42%,
    rgba(23, 24, 28, 0.62) 100%
  );
}

.practice-card__num {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  background: var(--ox);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  padding: 8px 13px;
}

.practice-card__body {
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.practice-card__body h3 {
  font-size: 22px;
  line-height: 1.24;
}

.practice-card__body p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}

.practice-card__link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ox);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.practice-card__link i {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ox);
  transition: width 0.3s ease;
}

.practice-card:hover .practice-card__link i {
  width: 34px;
}

/* ---------- case results ---------- */
.cases {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}

.cases__bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/bg-case-results.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.34;
}

.cases__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(17, 18, 22, 0.9),
    rgba(17, 18, 22, 0.94)
  );
}

.cases .container {
  position: relative;
  z-index: 2;
}

.cases__head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 58px;
}

.cases__head h2 {
  color: #fff;
}

.cases__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.cases__item {
  padding: 44px 30px 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.cases__item:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.cases__item b {
  display: block;
  font-family: var(--serif);
  font-size: clamp(30px, 2.5vw, 42px);
  font-weight: 600;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.02em;
}

.cases__item span {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--brass);
}

.cases__item a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.cases__item a:hover {
  color: #fff;
}

.cases__item a i {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: width 0.3s ease;
}

.cases__item a:hover i {
  width: 30px;
}

.cases__foot {
  margin-top: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}

.cases__foot p {
  margin: 0;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.58);
  max-width: 520px;
  text-align: center;
}

/* ---------- values ---------- */
.values {
  background: var(--paper);
}

.values__grid {
  display: grid;
  grid-template-columns: 1.05fr 1.35fr;
  gap: 74px;
  align-items: start;
}

.values__items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--stone);
  border: 1px solid var(--stone);
}

.values__item {
  background: var(--paper);
  padding: 36px 32px 38px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.3s ease;
}

.values__item:hover {
  background: #fff;
}

.values__icon {
  width: 34px;
  height: 34px;
  color: var(--ox);
}

.values__item h3 {
  font-size: 20.5px;
  line-height: 1.32;
}

.values__item p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
}

.values__intro h2 em {
  display: block;
  font-style: normal;
  color: var(--ox);
  font-size: 0.72em;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

.values__intro p {
  color: var(--muted);
  margin: 22px 0 0;
}

/* ---------- testimonial ---------- */
.testimonial {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: var(--ink);
}

.testimonial__bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/bg-testimonial.jpg");
  background-size: cover;
  background-position: center 34%;
  opacity: 0.4;
}

.testimonial__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(17, 18, 22, 0.95),
    rgba(17, 18, 22, 0.78)
  );
}

.testimonial .container {
  position: relative;
  z-index: 2;
}

.testimonial__inner {
  max-width: 960px;
}

.testimonial__quote {
  margin: 22px 0 0;
  font-family: var(--serif);
  font-size: clamp(21px, 1.75vw, 29px);
  line-height: 1.52;
  font-weight: 400;
  color: #fff;
  position: relative;
  padding-left: 44px;
}

.testimonial__quote::before {
  content: "\201C";
  position: absolute;
  left: -4px;
  top: -12px;
  font-family: var(--serif);
  font-size: 96px;
  line-height: 1;
  color: var(--ox-light);
  opacity: 0.85;
}

.testimonial__cite {
  display: block;
  margin-top: 28px;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  padding-left: 44px;
}

.testimonial__stars {
  display: flex;
  gap: 6px;
  padding-left: 44px;
  margin-top: 18px;
}

.testimonial__stars svg {
  width: 17px;
  height: 17px;
  fill: var(--brass);
}

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

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 74px;
  align-items: start;
}

.contact__info h2 {
  margin-bottom: 16px;
}

.contact__info > p {
  color: var(--muted);
  margin: 0 0 34px;
  max-width: 460px;
}

.contact__list {
  display: flex;
  flex-direction: column;
  gap: 26px;
  border-top: 1px solid var(--stone);
  padding-top: 30px;
}

.contact__item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.contact__item svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  color: var(--ox);
  margin-top: 4px;
}

.contact__item b {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
}

.contact__item span {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.45;
  color: var(--ink);
}

.contact-form {
  background: #fff;
  border: 1px solid var(--stone);
  padding: 44px 44px 48px;
  border-radius: 2px;
}

.contact-form h3 {
  font-size: 25px;
  margin-bottom: 6px;
}

.contact-form > p {
  margin: 0 0 28px;
  font-size: 14.5px;
  color: var(--muted);
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.contact-form__field label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-form__field input,
.contact-form__field select {
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--stone);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  border-radius: 2px;
  width: 100%;
}

.contact-form__field textarea {
  height: 120px;
  padding: 12px 14px;
  border: 1px solid var(--stone);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  border-radius: 2px;
  resize: vertical;
  width: 100%;
}

.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
  border-color: var(--ox);
  outline: none;
  background: #fff;
}

.contact-form .btn {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
}

.contact-form__note {
  margin: 16px 0 0;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
  text-align: center;
}

/* ---------- footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.66);
  padding-top: 74px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.15fr;
  gap: 52px;
  padding-bottom: 56px;
}

.footer__brand img {
  width: 230px;
  background: var(--paper);
  padding: 14px 16px;
  border-radius: 2px;
  max-width: none;
}

.footer__brand p {
  margin: 22px 0 0;
  font-size: 14.5px;
  line-height: 1.72;
  max-width: 330px;
}

.footer h4 {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 20px;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer ul a {
  font-size: 15px;
}

.footer ul a:hover {
  color: #fff;
}

.footer address {
  font-style: normal;
  font-size: 15px;
  line-height: 1.72;
}

.footer__tel {
  display: block;
  margin-top: 16px;
  font-family: var(--serif);
  font-size: 25px;
  color: #fff;
  font-weight: 600;
}

.footer__tel:hover {
  color: var(--brass);
}

.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 24px 0 28px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.44);
}

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal--in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }

  * {
    animation: none !important;
  }
}

/* ---------- progressive header scaling (before hamburger) ---------- */
@media (max-width: 1400px) {
  .header__nav {
    gap: 22px;
  }

  .header__inner {
    gap: 24px;
  }
}

@media (max-width: 1300px) {
  .header__nav {
    gap: 16px;
  }

  .header__inner {
    gap: 18px;
  }

  .header__cta {
    gap: 14px;
  }

  .header__cta .btn {
    font-size: 13px;
    padding: 10px 16px;
  }

  .header__nav-link {
    font-size: 14px;
  }

  .header__tel {
    font-size: 18px;
  }
}

/* ---------- nav breakpoint: 1200px ---------- */
@media (max-width: 1200px) {
  :root {
    --pad: 32px;
  }

  .header__burger {
    display: block;
    margin-left: auto;
  }

  .header__cta {
    display: none;
  }

  .header__overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(17, 18, 22, 0.55);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.3s ease,
      visibility 0.3s ease;
    z-index: 55;
  }

  .header--nav-open .header__overlay {
    opacity: 1;
    visibility: visible;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 88vw);
    height: 100%;
    height: 100dvh;
    margin: 0;
    padding: 40px 32px;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    z-index: 65;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    overflow-y: auto;
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.18);
  }

  .header--nav-open .header__nav {
    transform: translateX(0);
  }

  .header__nav-link {
    font-size: 18px;
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid var(--stone);
  }

  .header__nav-link::after {
    display: none;
  }

  .header__nav-extras {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
    width: 100%;
  }

  .header__nav-extras .header__tel {
    font-size: 22px;
  }

  .header__nav-extras .header__tel small {
    display: block;
  }

  .header__nav-extras .btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
    font-size: 16px;
    padding: 14px 28px;
  }

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

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

  .cases__item:nth-child(3) {
    border-left: 1px solid rgba(255, 255, 255, 0.16);
  }

  .about__grid,
  .values__grid,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .about__figure img {
    height: 460px;
  }

  .about__years {
    right: 24px;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .hero__content {
    width: min(100%, 56%);
    max-width: min(100%, 640px);
  }
}

/* ---------- button wrap ---------- */
@media (max-width: 980px) {
  .btn {
    white-space: normal;
    font-size: 17px;
    padding: 16px 26px;
  }

  .btn--sm {
    font-size: 15px;
    padding: 12px 22px;
  }
}

/* ---------- tablet / mid ---------- */
@media (max-width: 900px) {
  :root {
    --pad: 26px;
  }

  .hero__content {
    width: min(100%, 58%);
  }

  .hero__actions {
    flex-wrap: wrap;
    gap: 18px;
  }

  .accolades__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }

  .accolades__label {
    max-width: none;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    padding-right: 0;
    padding-bottom: 16px;
  }

  .accolades__row {
    gap: 12px;
  }

  .accolades__badge {
    min-width: calc(50% - 6px);
    flex: 1 1 calc(50% - 6px);
  }

  .section {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .practice__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }

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

  .contact-form {
    padding: 32px 24px 36px;
  }

  .about__years {
    position: static;
    margin-top: -40px;
    display: inline-block;
  }
}

/* ---------- mobile hero flow (≤768px) ---------- */
@media (max-width: 768px) {
  .hero {
    height: auto;
    padding: clamp(32px, 5vw, 48px) clamp(16px, 4vw, 28px) 0;
  }

  .hero__content {
    max-width: 100%;
    width: 100%;
  }

  .hero__visual {
    position: relative;
    width: 100%;
    height: auto;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__actions {
    gap: 16px;
  }

  .hero__tel {
    font-size: 22px;
  }
}

/* ---------- small ---------- */
@media (max-width: 640px) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .practice__grid,
  .cases__grid {
    grid-template-columns: 1fr;
  }

  .cases__item,
  .cases__item:nth-child(3) {
    border-left: 1px solid rgba(255, 255, 255, 0.16);
  }

  .contact-form__row {
    grid-template-columns: 1fr;
  }

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

  .testimonial__quote {
    padding-left: 0;
    font-size: 20px;
  }

  .testimonial__quote::before {
    position: static;
    display: block;
    font-size: 64px;
    height: 40px;
  }

  .testimonial__cite,
  .testimonial__stars {
    padding-left: 0;
  }

  .hero__title {
    font-size: 30px;
  }
}
