:root {
  --ink: #060d18;
  --navy: #0e1b2e;
  --navy-2: #152941;
  --gold: #c3a164;
  --gold-lt: #e2cb99;
  --paper: #f6f4ef;
  --paper-2: #ece8e0;
  --slate: #5c6b7e;
  --mist: #afc0d2;
  --white: #ffffff;
  --display: "Antic Didone", "Didot", "Bodoni MT", Georgia, serif;
  --body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --container-max: 1720px;
  --nav-breakpoint: 1200px;
  --site-chrome-height: 138px;
  --pad: 45px;
}

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

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

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

body.is-menu-open {
  overflow: hidden;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.005em;
}

p {
  margin: 0 0 1.15em;
}

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

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

.eyebrow {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}

.rule {
  border: 0;
}

.rule--sm {
  width: 54px;
  height: 2px;
  background: var(--gold);
  margin: 0 0 26px;
}

.rule--center {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.22s, color 0.22s, border-color 0.22s;
  border: 1px solid transparent;
  cursor: pointer;
  max-width: 100%;
  line-height: 1.35;
  text-align: center;
  font-family: var(--body);
}

.btn--gold {
  background: var(--gold);
  color: #12100a;
}

.btn--gold:hover {
  background: var(--gold-lt);
}

.btn--ghost {
  border-color: rgba(226, 203, 153, 0.55);
  color: var(--gold-lt);
  background: transparent;
}

.btn--ghost:hover {
  background: var(--gold);
  color: #12100a;
  border-color: var(--gold);
}

.btn--navy {
  background: var(--navy);
  color: #fff;
}

.btn--navy:hover {
  background: var(--navy-2);
}

.btn--header {
  font-size: clamp(12px, 1.05vw, 14px);
  padding: clamp(10px, 1.1vw, 13px) clamp(16px, 1.8vw, 24px);
  flex-shrink: 0;
}

.btn--hero {
  font-size: 20px;
  padding: 17px 34px;
  text-transform: none;
  letter-spacing: 0.01em;
}

.btn--footer {
  margin-top: 22px;
  font-size: 14px;
  padding: 14px 26px;
}

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(6, 13, 24, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(195, 161, 100, 0.28);
}

.header__overlay {
  display: none;
}

.header__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 1.6vw, 26px);
  min-height: 96px;
}

.header__logo {
  flex-shrink: 0;
  display: block;
}

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

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

.header__nav-list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.7vw, 26px);
}

.header__nav-item {
  flex-shrink: 0;
}

.header__nav-link {
  display: block;
  font-size: clamp(13px, 1.15vw, 16px);
  font-weight: 500;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  color: #e6edf5;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.header__nav-link:hover {
  color: var(--gold-lt);
  border-color: var(--gold);
}

.header__nav-extras {
  display: none;
}

.header__cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  margin-left: clamp(12px, 1.5vw, 26px);
}

.header__toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
  width: 46px;
  height: 46px;
  position: relative;
  z-index: 4;
  flex-shrink: 0;
}

.header__toggle-bar {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  margin: 5px auto;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.header.is-open .header__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header.is-open .header__toggle-bar:nth-child(2) {
  opacity: 0;
}

.header.is-open .header__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- utility bar ---------- */
.utility {
  background: #0a1524;
  border-bottom: 1px solid rgba(175, 192, 210, 0.12);
}

.utility__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 42px;
  font-size: 13.5px;
  color: #93a7bc;
  letter-spacing: 0.02em;
}

.utility__meta {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-shrink: 0;
}

.utility__tel {
  color: var(--gold-lt);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.utility__tel:hover {
  color: #fff;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  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__bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/bg-hero.webp");
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}

.hero__tint {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 620px at 74% 58%, rgba(32, 63, 102, 0.72), rgba(6, 13, 24, 0) 68%),
    linear-gradient(90deg, rgba(6, 13, 24, 0.97) 30%, rgba(6, 13, 24, 0.72) 56%, rgba(6, 13, 24, 0.42) 100%);
}

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

.hero__content {
  position: relative;
  z-index: 3;
  max-width: min(100%, 640px);
  width: min(100%, 55%);
  padding: clamp(16px, 2.5vw, 36px) clamp(12px, 2vw, 24px);
}

.hero__title {
  font-size: clamp(34px, 3.5vw, 56px);
  color: #fff;
  letter-spacing: 0.004em;
}

.hero .rule--sm {
  margin: 28px 0 24px;
}

.hero__text {
  font-size: 18px;
  line-height: 1.72;
  color: #c7d4e2;
  max-width: 47ch;
  margin-bottom: 34px;
}

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

.hero__tel {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  border-bottom: 1px solid rgba(195, 161, 100, 0.5);
  padding-bottom: 3px;
  flex-shrink: 0;
}

.hero__tel:hover {
  color: var(--gold-lt);
  border-color: var(--gold);
}

.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;
}

.hero__floor {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  z-index: 4;
  background: linear-gradient(90deg, rgba(195, 161, 100, 0), rgba(195, 161, 100, 0.85), rgba(195, 161, 100, 0));
}

/* ---------- accolades ---------- */
.cred {
  background: var(--navy);
  border-bottom: 1px solid rgba(175, 192, 210, 0.12);
}

.cred__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 34px;
  padding-bottom: 34px;
}

.cred__label {
  flex: none;
  max-width: 186px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.7;
  margin: 0;
}

.cred__marks {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  flex: 1 1 auto;
  flex-wrap: wrap;
}

.cred__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 42px;
  border-left: 1px solid rgba(175, 192, 210, 0.16);
  min-height: 96px;
}

.cred__mark:first-child {
  border-left: 0;
}

.cred__mark:last-child {
  padding-right: 0;
}

.cred__image {
  opacity: 0.86;
  width: auto;
  height: auto;
}

.cred__image--forum {
  height: 88px;
}

.cred__image--trial {
  height: 78px;
}

.cred__image--aaj {
  height: 62px;
}

.cred__image--super {
  height: 41px;
}

/* ---------- firm story ---------- */
.story {
  background: var(--paper);
  padding: 104px 0;
}

.story__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 78px;
  align-items: start;
}

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

.story__image {
  width: 100%;
  height: 620px;
  object-fit: cover;
  position: relative;
  z-index: 2;
}

.story__figure::after {
  content: "";
  position: absolute;
  left: -22px;
  top: 26px;
  width: 100%;
  height: 620px;
  border: 1px solid var(--gold);
  z-index: 1;
}

.story__title {
  font-size: clamp(30px, 2.6vw, 42px);
  margin-bottom: 22px;
  color: var(--navy);
}

.story__copy p {
  color: #42505f;
  font-size: 17px;
  line-height: 1.78;
  max-width: 68ch;
}

.story__note {
  margin-top: 34px;
  border-left: 3px solid var(--gold);
  background: #fff;
  padding: 26px 30px;
}

.story__note p {
  margin: 0;
  color: #3a4756;
  font-size: 16.5px;
}

.story__cta {
  display: inline-flex;
  margin-top: 30px;
  font-size: 16px;
  padding: 15px 30px;
}

/* ---------- practice ---------- */
.practice {
  position: relative;
  background: var(--ink);
  padding: 100px 0 106px;
}

.practice__bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/bg-practice.webp");
  background-size: cover;
  background-position: center;
  opacity: 0.34;
}

.practice__tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 13, 24, 0.94), rgba(14, 27, 46, 0.9));
}

.practice__inner {
  position: relative;
  z-index: 2;
}

.practice__head {
  text-align: center;
  margin-bottom: 56px;
}

.practice__title {
  font-size: clamp(30px, 2.7vw, 44px);
  color: #fff;
}

.practice__head .rule--sm {
  margin-top: 22px;
  margin-bottom: 0;
}

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

.practice-card {
  background: #0c182a;
  border: 1px solid rgba(175, 192, 210, 0.13);
  transition: border-color 0.25s, transform 0.25s;
}

.practice-card:hover {
  border-color: rgba(195, 161, 100, 0.6);
  transform: translateY(-4px);
}

.practice-card__image {
  width: 100%;
  height: 196px;
  object-fit: cover;
}

.practice-card__body {
  padding: 26px 26px 30px;
}

.practice-card__title {
  font-size: 24px;
  color: #fff;
  margin-bottom: 12px;
}

.practice-card__text {
  font-size: 15px;
  line-height: 1.66;
  color: #a8bacd;
  margin-bottom: 18px;
}

.practice-card__link {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-lt);
  border-bottom: 1px solid rgba(195, 161, 100, 0.45);
  padding-bottom: 4px;
}

.practice-card:hover .practice-card__link {
  border-color: var(--gold);
}

/* ---------- case results ---------- */
.cases {
  background: var(--paper-2);
  padding: 96px 0 104px;
}

.cases__head {
  text-align: center;
  margin-bottom: 52px;
}

.cases__title {
  font-size: clamp(30px, 2.7vw, 44px);
}

.cases__head .rule--sm {
  margin-top: 22px;
  margin-bottom: 0;
}

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

.case {
  background: #fff;
  border-top: 3px solid var(--gold);
  padding: 34px 30px 30px;
  display: flex;
  flex-direction: column;
  min-height: 196px;
}

.case__verdict {
  font-family: var(--display);
  font-size: 27px;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 14px;
}

.case__charge {
  font-size: 14px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: auto;
}

.case__link {
  margin-top: 24px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
  align-self: flex-start;
  padding-bottom: 4px;
}

/* ---------- values ---------- */
.values {
  background: var(--navy);
  padding: 96px 0 100px;
}

.values__head {
  margin-bottom: 50px;
  max-width: 620px;
}

.values__title {
  font-size: clamp(28px, 2.5vw, 40px);
  color: #fff;
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(175, 192, 210, 0.16);
}

.value {
  background: var(--navy);
  padding: 34px 30px 38px;
}

.value__title {
  font-size: 21px;
  color: var(--gold-lt);
  margin-bottom: 14px;
}

.value__text {
  font-size: 15.5px;
  line-height: 1.68;
  color: #a8bacd;
  margin: 0;
}

/* ---------- testimonial ---------- */
.testimonial {
  background: var(--ink);
  padding: 92px 0;
  text-align: center;
}

.testimonial__inner {
  max-width: 900px;
  margin: 0 auto;
}

.testimonial__title {
  font-size: clamp(26px, 2.2vw, 36px);
  color: #fff;
  margin-bottom: 34px;
}

.testimonial__stars {
  color: var(--gold);
  letter-spacing: 0.32em;
  font-size: 15px;
  margin-bottom: 26px;
}

.testimonial__quote {
  font-family: var(--display);
  font-size: clamp(22px, 2.1vw, 31px);
  line-height: 1.5;
  color: #e5edf5;
  margin: 0;
}

.testimonial__name {
  margin-top: 26px;
  margin-bottom: 0;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- contact ---------- */
.contact {
  background: var(--paper);
  padding: 100px 0 104px;
}

.contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 70px;
  align-items: start;
}

.contact__title {
  font-size: clamp(30px, 2.6vw, 42px);
  margin-bottom: 20px;
}

.contact__lead {
  color: #42505f;
  max-width: 44ch;
}

.contact__details {
  margin-top: 36px;
  border-top: 1px solid #d9d3c8;
}

.contact__row {
  display: flex;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid #d9d3c8;
}

.contact__key {
  width: 104px;
  flex: none;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  padding-top: 5px;
}

.contact__value {
  font-size: 17px;
  color: var(--navy);
  line-height: 1.6;
}

.contact__value a {
  border-bottom: 1px solid var(--gold);
}

.form {
  background: var(--navy);
  padding: 44px 44px 48px;
}

.form__title {
  font-size: 26px;
  color: #fff;
  margin-bottom: 8px;
}

.form__subtitle {
  font-size: 14.5px;
  color: #9db0c4;
  margin-bottom: 28px;
}

.form__row {
  margin-bottom: 16px;
}

.form__label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8fa3b8;
  margin-bottom: 8px;
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  background: #0a1524;
  border: 1px solid rgba(175, 192, 210, 0.24);
  color: #fff;
  font-family: var(--body);
  font-size: 15.5px;
  padding: 0 15px;
  border-radius: 2px;
}

.form__input,
.form__select {
  height: 40px;
}

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

.form__input::placeholder,
.form__textarea::placeholder {
  color: #6b7f94;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  border-color: var(--gold);
  outline: none;
}

.form__select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #8fa3b8 50%),
    linear-gradient(135deg, #8fa3b8 50%, transparent 50%);
  background-position: calc(100% - 20px) 18px, calc(100% - 14px) 18px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.form__submit {
  width: 100%;
  margin-top: 12px;
  font-size: 16px;
  padding: 16px 30px;
}

.form__fine {
  margin: 16px 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: #7c90a5;
}

/* ---------- footer ---------- */
.footer {
  background: var(--ink);
  padding: 70px 0 0;
  color: #9db0c4;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(175, 192, 210, 0.14);
}

.footer__logo {
  width: 300px;
  height: auto;
  max-width: 100%;
  margin-bottom: 24px;
}

.footer__address,
.footer__text {
  font-size: 15px;
  line-height: 1.75;
  margin: 0;
}

.footer__heading {
  margin: 0 0 20px;
  font-size: 21px;
  color: #fff;
}

.footer__links {
  columns: 2;
  column-gap: 26px;
}

.footer__links li {
  margin-bottom: 12px;
}

.footer__links a {
  font-size: 15px;
}

.footer__links a:hover {
  color: var(--gold-lt);
}

.footer__tel {
  display: block;
  font-family: var(--display);
  font-size: 27px;
  color: #fff;
  margin-bottom: 8px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0 34px;
  font-size: 13px;
  color: #71849a;
  flex-wrap: wrap;
}

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

  .utility__tagline {
    font-size: 12.5px;
  }
}

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

  .header__nav-link {
    font-size: 13px;
    letter-spacing: 0.03em;
  }

  .btn--header {
    font-size: 12px;
    padding: 10px 16px;
  }

  .utility__tagline {
    display: none;
  }

  .utility__inner {
    justify-content: flex-end;
  }
}

/* ---------- nav breakpoint: hamburger ---------- */
@media (max-width: 1200px) {
  .header__overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1;
    background: rgba(6, 13, 24, 0.62);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }

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

  .header__inner {
    z-index: 2;
    min-height: 82px;
  }

  .header__cta {
    display: none;
  }

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

  .header.is-open .header__toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 4;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 88vw);
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding: 84px 28px 40px;
    background: var(--ink);
    border-left: 1px solid rgba(195, 161, 100, 0.28);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.28s ease, visibility 0.28s ease;
    overflow-y: auto;
  }

  .header.is-open .header__nav {
    transform: translateX(0);
    visibility: visible;
  }

  .header__nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }

  .header__nav-item {
    width: 100%;
    border-bottom: 1px solid rgba(175, 192, 210, 0.14);
  }

  .header__nav-link {
    font-size: 15px;
    padding: 16px 0;
  }

  .header__nav-extras {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-top: auto;
    padding-top: 12px;
  }

  .header__nav-tel {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
  }

  .header__nav-tel:hover {
    color: var(--gold-lt);
  }

  .header__nav-cta {
    font-size: 14px;
    padding: 13px 24px;
  }

  .utility {
    display: none;
  }

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

  .story__inner {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .story__image,
  .story__figure::after {
    height: 460px;
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

@media (max-width: 980px) {
  .btn--hero,
  .btn--header,
  .header__nav-cta,
  .form__submit,
  .story__cta,
  .btn--footer {
    white-space: normal;
  }

  .btn--hero {
    font-size: 17px;
    padding: 14px 24px;
  }
}

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

  .container {
    width: 100%;
  }

  .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));
    display: flex;
    flex-direction: column;
    padding: clamp(28px, 5vw, 48px) clamp(16px, 4vw, 28px) 0;
  }

  .hero__inner {
    height: auto;
    flex: 0 0 auto;
    align-items: flex-start;
  }

  .hero__content {
    max-width: 100%;
    width: 100%;
    padding: clamp(12px, 3vw, 24px) 0 10px;
  }

  .hero__visual {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    height: auto;
    justify-content: center;
    margin-top: 12px;
  }

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

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

  .cred__inner {
    flex-direction: column;
    align-items: center;
    gap: 22px;
    padding-top: 30px;
    padding-bottom: 32px;
  }

  .cred__label {
    max-width: none;
    text-align: center;
  }

  .cred__marks {
    justify-content: center;
  }

  .cred__mark {
    padding: 10px 26px;
    min-height: 0;
    border-left: 0;
  }

  .story,
  .practice,
  .cases,
  .values,
  .contact {
    padding-top: 64px;
    padding-bottom: 68px;
  }

  .testimonial {
    padding: 64px 0;
  }

  .form {
    padding: 32px 26px 36px;
  }

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

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

  .btn--hero {
    width: 100%;
  }

  .hero__tel {
    text-align: center;
  }

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

  .cred__marks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 8px;
    place-items: center;
    width: 100%;
  }

  .cred__mark {
    padding: 4px;
    min-height: 0;
    border-left: 0;
  }

  .cred__image,
  .cred__image--forum,
  .cred__image--trial,
  .cred__image--aaj,
  .cred__image--super {
    height: auto;
    max-height: 50px;
    max-width: 100%;
  }

  .cred__image--forum {
    max-height: 64px;
  }

  .hero__title {
    font-size: 32px;
  }

  .story__figure::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
