:root {
  --ink: #0c1320;
  --ink-2: #141f31;
  --slate: #28384f;
  --steel: #6f92c4;
  --steel-dp: #43679c;
  --platinum: #c7d2e1;
  --paper: #f5f7fa;
  --line: rgba(12, 19, 32, 0.12);
  --line-lt: rgba(199, 210, 225, 0.22);
  --container-max: 1320px;
  --nav-breakpoint: 1200px;
  --site-chrome-height: 104px;
  --ff-d: "Rufina", Georgia, serif;
  --ff-b: "Hanken Grotesk", -apple-system, "Segoe UI", sans-serif;
}

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

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

body {
  margin: 0;
  background: #fff;
  color: var(--slate);
  font-family: var(--ff-b);
  font-size: 17px;
  line-height: 1.72;
  font-weight: 400;
  overflow-x: hidden;
}

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

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

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

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--ff-d);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.14;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1.15em;
}

p:last-child {
  margin-bottom: 0;
}

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

/* ---------- layout ---------- */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: clamp(20px, 3.5vw, 45px);
  padding-right: clamp(20px, 3.5vw, 45px);
}

/* ---------- marks ---------- */

.triptych {
  display: flex;
  gap: 3px;
  width: 54px;
  height: 9px;
  flex: none;
}

.triptych i {
  flex: 1;
  background: linear-gradient(180deg, var(--steel-dp), var(--platinum));
}

.triptych--light i {
  background: linear-gradient(180deg, var(--platinum), rgba(199, 210, 225, 0.15));
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.eyebrow span:last-child {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--steel-dp);
}

.eyebrow--light span:last-child {
  color: var(--platinum);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--ff-b);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  padding: 19px 38px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: linear-gradient(120deg, var(--steel-dp), var(--steel));
  color: #fff;
  white-space: nowrap;
  max-width: 100%;
  box-shadow: 0 14px 34px -14px rgba(67, 103, 156, 0.75);
  transition: transform 0.28s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.28s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px -14px rgba(67, 103, 156, 0.85);
}

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

.btn--outline {
  background: none;
  border: 1px solid var(--line-lt);
  color: #fff;
  box-shadow: none;
  font-size: 16px;
  padding: 16px 30px;
}

.btn--outline:hover {
  border-color: var(--platinum);
  background: rgba(199, 210, 225, 0.08);
}

/* ---------- header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 34px);
  height: 104px;
}

.header__logo {
  flex-shrink: 0;
}

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

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

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

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

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

.header__nav-link--active {
  color: var(--ink);
}

.header__nav-extras {
  display: none;
}

.header__tel {
  flex-shrink: 0;
  font-family: var(--ff-d);
  font-size: clamp(18px, 1.5vw, 22px);
  color: var(--ink);
  white-space: nowrap;
}

.header__tel small {
  display: block;
  font-family: var(--ff-b);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel-dp);
  line-height: 1;
}

.header__cta {
  flex-shrink: 0;
  font-size: clamp(13px, 1.1vw, 16px);
  padding: clamp(10px, 1vw, 14px) clamp(16px, 1.6vw, 26px);
}

.header__burger {
  display: none;
  flex-shrink: 0;
  margin-left: auto;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 70;
}

.header__burger-line {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  margin: 4px auto;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.header__burger[aria-expanded="true"] .header__burger-line:nth-child(1) {
  transform: translateY(5.5px) 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(-5.5px) rotate(-45deg);
}

.header__overlay {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(12, 19, 32, 0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

/* ---------- hero ---------- */

.hero {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
  padding: clamp(24px, 4vw, 56px) 0 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;
  z-index: 0;
  background-image: url("../assets/images/bg-hero.webp");
  background-size: cover;
  background-position: center;
  opacity: 0.13;
  filter: contrast(1.15);
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(120% 100% at 8% 0%, rgba(111, 146, 196, 0.3), transparent 58%),
    linear-gradient(96deg, var(--ink) 0%, var(--ink) 40%, rgba(20, 31, 49, 0.86) 62%, rgba(20, 31, 49, 0.55) 100%);
}

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

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

.hero__title {
  font-size: clamp(40px, 4.4vw, 66px);
  color: #fff;
  letter-spacing: -0.02em;
}

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

.hero__subtitle {
  font-family: var(--ff-b);
  font-weight: 400;
  font-size: clamp(16px, 1.28vw, 20px);
  line-height: 1.58;
  color: rgba(224, 232, 242, 0.86);
  margin: 20px 0 0;
  max-width: 37ch;
}

.hero__rule {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 30px 0 26px;
}

.hero__rule hr {
  flex: 1;
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, var(--line-lt), transparent);
  margin: 0;
}

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

.hero__tel {
  font-family: var(--ff-d);
  font-size: 24px;
  color: #fff;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 11px;
}

.hero__tel svg {
  width: 17px;
  height: 17px;
  fill: var(--steel);
  flex: none;
}

.hero__visual {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 55%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  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-top: 1px solid rgba(199, 210, 225, 0.1);
}

.accolades__inner {
  display: flex;
  align-items: center;
  gap: 44px;
  padding: 34px 0;
}

.accolades__label {
  flex: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--platinum);
  max-width: 150px;
  line-height: 1.7;
}

.accolades__row {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 34px;
  flex-wrap: wrap;
}

.accolades__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 84px;
  flex: 0 1 auto;
}

.accolades__badge img {
  width: auto;
  max-width: 190px;
  object-fit: contain;
  opacity: 0.92;
  transition: opacity 0.3s;
}

.accolades__badge:hover img {
  opacity: 1;
}

.accolades__badge--seal img {
  height: 82px;
}

.accolades__badge--wide img {
  height: 68px;
}

.accolades__badge--word img {
  height: 46px;
}

.accolades__badge--mid img {
  height: 58px;
}

/* ---------- sections ---------- */

.section {
  padding: 104px 0;
}

.section--tight {
  padding: 88px 0;
}

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

.section__title-thin {
  color: var(--steel-dp);
}

/* ---------- about ---------- */

.about__inner {
  display: flex;
  gap: 74px;
  align-items: center;
}

.about__figure {
  flex: 0 0 40%;
  position: relative;
  margin: 0;
}

.about__figure img {
  width: 100%;
  border-radius: 2px;
}

.about__figure::after {
  content: "";
  position: absolute;
  inset: auto -18px -18px auto;
  width: 62%;
  height: 56%;
  border: 1px solid var(--platinum);
  border-left: 0;
  border-top: 0;
  z-index: -1;
}

.about__stat {
  position: absolute;
  right: -24px;
  top: 44px;
  background: #fff;
  padding: 22px 26px;
  border-left: 3px solid var(--steel-dp);
  box-shadow: 0 24px 60px -26px rgba(12, 19, 32, 0.4);
}

.about__stat b {
  display: block;
  font-family: var(--ff-d);
  font-size: 34px;
  color: var(--ink);
  line-height: 1;
}

.about__stat span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel-dp);
}

.about__text {
  flex: 1 1 auto;
  min-width: 0;
}

.about__text .section__title {
  margin-bottom: 26px;
}

.about__callout {
  margin-top: 34px;
  padding: 24px 28px;
  background: var(--paper);
  border-left: 3px solid var(--steel);
  font-family: var(--ff-d);
  font-size: 20px;
  color: var(--ink);
  line-height: 1.5;
}

.about__callout a {
  color: var(--steel-dp);
  border-bottom: 1px solid var(--platinum);
}

/* ---------- practice ---------- */

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

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

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.34s cubic-bezier(0.2, 0.7, 0.3, 1),
    box-shadow 0.34s,
    border-color 0.34s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -30px rgba(12, 19, 32, 0.42);
  border-color: var(--platinum);
}

.card__image {
  position: relative;
  aspect-ratio: 19 / 14;
  overflow: hidden;
  background: var(--ink-2);
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}

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

.card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 19, 32, 0) 42%, rgba(12, 19, 32, 0.62));
}

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

.card__title {
  font-size: 23px;
}

.card__body p {
  font-size: 15.5px;
  line-height: 1.62;
  color: #5a6b84;
  margin: 0;
}

.card__more {
  margin-top: auto;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel-dp);
  display: flex;
  align-items: center;
  gap: 9px;
}

.card__more i {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--steel-dp);
  transition: width 0.3s;
}

.card:hover .card__more i {
  width: 30px;
}

/* ---------- results ---------- */

.results {
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

.results__bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/bg-results.webp");
  background-size: cover;
  background-position: center 30%;
  opacity: 0.16;
  filter: grayscale(1) contrast(1.1);
}

.results__inner {
  position: relative;
}

.results__title {
  color: #fff;
  font-size: clamp(26px, 2.5vw, 38px);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  max-width: 22ch;
}

.results__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 56px;
  background: rgba(199, 210, 225, 0.16);
}

.results__cell {
  position: relative;
  padding: 44px 30px 40px;
  background: var(--ink);
  overflow: hidden;
  transition: background 0.4s;
}

.results__cell::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 100%;
  background: linear-gradient(180deg, rgba(111, 146, 196, 0.24), transparent 62%);
  opacity: 0;
  transition: opacity 0.45s;
}

.results__cell:hover::before {
  opacity: 1;
}

.results__amount {
  font-family: var(--ff-d);
  font-size: clamp(30px, 2.8vw, 42px);
  color: #fff;
  line-height: 1;
  position: relative;
}

.results__label {
  position: relative;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--platinum);
}

.results__note {
  position: relative;
  margin-top: 30px;
  font-size: 14.5px;
  color: rgba(224, 232, 242, 0.6);
  line-height: 1.6;
}

.results__footer {
  margin-top: 46px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.results__footer p {
  font-size: 14px;
  color: rgba(224, 232, 242, 0.55);
  margin: 0;
  max-width: 62ch;
}

/* ---------- values ---------- */

.values__top {
  max-width: 640px;
  margin-bottom: 54px;
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.values__cell {
  padding: 38px 32px 34px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: background 0.35s;
}

.values__cell:first-child {
  border-left: 1px solid var(--line);
}

.values__cell:hover {
  background: var(--paper);
}

.values__heading {
  font-size: 22px;
  line-height: 1.24;
}

.values__more {
  margin-top: auto;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel-dp);
  display: flex;
  align-items: center;
  gap: 9px;
}

.values__more i {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--steel-dp);
  transition: width 0.3s;
}

.values__cell:hover .values__more i {
  width: 30px;
}

/* ---------- testimonial ---------- */

.testimonial {
  background: var(--paper);
}

.testimonial__inner {
  display: flex;
  gap: 70px;
  align-items: center;
}

.testimonial__figure {
  flex: 0 0 34%;
  margin: 0;
}

.testimonial__figure img {
  width: 100%;
  border-radius: 2px;
}

.testimonial__body {
  flex: 1 1 auto;
  min-width: 0;
}

.testimonial__title {
  font-size: clamp(26px, 2.4vw, 36px);
  margin-bottom: 28px;
}

.testimonial__heading {
  font-family: var(--ff-d);
  font-size: 24px;
  color: var(--steel-dp);
  margin: 0 0 16px;
}

.testimonial__quote {
  font-family: var(--ff-d);
  font-size: clamp(21px, 1.9vw, 28px);
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
}

.testimonial__by {
  margin-top: 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel-dp);
}

.testimonial__stars {
  display: flex;
  gap: 5px;
  margin-bottom: 22px;
}

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

/* ---------- contact ---------- */

.contact {
  background: var(--ink-2);
  position: relative;
  overflow: hidden;
}

.contact__bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/bg-contact.webp");
  background-size: cover;
  background-position: center;
  opacity: 0.14;
  filter: grayscale(0.5);
}

.contact__inner {
  position: relative;
  display: flex;
  gap: 74px;
  align-items: flex-start;
}

.contact__info {
  flex: 1 1 44%;
  min-width: 0;
}

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

.contact__info > p {
  color: rgba(224, 232, 242, 0.72);
  margin-top: 20px;
  font-size: 16.5px;
}

.contact__tel {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  font-family: var(--ff-d);
  font-size: 24px;
  color: #fff;
}

.contact__tel svg {
  width: 17px;
  height: 17px;
  fill: var(--steel);
  flex: none;
}

.contact__meta {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line-lt);
  display: flex;
  gap: 44px;
  flex-wrap: wrap;
}

.contact__meta div {
  font-size: 14.5px;
  color: rgba(224, 232, 242, 0.7);
  line-height: 1.7;
}

.contact__meta b {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--platinum);
  margin-bottom: 8px;
}

.contact__form {
  flex: 1 1 56%;
  min-width: 0;
  background: #fff;
  padding: 40px;
  border-radius: 2px;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.6);
}

.contact__form-title {
  font-size: 24px;
  margin-bottom: 6px;
}

.contact__form-hint {
  font-size: 14px;
  color: #6c7b92;
  margin-bottom: 26px;
}

.contact__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

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

.field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}

.field input,
.field select,
.field textarea {
  font-family: var(--ff-b);
  font-size: 16px;
  color: var(--ink);
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
  width: 100%;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--steel-dp) 50%),
    linear-gradient(135deg, var(--steel-dp) 50%, transparent 50%);
  background-position:
    calc(100% - 19px) calc(50% - 3px),
    calc(100% - 13px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.field textarea {
  height: 120px;
  padding: 12px 14px;
  resize: vertical;
  line-height: 1.6;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--steel);
  box-shadow: 0 0 0 3px rgba(111, 146, 196, 0.18);
}

.contact__form .btn {
  width: 100%;
  margin-top: 8px;
}

.contact__form-fine {
  font-size: 12.5px;
  color: #8592a6;
  margin: 16px 0 0;
  line-height: 1.6;
}

/* ---------- footer ---------- */

.footer {
  background: var(--ink);
  color: rgba(224, 232, 242, 0.62);
  padding: 70px 0 34px;
}

.footer__inner {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer__brand {
  flex: 1 1 300px;
}

.footer__brand img {
  width: 210px;
  background: #fff;
  padding: 14px 16px;
  border-radius: 2px;
  max-width: none;
}

.footer__brand p {
  margin-top: 22px;
  font-size: 14.5px;
  line-height: 1.75;
  max-width: 38ch;
}

.footer__col {
  flex: 0 1 200px;
}

.footer__heading {
  font-size: 11px;
  font-family: var(--ff-b);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--platinum);
  margin-bottom: 18px;
}

.footer__col a,
.footer__col address {
  display: block;
  font-size: 14.5px;
  font-style: normal;
  line-height: 1.9;
  color: rgba(224, 232, 242, 0.62);
}

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

.footer__bottom {
  margin-top: 54px;
  padding-top: 24px;
  border-top: 1px solid rgba(199, 210, 225, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(224, 232, 242, 0.45);
}

/* ---------- reveal ---------- */

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

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

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

  * {
    animation: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 1440px) {
  .about__inner {
    gap: 52px;
  }

  .contact__inner {
    gap: 52px;
  }
}

@media (max-width: 1200px) {
  .header__inner {
    height: 88px;
    gap: 16px;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 65;
    width: min(360px, 88vw);
    height: 100%;
    margin: 0;
    padding: 88px 28px 40px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    background: #fff;
    box-shadow: -24px 0 60px -30px rgba(12, 19, 32, 0.45);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1);
    overflow-y: auto;
  }

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

  .header__nav[aria-hidden="true"] {
    visibility: hidden;
  }

  .header__nav.is-open[aria-hidden="false"] {
    visibility: visible;
  }

  .header__nav-link {
    font-size: 18px;
    padding: 12px 0;
    width: 100%;
  }

  .header__nav-extras {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
    width: 100%;
  }

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

  .header__tel--bar,
  .header__cta {
    display: none;
  }

  .header__burger {
    display: block;
  }

  .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(28px, 5vw, 48px) 0 0;
  }

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

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

  .hero__visual {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 280px;
    justify-content: center;
  }

  .hero__image {
    height: auto;
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
  }

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

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

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

  .values__cell:nth-child(odd) {
    border-left: 1px solid var(--line);
  }

  .about__inner,
  .testimonial__inner,
  .contact__inner {
    flex-direction: column;
  }

  .about__figure,
  .testimonial__figure {
    flex: none;
    width: 100%;
    max-width: 520px;
  }

  .about__stat {
    right: auto;
    left: 24px;
    top: auto;
    bottom: -18px;
  }

  .accolades__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }

  .accolades__label {
    max-width: none;
  }

  .accolades__row {
    width: 100%;
    justify-content: flex-start;
    gap: 28px;
  }
}

@media (max-width: 980px) {
  .btn {
    white-space: normal;
    font-size: 17px;
    padding: 16px 28px;
  }
}

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

  .section,
  .section--tight {
    padding: 64px 0;
  }

  .hero {
    padding: clamp(32px, 6vw, 48px) clamp(0px, 1vw, 8px) 0;
  }

  .hero__content {
    max-width: 100%;
    padding-bottom: 28px;
  }

  .hero__tel {
    font-size: 22px;
  }

  .hero__actions {
    gap: 14px;
  }

  .hero__visual {
    min-height: 240px;
  }

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

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

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

  .values__cell {
    border-left: 1px solid var(--line);
  }

  .accolades__badge {
    height: 64px;
  }

  .accolades__badge img {
    max-width: 150px;
  }

  .accolades__badge--seal img {
    height: 62px;
  }

  .accolades__badge--wide img {
    height: 52px;
  }

  .accolades__badge--word img {
    height: 36px;
  }

  .accolades__badge--mid img {
    height: 45px;
  }

  .contact__form {
    padding: 26px 22px;
  }

  .contact__form-row {
    grid-template-columns: 1fr;
  }

  .about__stat {
    position: static;
    margin-top: 18px;
    box-shadow: none;
  }

  .about__figure::after {
    display: none;
  }

  .footer__inner {
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .hero__actions .btn,
  .hero__actions .btn--outline {
    width: 100%;
  }

  .hero__tel {
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .practice__top .btn {
    width: auto;
  }

  .results__footer .btn {
    width: auto;
  }
}
