:root {
  --ink: #150610;
  --ink-2: #1f0a17;
  --ink-3: #2c1122;
  --mag: #e50c7e;
  --mag-2: #ff56a8;
  --mag-deep: #8e0850;
  --paper: #faf7f8;
  --paper-2: #f0e9ec;
  --line: #e3d9dd;
  --body: #544a4f;
  --head: #190d13;
  --disp: "Bodoni Moda", Georgia, serif;
  --ui: "Jost", "Helvetica Neue", Arial, sans-serif;
  --hex: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  --container-max: 1320px;
  --nav-breakpoint: 1200px;
  --site-chrome-height: 112px;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--ui);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.72;
  overflow-x: hidden;
}

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

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

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

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--disp);
  font-weight: 400;
  color: var(--head);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1.15em;
}

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

/* ---------- structure ---------- */
.container {
  width: min(100%, var(--container-max));
  margin-inline: auto;
  padding-inline: clamp(22px, 3.5vw, 45px);
}

.section {
  padding-block: 104px;
}

.eyebrow {
  font-family: var(--ui);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mag);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--mag);
  flex: none;
}

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

.eyebrow--light::before {
  background: var(--mag-2);
}

.eyebrow--center {
  justify-content: center;
}

.section__title {
  font-size: clamp(30px, 3.05vw, 46px);
}

.lede {
  max-width: 62ch;
}

.lede--compact {
  max-width: 44ch;
  margin: 0;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--ui);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.35;
  padding: 19px 40px;
  border-radius: 999px;
  background: var(--mag);
  color: #fff;
  border: 1px solid var(--mag);
  white-space: nowrap;
  cursor: pointer;
  max-width: 100%;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s, color 0.25s, border-color 0.25s;
}

.btn:hover {
  background: #fff;
  color: var(--mag-deep);
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.btn--solid-dark {
  background: var(--head);
  border-color: var(--head);
}

.btn--solid-dark:hover {
  background: var(--mag);
  border-color: var(--mag);
  color: #fff;
}

.btn--dark-outline {
  background: transparent;
  color: var(--head);
  border-color: rgba(25, 13, 19, 0.28);
}

.btn--dark-outline:hover {
  background: var(--head);
  color: #fff;
  border-color: var(--head);
}

.btn--sm {
  font-size: 16px;
  padding: 15px 30px;
}

/* ---------- header ---------- */
.header {
  background: var(--ink);
  position: relative;
  z-index: 100;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 36px);
  height: 112px;
}

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

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

.header__nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 30px);
}

.header__nav-link {
  flex-shrink: 0;
  font-size: clamp(13px, 1.05vw, 16px);
  font-weight: 400;
  color: #f3e9ee;
  position: relative;
  padding-block: 6px;
  white-space: nowrap;
}

.header__nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--mag-2);
  transition: right 0.32s cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

.header__phone {
  flex: none;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--disp);
  font-size: clamp(18px, 1.5vw, 24px);
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
}

.header__phone-pip {
  width: 11px;
  height: 12px;
  background: var(--mag);
  clip-path: var(--hex);
  flex: none;
}

.header__phone:hover {
  color: var(--mag-2);
}

.header__burger {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 38px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
  z-index: 120;
}

.header__burger-line {
  display: block;
  width: 20px;
  height: 1px;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.header__burger[aria-expanded="true"] .header__burger-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.header__burger[aria-expanded="true"] .header__burger-line:nth-child(2) {
  opacity: 0;
}

.header__burger[aria-expanded="true"] .header__burger-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.header__overlay {
  display: none;
}

.header__nav-extras {
  display: none;
}

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

.hero__texture {
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/bg-hero.webp");
  background-size: cover;
  background-position: center;
  opacity: 0.17;
  z-index: -3;
}

.hero__glow {
  position: absolute;
  left: -14%;
  bottom: -42%;
  width: 78%;
  height: 132%;
  background: radial-gradient(ellipse at 32% 62%, rgba(229, 12, 126, 0.3), rgba(229, 12, 126, 0) 66%);
  z-index: -2;
}

.hero__vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(96deg, rgba(21, 6, 16, 0.96) 6%, rgba(21, 6, 16, 0.62) 46%, rgba(21, 6, 16, 0.28) 74%);
  z-index: -1;
}

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

.hero__content {
  position: relative;
  z-index: 3;
  max-width: min(100%, 640px);
  width: min(100%, 55%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(16px, 2.5vw, 36px) clamp(8px, 1.5vw, 20px) clamp(24px, 3vw, 46px) 0;
}

.hero__title {
  color: #fff;
  font-size: clamp(38px, 4.5vw, 62px);
}

.hero__subtitle {
  font-family: var(--disp);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(19px, 1.62vw, 25px);
  color: #f5d9e7;
  margin: 20px 0 0;
  line-height: 1.34;
  letter-spacing: 0;
}

.hero__text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16.5px;
  line-height: 1.74;
  margin: 22px 0 0;
  max-width: 560px;
}

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

.hero__phone {
  font-family: var(--disp);
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 3px;
}

.hero__phone:hover {
  color: var(--mag-2);
  border-color: var(--mag-2);
}

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

.hero__hex {
  position: absolute;
  right: 18px;
  bottom: -8%;
  width: min(456px, 90%);
  aspect-ratio: 456 / 526;
  clip-path: var(--hex);
  background: linear-gradient(154deg, var(--mag) 0%, #a80a60 46%, #3b0426 100%);
  opacity: 0.9;
}

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

/* ---------- accolades ---------- */
.accolades {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding-block: 48px;
}

.accolades__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.accolades__label {
  font-family: var(--ui);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #9a8b92;
  text-align: center;
}

.accolades__row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.accolades__item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: 46px;
}

.accolades__item + .accolades__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 54px;
  background: var(--line);
}

.accolades__image {
  width: auto;
}

.accolades__item--h72 .accolades__image {
  height: 72px;
}

.accolades__item--h66 .accolades__image {
  height: 66px;
}

.accolades__item--h38 .accolades__image {
  height: 38px;
}

.accolades__item--h52 .accolades__image {
  height: 52px;
}

/* ---------- about ---------- */
.about {
  background: #fff;
}

.about__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 82px;
  align-items: center;
}

.about__title {
  margin-bottom: 26px;
}

.about__figure {
  position: relative;
}

.about__figure::before {
  content: "";
  position: absolute;
  left: -22px;
  top: -22px;
  width: 120px;
  height: 120px;
  border-left: 2px solid var(--mag);
  border-top: 2px solid var(--mag);
}

.about__image {
  width: 100%;
  height: auto;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 62px), calc(100% - 62px) 100%, 0 100%);
}

.about__badge {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 62px;
  height: 62px;
  background: var(--mag);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.about__actions {
  display: flex;
  gap: 16px;
  margin-top: 34px;
  flex-wrap: wrap;
}

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

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

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

.practice-card {
  background: var(--ink-2);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s;
}

.practice-card:nth-child(2) {
  transition-delay: 70ms;
}

.practice-card:nth-child(3) {
  transition-delay: 140ms;
}

.practice-card:nth-child(4) {
  transition-delay: 210ms;
}

.practice-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 44px rgba(21, 6, 16, 0.26);
}

.practice-card__top {
  position: relative;
  height: 152px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.practice-card__texture {
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/bg-hero.webp");
  background-size: cover;
  background-position: center;
  opacity: 0.62;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

.practice-card__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(158deg, rgba(21, 6, 16, 0.42) 0%, rgba(21, 6, 16, 0.78) 58%, rgba(168, 10, 96, 0.62) 100%);
}

.practice-card__top::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--mag);
  z-index: 2;
}

.practice-card__icon {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  color: #fff;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.55));
}

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

.practice-card__title {
  color: #fff;
  font-size: 21px;
  line-height: 1.24;
}

.practice-card__rule {
  width: 34px;
  height: 1px;
  background: var(--mag);
  margin: 16px 0 18px;
}

.practice-card__more {
  margin-top: auto;
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mag-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.practice-card:hover .practice-card__more {
  color: #fff;
}

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

.cases__texture {
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/bg-cases.webp");
  background-size: cover;
  background-position: center;
  opacity: 0.16;
  z-index: -2;
}

.cases__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21, 6, 16, 0.9), rgba(21, 6, 16, 0.97));
  z-index: -1;
}

.cases__title {
  color: #fff;
}

.cases__ledger {
  margin-top: 46px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.cases__row {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.cases__row:nth-child(2) {
  transition-delay: 60ms;
}

.cases__row:nth-child(3) {
  transition-delay: 120ms;
}

.cases__row:nth-child(4) {
  transition-delay: 180ms;
}

.cases__amount {
  font-family: var(--disp);
  font-weight: 500;
  font-size: clamp(34px, 3.5vw, 52px);
  color: var(--mag-2);
  line-height: 1;
  letter-spacing: -0.02em;
}

.cases__matter {
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
}

.cases__matter-note {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 8px;
}

.cases__link {
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
  padding-bottom: 4px;
  white-space: nowrap;
}

.cases__link:hover {
  color: var(--mag-2);
  border-color: var(--mag-2);
}

/* ---------- values ---------- */
.values {
  background: #fff;
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
  margin-top: 48px;
}

.values__item {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.values__item:nth-child(2) {
  transition-delay: 70ms;
}

.values__item:nth-child(3) {
  transition-delay: 140ms;
}

.values__item:nth-child(4) {
  transition-delay: 210ms;
}

.values__pip {
  display: block;
  width: 13px;
  height: 14px;
  background: var(--mag);
  clip-path: var(--hex);
  margin-bottom: 20px;
}

.values__title {
  font-size: clamp(21px, 1.62vw, 25px);
  line-height: 1.24;
  margin-bottom: 20px;
}

.values__link {
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mag);
  border-bottom: 1px solid rgba(229, 12, 126, 0.32);
  padding-bottom: 4px;
}

.values__link:hover {
  color: var(--head);
  border-color: var(--head);
}

/* ---------- testimonial ---------- */
.testimonial {
  background: var(--ink);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

.testimonial__texture {
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/bg-cases.webp");
  background-size: cover;
  background-position: center 38%;
  opacity: 0.3;
  z-index: -2;
}

.testimonial__veil {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(21, 6, 16, 0.72), rgba(21, 6, 16, 0.96) 72%);
  z-index: -1;
}

.testimonial__title {
  color: #fff;
  margin-bottom: 34px;
}

.testimonial__quote {
  max-width: 880px;
  margin: 0 auto;
  font-family: var(--disp);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(19px, 1.72vw, 26px);
  line-height: 1.62;
  color: #f7e4ee;
}

.testimonial__mark {
  font-family: var(--disp);
  font-size: 74px;
  line-height: 0.6;
  color: var(--mag);
  display: block;
  margin-bottom: 14px;
}

.testimonial__attrib {
  margin-top: 34px;
  font-family: var(--ui);
}

.testimonial__name {
  display: block;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mag-2);
}

.testimonial__role {
  display: block;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 7px;
  letter-spacing: 0.05em;
}

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

.contact__head {
  text-align: center;
  margin-bottom: 48px;
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 0;
  box-shadow: 0 26px 60px rgba(21, 6, 16, 0.13);
  border-radius: 3px;
  overflow: hidden;
}

.contact__side {
  position: relative;
  padding: 52px 44px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 520px;
  isolation: isolate;
}

.contact__side-bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/bg-contact.webp");
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.contact__side-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21, 6, 16, 0.32), rgba(21, 6, 16, 0.92));
  z-index: -1;
}

.contact__side-title {
  color: #fff;
  font-size: 27px;
  margin-bottom: 22px;
}

.contact__item {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 17px 0;
}

.contact__item-label {
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mag-2);
}

.contact__item-value {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 6px;
  white-space: pre-line;
  line-height: 1.55;
}

.contact__item-phone {
  font-family: var(--disp);
  font-size: 24px;
  font-weight: 500;
  color: #fff;
}

.contact__form {
  background: #fff;
  padding: 52px 48px;
}

.contact__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 22px;
}

.contact__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact__field--full {
  grid-column: 1 / -1;
}

.contact__label {
  font-family: var(--ui);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8c7c84;
}

.contact__input,
.contact__select,
.contact__textarea {
  font-family: var(--ui);
  font-size: 16px;
  font-weight: 300;
  color: var(--head);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0 15px;
  width: 100%;
  height: 40px;
  transition: border-color 0.2s, background 0.2s;
}

.contact__select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #8c7c84 50%),
    linear-gradient(135deg, #8c7c84 50%, transparent 50%);
  background-position: calc(100% - 19px) 17px, calc(100% - 14px) 17px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.contact__textarea {
  height: 120px;
  padding: 12px 15px;
  resize: vertical;
  line-height: 1.6;
}

.contact__input:focus,
.contact__select:focus,
.contact__textarea:focus {
  border-color: var(--mag);
  background: #fff;
  outline: none;
}

.contact__foot {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.contact__note {
  font-size: 12.5px;
  color: #8c7c84;
  line-height: 1.6;
  max-width: 34ch;
}

.contact__note--hidden {
  display: none;
}

.contact__success {
  display: none;
  font-family: var(--ui);
  font-size: 14px;
  font-weight: 500;
  color: var(--mag);
  margin: 0;
}

.contact__success--visible {
  display: block;
}

/* ---------- footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.62);
  padding-block: 64px 34px;
  font-size: 15px;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer__logo {
  width: 236px;
  max-width: none;
  margin-bottom: 22px;
}

.footer__blurb {
  margin: 0;
  max-width: 38ch;
}

.footer__heading {
  font-family: var(--ui);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mag-2);
  margin: 0 0 20px;
}

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

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

.footer__address {
  font-style: normal;
  white-space: pre-line;
  line-height: 1.7;
}

.footer__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--disp);
  font-size: 24px;
  font-weight: 500;
  color: #fff;
  margin-top: 16px;
}

.footer__phone-pip {
  width: 11px;
  height: 12px;
  background: var(--mag);
  clip-path: var(--hex);
}

.footer__legal {
  padding-top: 26px;
  font-size: 12.5px;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.4);
  display: grid;
  gap: 12px;
}

.footer__legal-row {
  display: flex;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.52);
}

.footer__disclaimer {
  margin: 0;
}

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

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

  * {
    scroll-behavior: auto !important;
  }

  .practice-card:hover,
  .btn:hover {
    transform: none;
  }
}

/* ---------- progressive header scaling before hamburger ---------- */
@media (max-width: 1400px) {
  .hero__visual {
    width: 44%;
  }

  .hero__hex {
    width: min(388px, 88%);
    right: 12px;
  }
}

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

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

  .header__phone {
    font-size: 18px;
  }

  .header__inner {
    gap: 18px;
  }
}

/* ---------- nav breakpoint: 1200px ---------- */
@media (max-width: 1200px) {
  .header__phone--bar {
    display: none;
  }

  .header__burger {
    display: flex;
  }

  .header__overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(21, 6, 16, 0.55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 90;
  }

  .header__overlay--visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    margin: 0;
    width: min(360px, 86vw);
    height: 100%;
    height: 100dvh;
    background: var(--ink-2);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 36px 28px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0.35s;
    z-index: 110;
    overflow-y: auto;
    box-shadow: -18px 0 40px rgba(0, 0, 0, 0.35);
    visibility: hidden;
    pointer-events: none;
  }

  .header__nav--open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .header__nav-link {
    font-size: 16px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    white-space: normal;
  }

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

  .header__nav-extras {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 28px;
    padding-top: 8px;
  }

  .header__phone--panel {
    font-size: 24px;
  }

  .hero__visual {
    width: 42%;
  }

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

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

  .values__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
  }

  .about__inner {
    gap: 52px;
  }

  .accolades__item {
    padding-inline: 30px;
  }
}

@media (max-width: 980px) {
  .section {
    padding-block: 78px;
  }

  .btn {
    white-space: normal;
    font-size: 18px;
    padding: 17px 28px;
  }

  .accolades__item {
    padding-inline: 20px;
  }

  .accolades__item + .accolades__item::before {
    height: 46px;
  }

  .accolades__item--h72 .accolades__image {
    height: calc(72px * 0.84);
  }

  .accolades__item--h66 .accolades__image {
    height: calc(66px * 0.84);
  }

  .accolades__item--h38 .accolades__image {
    height: calc(38px * 0.84);
  }

  .accolades__item--h52 .accolades__image {
    height: calc(52px * 0.84);
  }

  .hero {
    height: auto;
    min-height: calc(100vh - var(--site-chrome-height));
    min-height: calc(100dvh - var(--site-chrome-height));
    min-height: calc(100svh - var(--site-chrome-height));
    padding: clamp(36px, 6vw, 58px) clamp(20px, 3vw, 34px) 0;
  }

  .hero__inner {
    height: auto;
  }

  .hero__content {
    width: 100%;
    max-width: 100%;
    padding: 0 0 34px;
  }

  .hero__visual {
    position: relative;
    width: 100%;
    height: 430px;
    margin-top: 8px;
  }

  .hero__hex {
    right: 50%;
    transform: translateX(50%);
    bottom: -30px;
    width: 300px;
  }

  .about__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 46px;
  }

  .about__figure {
    order: -1;
  }

  .cases__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 26px 0;
  }

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

  .contact__side {
    min-height: 400px;
    padding: 44px 34px;
  }

  .contact__form {
    padding: 40px 34px;
  }

  .footer__top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
  }
}

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

  .header__inner {
    height: 88px;
    gap: 16px;
  }

  .section {
    padding-block: 62px;
  }

  .hero {
    padding: 44px clamp(18px, 4vw, 22px) 0;
  }

  .hero__actions {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__visual {
    height: 352px;
  }

  .hero__hex {
    width: 244px;
  }

  .practice__cards,
  .values__grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .accolades__item {
    padding-inline: 0;
  }

  .accolades__item + .accolades__item::before {
    display: none;
  }

  .accolades__row {
    gap: 26px 34px;
  }

  .accolades__item--h72 .accolades__image {
    height: calc(72px * 0.8);
  }

  .accolades__item--h66 .accolades__image {
    height: calc(66px * 0.8);
  }

  .accolades__item--h38 .accolades__image {
    height: calc(38px * 0.8);
  }

  .accolades__item--h52 .accolades__image {
    height: calc(52px * 0.8);
  }

  .footer__top {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .footer__legal-row {
    flex-direction: column;
    gap: 8px;
  }

  .practice__head {
    margin-bottom: 32px;
  }

  .about__actions {
    flex-direction: column;
  }

  .about__actions .btn {
    width: 100%;
    white-space: normal;
  }
}

@media (max-width: 768px) {
  .hero__content {
    max-width: 100%;
    padding-inline: clamp(4px, 1vw, 12px);
  }
}
