/* ============================================================
   THE LAW OFFICE OF JESSE P. DURAN — homepage
   Design system: Leaders Marketing / house style (Ricky)
   Palette derived from the firm's own chrome-silver wordmark
   Display: EB Garamond   ·   Text/UI: Inter Tight
   ============================================================ */

:root {
  --ink: #0a0d11;
  --graphite: #151a21;
  --slate: #212b36;
  --steel: #33404d;
  --silver: #9aa4af;
  --platinum: #e9edf2;
  --bone: #f4f2ed;
  --paper: #ffffff;
  --brass: #b08a3e;
  --brass-lt: #d8b25e;
  --hair: rgba(233, 237, 242, 0.14);
  --hair-dk: rgba(10, 13, 17, 0.12);

  --pad: 45px;
  --nav-fs: 16px;
  --phone-fs: 24px;
  --cta-fs: 20px;
  --ff-display: "EB Garamond", Georgia, "Times New Roman", serif;
  --ff-text: "Inter Tight", "Helvetica Neue", Arial, sans-serif;

  --container-max: 1720px;
  --nav-breakpoint: 1200px;
  --site-chrome-height: 200px;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--slate);
  font-family: var(--ff-text);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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(--ff-display);
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.08;
}

p {
  margin: 0;
}

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

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

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

.rule {
  width: 76px;
  height: 2px;
  background: var(--brass);
  border: 0;
  margin: 0;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--ff-text);
  font-size: var(--cta-fs);
  font-weight: 600;
  line-height: 1.35;
  padding: 1.05em 2.1em;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  max-width: 100%;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.btn--primary {
  background: var(--brass);
  color: #12100a;
  border-color: var(--brass);
}

.btn--primary:hover {
  background: var(--brass-lt);
  border-color: var(--brass-lt);
}

.btn--sm {
  font-size: var(--nav-fs);
  padding: 0.85em 1.6em;
}

.tel {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-size: var(--phone-fs);
  font-weight: 600;
  color: var(--platinum);
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: color 0.2s;
}

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

.tel svg {
  width: 0.78em;
  height: 0.78em;
  fill: var(--brass);
  flex: none;
}

/* ---------- utility bar ---------- */

.utility {
  background: #06080b;
  border-bottom: 1px solid rgba(233, 237, 242, 0.07);
}

.utility__inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 22px;
  padding-top: 9px;
  padding-bottom: 9px;
  font-size: 13.5px;
  color: var(--silver);
  letter-spacing: 0.01em;
}

.utility__item {
  display: flex;
  align-items: center;
  gap: 22px;
}

.utility__item::before {
  content: "";
  width: 1px;
  height: 13px;
  background: var(--hair);
}

.utility__item:first-child::before {
  display: none;
}

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

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

.header__overlay {
  display: none;
}

.header__overlay[hidden] {
  display: none !important;
}

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

.header__brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-top: 26px;
  padding-bottom: 26px;
}

.header__logo {
  flex-shrink: 0;
}

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

.header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 1px solid rgba(233, 237, 242, 0.3);
  border-radius: 6px;
  cursor: pointer;
  z-index: 4;
  flex-shrink: 0;
}

.header__toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--platinum);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

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

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

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

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

.header__cta .btn {
  font-size: clamp(14px, 1.1vw, var(--nav-fs));
  padding: 0.85em clamp(1.2em, 1.5vw, 1.6em);
}

.header__cta .tel {
  font-size: clamp(18px, 1.5vw, var(--phone-fs));
}

.header__nav {
  background: var(--graphite);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  position: relative;
  z-index: 2;
}

.header__nav-inner {
  display: flex;
  align-items: stretch;
  gap: clamp(18px, 3.4vw, 64px);
}

.header__nav-list {
  display: flex;
  align-items: stretch;
  gap: clamp(18px, 3.4vw, 64px);
}

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

.header__nav-link {
  position: relative;
  display: flex;
  align-items: center;
  font-size: clamp(14px, 1.1vw, var(--nav-fs));
  font-weight: 500;
  color: var(--platinum);
  padding: 19px 0;
  letter-spacing: 0.005em;
  white-space: nowrap;
  transition: color 0.2s;
}

.header__nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s ease;
}

.header__nav-link:hover {
  color: #fff;
}

.header__nav-link:hover::after,
.header__nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.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__bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/bg-hero.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.9;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    96deg,
    var(--ink) 0%,
    rgba(10, 13, 17, 0.96) 34%,
    rgba(10, 13, 17, 0.72) 56%,
    rgba(10, 13, 17, 0.42) 78%,
    rgba(10, 13, 17, 0.55) 100%
  );
}

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

.hero__content {
  position: relative;
  z-index: 2;
  max-width: min(100%, 640px);
  width: min(100%, 52%);
  padding-inline: clamp(8px, 2vw, 24px);
  padding-block: clamp(8px, 2vw, 20px);
}

.hero__title {
  font-size: clamp(38px, 3.45vw, 60px);
  color: #fff;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero__content .rule {
  margin: 26px 0 22px;
}

.hero__text {
  color: #c4cbd3;
  font-size: 17.5px;
  line-height: 1.72;
  max-width: 60ch;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 34px);
  margin-top: 34px;
  flex-wrap: nowrap;
}

.hero__actions .tel {
  font-size: var(--phone-fs);
}

.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__frame {
  position: absolute;
  right: 8%;
  bottom: 0;
  width: 62%;
  height: 80%;
  border: 1px solid rgba(176, 138, 62, 0.55);
  border-bottom: none;
  pointer-events: none;
}

.hero__frame::before {
  content: "";
  position: absolute;
  inset: 14px 14px 0 14px;
  border: 1px solid rgba(233, 237, 242, 0.08);
  border-bottom: none;
}

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

/* ---------- accolades ---------- */

.accolades {
  background: var(--ink);
  border-top: 1px solid rgba(176, 138, 62, 0.32);
}

.accolades__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(30px, 5vw, 86px);
  padding-top: 34px;
  padding-bottom: 34px;
  flex-wrap: wrap;
}

.accolades img {
  opacity: 0.82;
  transition: opacity 0.24s ease;
  flex: none;
}

.accolades img:hover {
  opacity: 1;
}

/* ---------- section furniture ---------- */

.section {
  padding-top: clamp(64px, 6vw, 104px);
  padding-bottom: clamp(64px, 6vw, 104px);
}

.section--bone {
  background: var(--bone);
}

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

.section--graphite {
  background: var(--graphite);
  color: var(--platinum);
}

.section__header {
  max-width: 62ch;
}

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

.section--graphite .section__title,
.results .section__title {
  color: #fff;
}

.section__eyebrow {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 1.5vw, 25px);
  color: var(--brass);
  margin-top: 12px;
  letter-spacing: 0;
}

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

.about {
  display: grid;
  grid-template-columns: minmax(300px, 40%) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 86px);
  align-items: center;
}

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

.about__figure img {
  width: 100%;
  height: auto;
}

.about__figure::after {
  content: "";
  position: absolute;
  left: -18px;
  bottom: -18px;
  width: 52%;
  height: 38%;
  border-left: 2px solid var(--brass);
  border-bottom: 2px solid var(--brass);
}

.about__title {
  font-size: clamp(30px, 2.7vw, 45px);
  color: var(--ink);
}

.about__subtitle {
  font-family: var(--ff-text);
  font-size: 19px;
  font-weight: 500;
  color: var(--steel);
  margin-top: 14px;
  letter-spacing: 0;
  line-height: 1.4;
}

.about .rule {
  margin: 26px 0;
}

.about__body p {
  max-width: 66ch;
  color: #3c4650;
  line-height: 1.78;
}

.callout {
  margin-top: 32px;
  padding: 24px 28px;
  background: #fff;
  border-left: 3px solid var(--brass);
  font-size: 17.5px;
  color: var(--ink);
  line-height: 1.6;
}

.callout a {
  color: var(--brass);
  font-weight: 600;
  border-bottom: 1px solid rgba(176, 138, 62, 0.4);
}

.callout a:hover {
  border-bottom-color: var(--brass);
}

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

.practice {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 1.8vw, 28px);
  margin-top: 52px;
}

.practice-card {
  background: var(--paper);
  border: 1px solid var(--hair-dk);
  display: flex;
  flex-direction: column;
  transition: border-color 0.24s ease, box-shadow 0.24s ease;
}

.practice-card:hover {
  border-color: rgba(176, 138, 62, 0.55);
  box-shadow: 0 18px 40px -26px rgba(10, 13, 17, 0.45);
}

.practice-card__thumb {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--graphite);
}

.practice-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.practice-card__title {
  font-size: 24px;
  color: var(--ink);
}

.practice-card__body p {
  margin-top: 12px;
  font-size: 15.5px;
  color: #54606b;
  line-height: 1.62;
}

.practice-card__more {
  margin-top: auto;
  padding-top: 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--brass);
  align-self: flex-start;
  border-bottom: 1px solid transparent;
}

.practice-card:hover .practice-card__more {
  border-bottom-color: var(--brass);
}

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

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

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

.results__inner {
  position: relative;
}

.results__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2vw, 32px);
  margin-top: 52px;
}

.result-card {
  background: rgba(21, 26, 33, 0.72);
  border: 1px solid var(--hair);
  padding: 38px 34px 32px;
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.result-card__outcome {
  font-family: var(--ff-display);
  font-size: clamp(26px, 2vw, 33px);
  font-weight: 600;
  color: var(--brass-lt);
  line-height: 1.12;
}

.result-card__charge {
  font-size: 16px;
  color: var(--silver);
  letter-spacing: 0.02em;
}

.result-card__more {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--platinum);
  align-self: flex-start;
  border-bottom: 1px solid var(--hair);
}

.result-card__more:hover {
  color: var(--brass-lt);
  border-bottom-color: var(--brass);
}

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

.values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 2.6vw, 44px);
  margin-top: 52px;
}

.values__item {
  border-top: 2px solid var(--brass);
  padding-top: 24px;
}

.values__title {
  font-size: 23px;
  color: var(--ink);
  line-height: 1.2;
}

.values__item p {
  margin-top: 12px;
  font-size: 15.5px;
  color: #54606b;
  line-height: 1.62;
}

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

.testimonial {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
}

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

.testimonial__quote {
  margin: 34px 0 0;
  max-width: 24ch;
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(30px, 3.2vw, 50px);
  line-height: 1.16;
  color: #fff;
  letter-spacing: -0.015em;
}

.testimonial__support {
  margin-top: 24px;
  max-width: 52ch;
  color: #b8c0c9;
  font-size: 17.5px;
  line-height: 1.7;
}

.testimonial__who {
  margin-top: 28px;
  font-size: 14.5px;
  letter-spacing: 0.14em;
  color: var(--brass);
  text-transform: none;
}

.testimonial__stars {
  display: flex;
  gap: 7px;
  margin-bottom: 6px;
}

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

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

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 34%) minmax(0, 1fr);
  gap: 0;
  border: 1px solid var(--hair-dk);
}

.contact__info {
  background: var(--ink);
  color: var(--platinum);
  padding: clamp(34px, 3.4vw, 52px);
}

.contact__title {
  font-size: clamp(27px, 2.2vw, 36px);
  color: #fff;
}

.contact__info .rule {
  margin: 22px 0 28px;
}

.contact__list {
  margin: 0;
  display: grid;
  gap: 26px;
}

.contact__list dt {
  font-size: 13.5px;
  letter-spacing: 0.1em;
  color: var(--brass);
  margin-bottom: 7px;
}

.contact__list dd {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: #d5dbe2;
  white-space: pre-line;
}

.contact__list dd a {
  border-bottom: 1px solid var(--hair);
}

.contact__list dd a:hover {
  color: var(--brass-lt);
  border-bottom-color: var(--brass);
}

.contact__form {
  background: var(--paper);
  padding: clamp(34px, 3.4vw, 52px);
}

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

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

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

.form__field label {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--steel);
}

.form__field input,
.form__field select {
  height: 40px;
  padding: 0 14px;
  font-family: var(--ff-text);
  font-size: 16px;
  color: var(--ink);
  background: #fbfaf8;
  border: 1px solid #d8d5ce;
  border-radius: 0;
  width: 100%;
}

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

.form__field textarea {
  height: 120px;
  padding: 12px 14px;
  font-family: var(--ff-text);
  font-size: 16px;
  color: var(--ink);
  background: #fbfaf8;
  border: 1px solid #d8d5ce;
  border-radius: 0;
  resize: vertical;
  width: 100%;
}

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

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

.form__fine {
  font-size: 14px;
  color: #6b7681;
  max-width: 44ch;
  line-height: 1.55;
}

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

.footer {
  background: var(--ink);
  color: var(--silver);
  padding-top: 60px;
  padding-bottom: 0;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 44px;
  align-items: start;
}

.footer__brand img {
  width: min(304px, 100%);
  height: auto;
}

.footer__address {
  font-style: normal;
  margin-top: 26px;
  font-size: 16.5px;
  line-height: 1.7;
  white-space: pre-line;
  color: #c0c8d1;
}

.footer__tel {
  font-size: 22px;
  margin-top: 18px;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  font-size: 16px;
}

.footer__nav a {
  color: #c0c8d1;
  border-bottom: 1px solid transparent;
}

.footer__nav a:hover {
  color: #fff;
  border-bottom-color: var(--brass);
}

.footer__bar {
  margin-top: 52px;
  border-top: 1px solid var(--hair);
  padding: 22px 0 26px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: #7c8792;
}

/* ---------- entrance animation ---------- */

@media (prefers-reduced-motion: no-preference) {
  .anim {
    opacity: 0;
    transform: translateY(14px);
    animation: rise 0.82s cubic-bezier(0.2, 0.7, 0.25, 1) forwards;
  }

  .anim--d1 {
    animation-delay: 0.06s;
  }

  .anim--d2 {
    animation-delay: 0.16s;
  }

  .anim--d3 {
    animation-delay: 0.26s;
  }

  .hero__image.anim {
    transform: translateY(26px);
    animation-duration: 1s;
    animation-delay: 0.1s;
  }

  @keyframes rise {
    to {
      opacity: 1;
      transform: none;
    }
  }
}

/* ---------- progressive header scaling ---------- */

@media (max-width: 1400px) {
  .header__cta {
    gap: 22px;
  }

  .header__nav-list,
  .header__nav-inner {
    gap: 28px;
  }

  .values {
    gap: 28px;
  }
}

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

  .header__nav-list,
  .header__nav-inner {
    gap: 20px;
  }
}

/* ---------- hamburger nav at 1200px ---------- */

@media (max-width: 1200px) {
  :root {
    --pad: 34px;
  }

  .header__overlay {
    position: fixed;
    inset: 0;
    z-index: 1;
    background: rgba(6, 8, 11, 0.62);
  }

  .header.is-open .header__overlay:not([hidden]) {
    display: block;
  }

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

  .header__toggle {
    display: flex;
  }

  .header.is-open .header__toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 4;
    background: var(--ink);
  }

  .header__cta {
    display: none;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 88vw);
    height: 100%;
    padding: 84px 28px 40px;
    z-index: 2;
    background: var(--graphite);
    border: 0;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.35s ease, visibility 0.35s ease;
    overflow-y: auto;
  }

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

  .header__nav-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    max-width: none;
    padding: 0;
  }

  .header__nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .header__nav-link {
    display: block;
    width: 100%;
    padding: 16px 0;
    border-bottom: 1px solid rgba(233, 237, 242, 0.09);
    font-size: 16px;
  }

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

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

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

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

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

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

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

@media (max-width: 980px) {
  .btn {
    white-space: normal;
    text-align: center;
    font-size: 17px;
    padding: 0.95em 1.6em;
  }

  .btn--sm {
    font-size: 15px;
    padding: 0.85em 1.4em;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .about__figure {
    max-width: 440px;
  }

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

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

@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: calc(100svh - var(--site-chrome-height));
    padding: clamp(32px, 6vw, 48px) clamp(20px, 5vw, 28px) 0;
  }

  .hero__inner {
    height: auto;
    display: block;
  }

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

  .hero__visual {
    position: relative;
    width: 100%;
    height: 420px;
    right: auto;
    bottom: auto;
  }

  .hero__frame {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
  }

  .hero__image {
    height: 100%;
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  :root {
    --pad: 22px;
    --phone-fs: 21px;
    --cta-fs: 17px;
    --nav-fs: 15px;
  }

  body {
    font-size: 16.5px;
  }

  .btn {
    padding: 0.95em 1.5em;
  }

  .utility__inner {
    justify-content: flex-start;
    gap: 14px;
    font-size: 12.5px;
  }

  .utility__item {
    gap: 14px;
  }

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

  .hero__actions .btn {
    width: 100%;
  }

  .hero__visual {
    height: 390px;
  }

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

  .form__foot .btn {
    width: 100%;
  }

  .about__figure::after {
    display: none;
  }

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