:root {
  --ink: #1C1A16;
  --ink-2: #26231D;
  --graphite: #515254;
  --graphite-2: #6B6C6E;
  --orange: #F58220;
  --orange-d: #C4651A;
  --bone: #EFEEEB;
  --bone-2: #E4E2DD;
  --paper: #FFFFFF;
  --rule: rgba(28, 26, 22, 0.14);
  --rule-l: rgba(255, 255, 255, 0.16);
  --pad: 45px;
  --disp: "Vollkorn", Georgia, serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --container-max: 1320px;
  --nav-breakpoint: 1200px;
  --site-chrome-height: 104px;
}

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

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

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

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

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

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

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--disp);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.012em;
}

p {
  margin: 0 0 1.05em;
}

:focus-visible {
  outline: 2.5px solid var(--orange);
  outline-offset: 3px;
}

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

.section {
  padding: 104px 0;
}

/* ---------- eyebrow ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--orange-d);
  margin-bottom: 20px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 26px;
  flex: none;
  border: 2.5px solid var(--orange);
  border-radius: 50%;
  border-left-color: transparent;
  border-bottom-color: transparent;
  transform: rotate(-45deg);
}

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

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

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

.btn--primary:hover {
  background: #fff;
  color: var(--ink);
  transform: translateY(-2px);
}

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

.btn--ghost:hover {
  border-color: var(--orange);
  background: var(--orange);
}

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

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: #ffffff;
  border-bottom: 1px solid var(--rule);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 34px);
  min-height: 104px;
  padding-top: 12px;
  padding-bottom: 12px;
}

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

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

.header__nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 32px);
  margin-left: auto;
}

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

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

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

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

.header__nav-close {
  display: none;
}

.header__nav-extras {
  display: none;
}

.header__cta {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 22px);
  flex-shrink: 0;
}

.header__phone {
  flex-shrink: 0;
  font-family: var(--disp);
  font-size: clamp(18px, 1.5vw, 23px);
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.header__phone:hover {
  color: var(--orange-d);
}

.header .btn--primary {
  color: #fff;
  font-size: clamp(13px, 1.05vw, 16px);
  padding: clamp(10px, 1vw, 14px) clamp(16px, 1.8vw, 28px);
}

.header .btn--primary:hover {
  background: var(--ink);
  color: #fff;
}

.header__burger {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 11px 13px;
  cursor: pointer;
  flex-shrink: 0;
}

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

.header__burger.is-active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.header__burger.is-active span:nth-child(2) {
  opacity: 0;
}

.header__burger.is-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.header__overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(18, 16, 13, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: clamp(24px, 4vw, 56px) clamp(20px, 3vw, 40px) 0;
  overflow: hidden;
  background: var(--ink);
  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 right;
  transform: scale(1.04);
  animation: heroDrift 26s ease-in-out infinite alternate;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    96deg,
    rgba(18, 16, 13, 0.95) 0%,
    rgba(20, 18, 14, 0.86) 40%,
    rgba(24, 21, 16, 0.52) 68%,
    rgba(24, 21, 16, 0.3) 100%
  );
}

.hero__ring {
  position: absolute;
  right: 6%;
  bottom: -140px;
  width: 600px;
  height: 600px;
  border: 2px solid rgba(245, 130, 32, 0.4);
  border-radius: 50%;
  border-left-color: transparent;
  border-bottom-color: transparent;
  transform: rotate(-42deg);
  pointer-events: none;
}

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

.hero__content {
  padding: 0 clamp(0px, 1vw, 12px) clamp(48px, 7vh, 78px);
  max-width: min(100%, 640px);
  width: min(100%, 55%);
  color: #fff;
}

.hero h1 {
  font-size: clamp(48px, 5.4vw, 84px);
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.022em;
}

.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--orange);
}

.hero h2 {
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.015em;
  color: rgba(255, 255, 255, 0.82);
  margin-top: 20px;
  max-width: 430px;
}

.hero__rule {
  width: 74px;
  height: 3px;
  background: var(--orange);
  margin: 26px 0;
}

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

.hero__phone {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.hero__phone small {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 5px;
}

.hero__phone a {
  font-family: var(--disp);
  font-size: 24px;
  font-weight: 600;
  color: #fff;
}

.hero__phone a:hover {
  color: var(--orange);
}

.hero__visual {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 52%;
  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;
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.09) translate3d(-16px, 0, 0);
  }
}

/* ---------- accolades ---------- */
.accolades {
  background: var(--bone);
  border-bottom: 1px solid var(--rule);
}

.accolades__inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  gap: 0;
  padding-top: 34px;
  padding-bottom: 34px;
}

.accolades__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-align: center;
  padding: 6px 30px;
  border-right: 1px solid var(--rule);
  min-height: 112px;
}

.accolades__item:last-child {
  border-right: 0;
}

.accolades__badge {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.accolades__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--graphite-2);
  line-height: 1.5;
}

.accolades__stat {
  font-family: var(--disp);
  font-size: 29px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

/* ---------- about ---------- */
.about__inner {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 76px;
  align-items: center;
}

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

.about__figure img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  object-position: center 38%;
}

.about__figure::after {
  content: "";
  position: absolute;
  left: -22px;
  bottom: -22px;
  width: 150px;
  height: 150px;
  border: 3px solid var(--orange);
  border-radius: 50%;
  border-right-color: transparent;
  border-top-color: transparent;
  transform: rotate(-45deg);
}

.about h2 {
  font-size: clamp(30px, 3.1vw, 45px);
  max-width: 19ch;
  font-weight: 600;
}

.about h3 {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--graphite);
  margin: 22px 0 26px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}

.about p {
  color: #43413C;
  font-size: 17.5px;
  max-width: 66ch;
}

.about .btn {
  margin-top: 14px;
}

.about .btn--primary:hover {
  background: var(--ink);
}

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

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

.practice__head h2 {
  font-size: clamp(30px, 3.1vw, 45px);
}

.practice__head p {
  max-width: 44ch;
  color: #4B4944;
  margin: 0;
}

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

.card {
  background: var(--paper);
  border: 1px solid var(--rule);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 44px -20px rgba(28, 26, 22, 0.34);
}

.card__figure {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--ink);
}

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

.card:hover .card__figure img {
  transform: scale(1.07);
}

.card__number {
  position: absolute;
  left: 0;
  top: 0;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  padding: 7px 13px;
  z-index: 1;
}

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

.card h3 {
  font-size: 23px;
  margin-bottom: 10px;
}

.card p {
  font-size: 15.5px;
  line-height: 1.62;
  color: #56534D;
  margin: 0 0 18px;
}

.card__link {
  margin-top: auto;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-d);
}

.card__link span {
  transition: margin-left 0.25s ease;
  display: inline-block;
  margin-left: 6px;
}

.card:hover .card__link span {
  margin-left: 12px;
}

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

.results__texture {
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/bg-results.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.09;
  mix-blend-mode: screen;
}

.results__inner {
  position: relative;
}

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

.results h2 {
  font-size: clamp(30px, 3.1vw, 45px);
  color: #fff;
}

.results__note {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  max-width: 34ch;
  margin: 0;
}

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

.results__item {
  padding: 44px 34px 40px;
  border-right: 1px solid var(--rule-l);
  position: relative;
}

.results__item:first-child {
  padding-left: 0;
}

.results__item:last-child {
  border-right: 0;
  padding-right: 0;
}

.results__item::before {
  content: "";
  position: absolute;
  left: 34px;
  top: -1px;
  width: 56px;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.results__item:first-child::before {
  left: 0;
}

.results__item:hover::before {
  transform: scaleX(1);
}

.results__figure {
  font-family: var(--disp);
  font-size: clamp(34px, 3.6vw, 52px);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1;
  color: #fff;
}

.results__type {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-top: 16px;
}

.results__more {
  display: inline-block;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 2px;
}

.results__more:hover {
  color: #fff;
  border-color: var(--orange);
}

/* ---------- values ---------- */
.values__inner {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 70px;
}

.values h2 {
  font-size: clamp(30px, 3.1vw, 45px);
  max-width: 14ch;
}

.values__lead {
  color: #4B4944;
  margin-top: 22px;
  max-width: 38ch;
}

.values__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--rule);
}

.values__item {
  background: var(--paper);
  padding: 38px 34px 36px;
}

.values__key {
  font-family: var(--disp);
  font-size: 15px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.02em;
}

.values__item h3 {
  font-size: 22px;
  margin: 12px 0;
  max-width: 16ch;
}

.values__item p {
  font-size: 15.5px;
  line-height: 1.64;
  color: #56534D;
  margin: 0 0 16px;
}

.values__item a {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--graphite);
}

.values__item a:hover {
  color: var(--orange-d);
}

/* ---------- testimonial ---------- */
.testimonial {
  position: relative;
  padding: 130px 0;
  color: #fff;
  overflow: hidden;
}

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

.testimonial__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(20, 18, 14, 0.93) 0%,
    rgba(20, 18, 14, 0.8) 52%,
    rgba(20, 18, 14, 0.4) 100%
  );
}

.testimonial__inner {
  position: relative;
  max-width: 840px;
}

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

.testimonial blockquote {
  margin: 0;
  font-family: var(--disp);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(24px, 2.9vw, 40px);
  line-height: 1.34;
  letter-spacing: -0.014em;
  color: #fff;
}

.testimonial blockquote::before {
  content: "\201C";
  color: var(--orange);
}

.testimonial blockquote::after {
  content: "\201D";
  color: var(--orange);
}

.testimonial cite {
  display: block;
  margin-top: 28px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
}

.stars {
  display: flex;
  gap: 6px;
  margin-bottom: 26px;
}

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

.contact__inner {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 76px;
  align-items: start;
}

.contact h2 {
  font-size: clamp(30px, 3.2vw, 46px);
  max-width: 16ch;
}

.contact__lead {
  color: #4B4944;
  margin-top: 22px;
  max-width: 42ch;
}

.contact__list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}

.contact__list li {
  display: flex;
  gap: 16px;
  padding: 19px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 16px;
}

.contact__list b {
  font-family: var(--disp);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-d);
  min-width: 76px;
  padding-top: 4px;
}

.contact__phone {
  font-family: var(--disp);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
}

.form {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 44px 42px 46px;
}

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

.field {
  display: flex;
  flex-direction: column;
}

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

.field label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--graphite);
  margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: #FAFAF9;
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 0 15px;
  height: 40px;
  width: 100%;
  transition: border-color 0.2s, background 0.2s;
}

.field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--graphite) 50%),
    linear-gradient(135deg, var(--graphite) 50%, transparent 50%);
  background-position: calc(100% - 19px) 17px, calc(100% - 14px) 17px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

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

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

.form .btn {
  width: 100%;
  margin-top: 26px;
}

.form .btn--primary:hover {
  background: var(--ink);
  color: #fff;
}

.form__fine {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--graphite-2);
  margin: 18px 0 0;
  text-align: center;
}

/* ---------- footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 78px 0 0;
  font-size: 15px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 0.8fr 1fr;
  gap: 52px;
  padding-bottom: 60px;
}

.footer__logo {
  width: 238px;
  margin-bottom: 24px;
}

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

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

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

.footer li {
  margin-bottom: 11px;
}

.footer a:hover {
  color: var(--orange);
}

.footer address {
  font-style: normal;
  line-height: 1.75;
}

.footer__phone {
  font-family: var(--disp);
  font-size: 26px;
  font-weight: 600;
  color: #fff;
  display: inline-block;
  margin-top: 6px;
}

.footer__cta {
  margin-top: 20px;
}

.footer__bar {
  border-top: 1px solid var(--rule-l);
  padding: 26px 0 34px;
  display: flex;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
}

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

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

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

  .hero__bg {
    animation: none;
  }

  * {
    scroll-behavior: auto !important;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 1500px) {
  .hero__visual {
    width: 48%;
  }
}

@media (max-width: 1240px) {
  :root {
    --pad: 32px;
  }

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

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

  .results__item {
    padding: 34px 26px;
  }

  .results__item:nth-child(2) {
    border-right: 0;
  }

  .results__item:nth-child(3),
  .results__item:nth-child(4) {
    border-top: 1px solid var(--rule-l);
  }

  .results__item:nth-child(3) {
    padding-left: 0;
  }

  .results__item:nth-child(2)::before,
  .results__item:nth-child(4)::before {
    left: 26px;
  }

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

  .about__figure img {
    height: 440px;
  }

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

  .accolades__inner {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 20px;
  }

  .accolades__item:nth-child(3) {
    border-right: 0;
  }
}

/* Nav hamburger at 1200px */
@media (max-width: 1200px) {
  .header__cta {
    display: none;
  }

  .header__burger {
    display: block;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 100;
    width: min(360px, 86vw);
    height: 100%;
    height: 100dvh;
    margin: 0;
    padding: 88px 32px 40px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    background-color: #ffffff;
    border-left: 1px solid var(--rule);
    box-shadow: -18px 0 40px rgba(18, 16, 13, 0.18);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.35s ease, visibility 0.35s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

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

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

  .header__nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 22px;
    right: 22px;
    width: 44px;
    height: 44px;
    background: none;
    border: 1px solid var(--rule);
    border-radius: 8px;
    font-size: 28px;
    line-height: 1;
    color: var(--ink);
    cursor: pointer;
  }

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

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

  .header__nav-extras {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-top: 28px;
    width: 100%;
  }

  .header__nav-extras .header__phone {
    font-size: 24px;
  }

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

  .header__inner {
    min-height: 84px;
  }

  .section {
    padding: 74px 0;
  }

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

  .hero__visual {
    width: 46%;
  }

  .practice__head,
  .results__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .testimonial {
    padding: 88px 0;
  }

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

@media (max-width: 980px) {
  .btn {
    white-space: normal;
  }

  .hero__actions .btn {
    font-size: 17px;
    padding: 16px 28px;
  }
}

@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: calc(100svh - var(--site-chrome-height));
    padding: clamp(28px, 5vw, 40px) clamp(16px, 4vw, 24px) 0;
    display: flex;
    flex-direction: column;
  }

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

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

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

  .hero__image {
    height: min(430px, 58vh);
    width: auto;
    max-width: 100%;
  }

  .hero__ring {
    width: 340px;
    height: 340px;
    bottom: -90px;
    right: -60px;
  }

  .hero__veil {
    background: linear-gradient(
      180deg,
      rgba(18, 16, 13, 0.94) 0%,
      rgba(20, 18, 14, 0.86) 60%,
      rgba(24, 21, 16, 0.62) 100%
    );
  }
}

@media (max-width: 640px) {
  :root {
    --pad: 20px;
  }

  body {
    font-size: 16px;
  }

  .container {
    width: 100%;
  }

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

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

  .results__item {
    padding: 30px 0 !important;
    border-right: 0;
    border-top: 1px solid var(--rule-l);
  }

  .results__item:first-child {
    border-top: 0;
  }

  .results__item::before {
    left: 0 !important;
  }

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

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

  .accolades__item {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
    min-height: 92px;
  }

  .accolades__item:last-child {
    border-bottom: 0;
  }

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

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

  .hero h1 {
    font-size: 40px;
  }

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

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

  .hero__actions .btn {
    width: 100%;
  }

  .hero__phone {
    width: 100%;
  }
}
