/* ============================================================
   THE SCOTT LAW FIRM, LLC — vanity-stage homepage
   Leaders Marketing · house style: Ricky
   Palette: crimson #AF1D22 / graphite #545454
   Type: Vollkorn + Familjen Grotesk
   ============================================================ */

:root {
  --crimson: #af1d22;
  --crimson-dp: #7e1216;
  --crimson-lt: #d33a3e;
  --ink: #14161a;
  --graphite: #23262b;
  --graphite-2: #2e3238;
  --steel: #5b6169;
  --bone: #f6f4f1;
  --bone-2: #ebe7e1;
  --line: rgba(255, 255, 255, 0.14);
  --line-dk: rgba(20, 22, 26, 0.14);

  --serif: "Vollkorn", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;

  --container-max: 1560px;
  --container-pad: 45px;
  --nav-breakpoint: 1200px;
  --site-chrome-height: 140px;
}

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

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

body {
  margin: 0;
  background: #fff;
  color: var(--graphite);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.68;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

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

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

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

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

h1 {
  font-size: clamp(34px, 3.5vw, 55px);
  font-weight: 800;
}

h2 {
  font-size: clamp(28px, 2.55vw, 42px);
}

h3 {
  font-size: clamp(19px, 1.35vw, 23px);
}

p {
  margin: 0 0 1.05em;
}

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

/* --- Shared --- */
.section__eyebrow {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--crimson);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section__eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-dk);
  max-width: 120px;
}

.section__eyebrow--light {
  color: #e9b4b4;
}

.section__eyebrow--light::after {
  background: var(--line);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  padding: 19px 38px;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
  max-width: 100%;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn--primary {
  background: var(--crimson);
  color: #fff;
  padding-left: 32px;
  padding-right: 32px;
}

.btn--primary:hover {
  background: var(--crimson-dp);
}

/* ============ TOP BAR ============ */
.topbar {
  background: var(--crimson);
  color: #fff;
  font-size: 14.5px;
  letter-spacing: 0.01em;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 44px;
}

.topbar__text,
.topbar__address {
  opacity: 0.94;
}

.topbar b {
  font-weight: 600;
}

/* ============ HEADER ============ */
.header {
  position: relative;
  background: var(--ink);
  border-bottom: 1px solid var(--line);
  z-index: 100;
}

.header__overlay {
  display: none;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 34px;
  min-height: 96px;
  position: relative;
}

.header__logo {
  flex-shrink: 0;
}

.header__logo img {
  width: 210px;
  height: auto;
  max-width: none;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.4));
}

.header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 4;
}

.header__toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.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__nav {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

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

.header__nav-link {
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 500;
  color: #edeae6;
  white-space: nowrap;
  padding: 6px 0;
  position: relative;
}

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

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

.header__nav-extras {
  display: none;
}

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

.header__phone {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.header__phone small {
  display: block;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9aa0a8;
  margin-bottom: 2px;
}

/* Progressive nav scaling before hamburger */
@media (max-width: 1400px) {
  .header__inner {
    gap: 24px;
  }

  .header__nav-list {
    gap: 22px;
  }

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

  .header__phone {
    font-size: 20px;
  }

  :root {
    --container-pad: 34px;
  }
}

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

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

  .header__phone {
    font-size: 18px;
  }

  .header__inner {
    gap: 18px;
  }
}

/* Mobile / tablet nav — hamburger below 1200px */
@media (max-width: 1200px) {
  .header__overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1;
    background: rgba(10, 11, 14, 0.55);
    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__overlay[hidden] {
    display: none;
  }

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

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

  .header__toggle {
    display: flex;
  }

  .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-left: 0;
    padding: 84px 28px 40px;
    background: var(--ink);
    border-left: 1px solid var(--line);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    overflow-y: auto;
  }

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

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

  .header__nav-link {
    display: block;
    font-size: 18px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }

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

  .header__nav-extras {
    display: block;
    padding-top: 8px;
  }

  .header__cta {
    display: none;
  }
}

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

.hero__bg {
  position: absolute;
  inset: 0;
  background: url("../assets/images/bg-hero.jpg") left 62% / cover no-repeat;
  opacity: 0.34;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      96deg,
      rgba(15, 16, 19, 0.97) 0%,
      rgba(15, 16, 19, 0.9) 34%,
      rgba(15, 16, 19, 0.42) 60%,
      rgba(15, 16, 19, 0.2) 100%
    ),
    radial-gradient(120% 90% at 78% 118%, rgba(175, 29, 34, 0.34) 0%, rgba(175, 29, 34, 0) 62%);
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(15, 16, 19, 0.94) 0%,
    rgba(15, 16, 19, 0.86) 22%,
    rgba(15, 16, 19, 0.6) 34%,
    rgba(15, 16, 19, 0.22) 44%,
    rgba(15, 16, 19, 0) 53%
  );
}

.hero__glow {
  position: absolute;
  z-index: 1;
  right: -4%;
  bottom: -14%;
  width: 74%;
  height: 60%;
  background: radial-gradient(closest-side, rgba(175, 29, 34, 0.3), rgba(175, 29, 34, 0) 72%);
  pointer-events: none;
}

.hero__rule {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--crimson) 0%, var(--crimson-dp) 42%, transparent 100%);
}

.hero__inner {
  position: relative;
  z-index: 4;
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
}

.hero__content {
  position: relative;
  z-index: 5;
  max-width: min(100%, 572px);
  width: min(100%, 55%);
  color: #fff;
  padding-right: clamp(12px, 2vw, 28px);
}

.hero__title {
  color: #fff;
  text-wrap: balance;
}

.hero__lede {
  font-size: 19px;
  line-height: 1.6;
  color: #cfd3d8;
  margin: 22px 0 0;
  max-width: 490px;
}

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

.hero__phone {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero__phone-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--crimson-lt);
  flex-shrink: 0;
}

.hero__note {
  margin: 26px 0 0;
  font-size: 14.5px;
  color: #9aa0a8;
}

.hero__visual {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 55%;
  height: 100%;
  z-index: 2;
  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;
}

/* ============ PRACTICE STRIP ============ */
.strip {
  background: var(--graphite);
  color: #fff;
  border-bottom: 1px solid var(--line);
}

.strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.strip__link {
  flex: 1 1 200px;
  padding: 26px 30px 28px;
  border-left: 1px solid var(--line);
  transition: background-color 0.2s ease;
}

.strip__link:first-child {
  border-left: 0;
  padding-left: 0;
}

.strip__link:hover {
  background: rgba(255, 255, 255, 0.05);
}

.strip__title {
  display: block;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
}

.strip__desc {
  font-size: 14.5px;
  color: #a9afb7;
  line-height: 1.45;
}

/* ============ ACCOLADES ============ */
.accolades {
  background: var(--bone);
  border-bottom: 1px solid var(--line-dk);
}

.accolades__inner {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex-wrap: wrap;
  padding-top: 0;
  padding-bottom: 0;
}

.accolades__lead {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 26px 40px 26px 0;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  max-width: 230px;
  line-height: 1.25;
}

.accolades__list {
  flex: 1 1 480px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.accolades__item {
  flex: 1 1 170px;
  padding: 22px 26px;
  border-left: 1px solid var(--line-dk);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 124px;
}

.accolades__badge {
  width: auto;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.accolades__item:hover .accolades__badge {
  opacity: 1;
}

.accolades__badge--seal {
  height: 76px;
}

.accolades__badge--ntl {
  height: 62px;
}

.accolades__badge--sl {
  height: 34px;
}

.accolades__badge--aaj {
  height: 46px;
}

.accolades__item--slot {
  background: repeating-linear-gradient(
    135deg,
    rgba(175, 29, 34, 0.05) 0 8px,
    transparent 8px 16px
  );
}

.accolades__item--slot span {
  font-size: 13px;
  font-weight: 600;
  color: var(--steel);
  text-align: center;
  line-height: 1.4;
}

/* ============ ABOUT ============ */
.about {
  padding: 104px 0 108px;
  background: #fff;
}

.about__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 74px;
  align-items: start;
}

.about__title {
  max-width: 16em;
}

.about__body {
  margin-top: 26px;
  color: var(--steel);
  font-size: 17.5px;
  max-width: 60ch;
}

.about__body p + p {
  margin-top: 0;
}

.about__sig {
  margin-top: 32px;
  padding-left: 24px;
  border-left: 3px solid var(--crimson);
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  font-style: italic;
  color: var(--ink);
  max-width: 26em;
  line-height: 1.42;
}

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

.about__image {
  width: 100%;
  height: 600px;
  object-fit: cover;
  object-position: center 28%;
  border-radius: 2px;
}

.about__caption {
  position: absolute;
  left: -34px;
  bottom: 38px;
  background: var(--crimson);
  color: #fff;
  padding: 22px 26px;
  max-width: 250px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.28;
}

.about__caption span {
  display: block;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.82;
  margin-bottom: 8px;
}

/* ============ PRACTICE AREAS ============ */
.practice {
  padding: 104px 0 110px;
  background: var(--bone);
}

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

.practice__title {
  max-width: 14em;
}

.practice__intro {
  color: var(--steel);
  max-width: 34ch;
  margin: 0;
}

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

.practice-card {
  background: #fff;
  border: 1px solid var(--line-dk);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.practice-card:hover {
  border-color: var(--crimson);
  transform: translateY(-3px);
}

.practice-card__media {
  aspect-ratio: 19 / 13;
  overflow: hidden;
  position: relative;
}

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

.practice-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 22, 26, 0) 40%, rgba(20, 22, 26, 0.5) 100%);
}

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

.practice-card__title {
  margin-bottom: 12px;
}

.practice-card__text {
  font-size: 15.5px;
  color: var(--steel);
  line-height: 1.6;
  flex: 1;
}

.practice-card__link {
  margin-top: 18px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--crimson);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.practice-card__link::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--crimson);
  transition: width 0.2s ease;
}

.practice-card:hover .practice-card__link::before {
  width: 34px;
}

/* ============ CASE RESULTS ============ */
.cases {
  position: relative;
  padding: 100px 0 104px;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}

.cases__bg {
  position: absolute;
  inset: 0;
  background: url("../assets/images/bg-cases.jpg") center / cover no-repeat;
  opacity: 0.42;
}

.cases__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 15, 18, 0.9), rgba(14, 15, 18, 0.94));
}

.cases .container {
  position: relative;
  z-index: 2;
}

.cases__head {
  margin-bottom: 54px;
  max-width: 44ch;
}

.cases__title {
  color: #fff;
}

.cases__intro {
  color: #b9bec5;
  margin-top: 16px;
}

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

.case-card {
  background: rgba(255, 255, 255, 0.035);
  padding: 36px 30px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 250px;
}

.case-card__verdict {
  font-family: var(--serif);
  font-size: clamp(22px, 1.9vw, 30px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.case-card__verdict--accent {
  color: #f3c6c7;
}

.case-card__charge {
  font-size: 15.5px;
  color: #bdc2c9;
  line-height: 1.5;
  flex: 1;
}

.case-card__more {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #e39a9c;
}

.case-card__more:hover {
  color: #fff;
}

/* ============ VALUES ============ */
.values {
  padding: 104px 0 108px;
  background: #fff;
}

.values__head {
  margin-bottom: 52px;
}

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

.value {
  padding-left: 24px;
  border-left: 2px solid var(--bone-2);
}

.value:hover {
  border-left-color: var(--crimson);
}

.value__title {
  margin-bottom: 12px;
  line-height: 1.24;
}

.value__text {
  font-size: 15.5px;
  color: var(--steel);
}

/* ============ TESTIMONIAL ============ */
.testimonial {
  position: relative;
  padding: 110px 0 116px;
  color: #fff;
  overflow: hidden;
}

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

.testimonial__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    94deg,
    rgba(13, 14, 17, 0.95) 0%,
    rgba(13, 14, 17, 0.82) 48%,
    rgba(126, 18, 22, 0.5) 100%
  );
}

.testimonial .container {
  position: relative;
  z-index: 2;
}

.testimonial__inner {
  max-width: 820px;
}

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

.testimonial__sub {
  font-family: var(--serif);
  font-size: 21px;
  font-style: italic;
  color: #e6bfc0;
  margin: 0 0 34px;
}

.testimonial__quote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(26px, 2.6vw, 40px);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.01em;
}

.testimonial__cite {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  color: #cbd0d6;
}

.testimonial__cite b {
  font-family: var(--serif);
  font-size: 19px;
  color: #fff;
  font-weight: 700;
}

.testimonial__stars {
  color: #e8a94a;
  letter-spacing: 3px;
  font-size: 17px;
}

/* ============ CONTACT ============ */
.contact {
  padding: 104px 0 110px;
  background: var(--bone);
}

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

.contact__title {
  max-width: 15em;
}

.contact__lede {
  margin-top: 20px;
  color: var(--steel);
  max-width: 44ch;
}

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

.contact__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-top: 22px;
  border-top: 1px solid var(--line-dk);
}

.contact__item:first-child {
  border-top: 0;
  padding-top: 0;
}

.contact__label {
  flex: 0 0 118px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--crimson);
  padding-top: 5px;
}

.contact__value {
  font-family: var(--serif);
  font-size: 19.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.42;
}

.contact__value small {
  display: block;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 400;
  color: var(--steel);
  margin-top: 4px;
}

.contact-form {
  background: #fff;
  border: 1px solid var(--line-dk);
  padding: 40px 38px 42px;
  box-shadow: 0 24px 54px -34px rgba(20, 22, 26, 0.35);
}

.contact-form__title {
  font-size: 24px;
  margin-bottom: 6px;
}

.contact-form__note {
  font-size: 14.5px;
  color: var(--steel);
  margin: 0 0 26px;
}

.contact-form__field {
  margin-bottom: 16px;
}

.contact-form__label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 7px;
}

.contact-form__input,
.contact-form__select,
.contact-form__textarea {
  width: 100%;
  height: 40px;
  padding: 0 14px;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: var(--bone);
  border: 1px solid rgba(20, 22, 26, 0.18);
  border-radius: 3px;
}

.contact-form__textarea {
  height: 120px;
  padding: 11px 14px;
  line-height: 1.5;
  resize: vertical;
}

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

.contact-form__input:focus,
.contact-form__select:focus,
.contact-form__textarea:focus {
  border-color: var(--crimson);
  background: #fff;
  outline: none;
}

.contact-form__submit {
  width: 100%;
  margin-top: 8px;
}

.contact-form__fine {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--steel);
  line-height: 1.5;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--ink);
  color: #a9afb7;
  padding: 76px 0 0;
  font-size: 15.5px;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr) minmax(0, 0.75fr);
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}

.footer__logo {
  width: 290px;
  height: auto;
  margin-bottom: 24px;
}

.footer__blurb {
  max-width: 44ch;
  line-height: 1.65;
}

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

.footer__list {
  display: grid;
  gap: 11px;
}

.footer__link:hover {
  color: #fff;
}

.footer__address {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  color: #fff;
  line-height: 1.45;
  margin: 0 0 16px;
}

.footer__phone {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  color: #fff;
}

.footer__bar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 26px 0 30px;
  font-size: 13.5px;
  color: #7c838c;
}

.footer__badge {
  color: #9aa0a8;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1240px) {
  .about__inner,
  .contact__inner {
    gap: 48px;
  }

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

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

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

  .hero__content {
    max-width: min(100%, 460px);
    width: min(100%, 50%);
  }

  .hero__visual {
    width: 52%;
  }

  .strip__link {
    flex: 1 1 45%;
    padding-left: 26px;
    border-left: 1px solid var(--line);
  }

  .strip__link:first-child {
    padding-left: 0;
    border-left: 0;
  }
}

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

  .hero__content {
    width: 100%;
    max-width: 100%;
  }

  .hero__visual {
    width: 48%;
  }

  .strip__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .strip__link {
    padding: 20px 0;
  }

  .strip__link,
  .strip__link:first-child {
    border-left: 0;
  }

  .strip__link:nth-child(even) {
    padding-left: 24px;
    border-left: 1px solid var(--line);
  }

  .about__inner,
  .contact__inner {
    grid-template-columns: 1fr;
  }

  .about__caption {
    left: 0;
  }

  .about__image {
    height: 420px;
  }

  .accolades__lead {
    max-width: none;
    flex: 1 1 100%;
    padding: 24px 0 0;
  }

  .accolades__item {
    border-left: 0;
    border-top: 1px solid var(--line-dk);
    flex: 1 1 42%;
    min-height: 104px;
    padding: 20px 0;
  }

  .accolades__item + .accolades__item {
    padding-left: 22px;
    border-left: 1px solid var(--line-dk);
  }
}

@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 0;
    padding: clamp(32px, 5vw, 48px) clamp(16px, 4vw, 28px) 0;
    display: flex;
    flex-direction: column;
  }

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

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

  .hero__scrim,
  .hero__glow {
    display: none;
  }

  .hero__visual {
    position: relative;
    right: auto;
    bottom: auto;
    width: 118%;
    max-width: none;
    height: auto;
    margin: 34px -9% 0;
    justify-content: center;
  }

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

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

  .hero__actions .btn {
    width: 100%;
  }
}

@media (max-width: 700px) {
  :root {
    --container-pad: 22px;
  }

  .container {
    width: 100%;
  }

  body {
    font-size: 16px;
  }

  .topbar__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .btn {
    font-size: 18px;
    padding: 16px 30px;
    width: 100%;
    white-space: normal;
  }

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

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

  .testimonial {
    padding-top: 72px;
    padding-bottom: 76px;
  }

  .about__caption {
    position: static;
    max-width: none;
    margin-top: 0;
  }

  .contact-form {
    padding: 28px 22px 30px;
  }

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

  .contact__item {
    flex-direction: column;
    gap: 6px;
  }

  .contact__label {
    flex: none;
    padding-top: 0;
  }
}

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