/* ============================================================
   JUSTICE LAW OFFICE — vanity homepage rendition
   Leaders Marketing · "Ricky-style" design system
   Type: Frank Ruhl Libre (display) / Karla (body + utility)
   ============================================================ */

:root {
  --ink: #0A1723;
  --navy: #123147;
  --navy-2: #0E2536;
  --steel: #2E6188;
  --steel-lt: #4C82AC;
  --amber: #C2903B;
  --amber-lt: #DBB16A;
  --stone: #EDF0F2;
  --stone-2: #DCE2E6;
  --paper: #FFFFFF;
  --body: #4B5B68;

  --ff-display: "Frank Ruhl Libre", "Times New Roman", Georgia, serif;
  --ff-body: "Karla", "Helvetica Neue", Arial, sans-serif;

  --container-max: 1320px;
  --pad: 45px;
  --hdr: 96px;
  --site-chrome-height: 96px;
  --nav-breakpoint: 1200px;
}

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

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

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

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

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

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

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

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

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

.section {
  padding: 104px 0;
}

/* ---- eyebrow + signature "verdict rule" ---------------------- */

.section__eyebrow {
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel);
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
}

.section__eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--amber);
  flex: 0 0 auto;
}

.section__eyebrow--light {
  color: var(--amber-lt);
}

.section__eyebrow--light::before {
  background: var(--amber-lt);
}

.verdict-rule {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--stone-2);
  position: relative;
  margin: 0;
}

.verdict-rule::after {
  content: "";
  position: absolute;
  left: 0;
  top: -2.5px;
  width: 6px;
  height: 6px;
  background: var(--amber);
}

.verdict-rule--spaced {
  margin-top: 14px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-family: var(--ff-body);
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  max-width: 100%;
  line-height: 1.35;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.btn--primary {
  background: var(--amber);
  color: #12222E;
  padding: 16px 34px;
  font-size: 20px;
}

.btn--primary:hover {
  background: var(--amber-lt);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 11px 24px;
  font-size: 16px;
  background: var(--amber);
  color: #12222E;
}

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

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  padding: 15px 32px;
  font-size: 17px;
}

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

/* =========================== HEADER ========================== */

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 26px;
  height: var(--hdr);
  min-width: 0;
}

.header__brand {
  flex: 0 0 auto;
  display: block;
}

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

.header__nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 26px);
  margin: 0 auto;
}

.header__nav-link {
  font-size: clamp(13px, 1.05vw, 16px);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.86);
  letter-spacing: 0.015em;
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  flex-shrink: 0;
}

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

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

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

.header__nav-close {
  display: none;
}

.header__nav-extras {
  display: none;
}

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

.header__tel {
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
  white-space: nowrap;
  flex-shrink: 0;
}

.header__tel span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--amber-lt);
  text-transform: uppercase;
  line-height: 1.4;
}

.header__cta-btn {
  flex-shrink: 0;
  font-size: clamp(13px, 1.05vw, 16px);
  padding: clamp(8px, 0.7vw, 11px) clamp(16px, 1.5vw, 24px);
}

.header__burger {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  flex-shrink: 0;
}

.header__burger i {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

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

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

.header__overlay {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(10, 23, 35, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

/* ============================ HERO =========================== */

.hero {
  position: relative;
  background: var(--navy-2);
  overflow: hidden;
  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;
  background: url("../assets/images/bg-hero.jpg") center left / cover no-repeat;
  opacity: 0.62;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    96deg,
    rgba(10, 23, 35, 0.96) 0%,
    rgba(14, 37, 54, 0.9) 44%,
    rgba(18, 49, 71, 0.62) 72%,
    rgba(18, 49, 71, 0.42) 100%
  );
}

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

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

.hero h1 {
  color: #fff;
  font-size: clamp(42px, 4.6vw, 74px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}

.hero h1 em {
  font-style: normal;
  color: var(--amber-lt);
  display: block;
}

.hero__lead {
  color: rgba(255, 255, 255, 0.8);
  font-size: 19px;
  line-height: 1.66;
  max-width: 34em;
  margin: 0 0 34px;
}

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

.hero__tel {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero__tel b {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.005em;
  line-height: 1.2;
}

.hero__tel small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber-lt);
}

.hero__visual {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48%;
  height: 100%;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.hero__visual::before {
  content: "";
  position: absolute;
  right: -6%;
  bottom: 0;
  width: 112%;
  height: 90%;
  background: radial-gradient(ellipse at 60% 100%, rgba(46, 97, 136, 0.55) 0%, rgba(46, 97, 136, 0) 68%);
}

.hero__visual::after {
  content: "";
  position: absolute;
  left: -18px;
  bottom: 0;
  width: 1px;
  height: 78%;
  background: linear-gradient(180deg, rgba(219, 177, 106, 0), rgba(219, 177, 106, 0.55));
}

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

/* ======================= ACCOLADES STRIP ===================== */

.accolades {
  background: var(--ink);
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.accolades__inner {
  display: flex;
  align-items: center;
  gap: 44px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.accolades__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  flex: 0 0 auto;
  max-width: 150px;
  line-height: 1.7;
  margin: 0;
}

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

.accolades__badge {
  height: 64px;
  width: auto;
  opacity: 0.82;
  transition: opacity 0.3s ease;
}

.accolades__badge--super-lawyers {
  height: 86px;
}

.accolades__badge--multi-million {
  height: 74px;
}

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

.accolades__badge--kentucky-bar {
  height: 62px;
}

.accolades__badge:hover {
  opacity: 1;
}

/* =========================== ABOUT =========================== */

.about__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 76px;
  align-items: center;
}

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

.about__image {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

.about__figure::after {
  content: "";
  position: absolute;
  left: -18px;
  bottom: -18px;
  width: 56%;
  height: 56%;
  border-left: 1px solid var(--amber);
  border-bottom: 1px solid var(--amber);
  pointer-events: none;
}

.about h2 {
  font-size: clamp(32px, 3vw, 48px);
  margin: 0 0 26px;
}

.about__content p {
  margin: 0 0 26px;
  font-size: 17.5px;
}

.about__callout {
  border-left: 2px solid var(--amber);
  padding: 6px 0 6px 26px;
  margin: 34px 0 0;
}

.about__callout p {
  margin: 0;
  font-family: var(--ff-display);
  font-size: 21px;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 500;
}

.about__phone {
  color: var(--steel);
}

/* ======================= PRACTICE AREAS ====================== */

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

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

.practice__head h2 {
  font-size: clamp(32px, 3.1vw, 50px);
  max-width: 20em;
}

.practice__intro {
  margin: 14px 0 0;
  max-width: 36em;
}

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

.practice-card {
  background: var(--paper);
  overflow: hidden;
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.practice-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 46px -20px rgba(10, 23, 35, 0.34);
}

.practice-card__media {
  position: relative;
  height: 212px;
  overflow: hidden;
}

.practice-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.practice-card:hover .practice-card__media img {
  transform: scale(1.06);
}

.practice-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 23, 35, 0.06), rgba(10, 23, 35, 0.52));
}

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

.practice-card__body h3 {
  font-size: 22px;
  margin: 0 0 10px;
  letter-spacing: -0.008em;
}

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

.practice-card__link {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.practice-card__link:hover {
  color: var(--amber);
}

.practice-card__link svg {
  transition: transform 0.3s ease;
}

.practice-card:hover .practice-card__link svg {
  transform: translateX(5px);
}

/* ========================== VICTORIES ======================== */

.victories {
  background: var(--navy-2);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.victories::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 88% 0%, rgba(46, 97, 136, 0.42), transparent 58%);
}

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

.victories h2 {
  color: #fff;
  font-size: clamp(32px, 3.1vw, 50px);
  margin: 0 0 12px;
}

.victories__sub {
  color: rgba(255, 255, 255, 0.66);
  margin: 0 0 58px;
  font-size: 18px;
}

.ledger {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.ledger__item {
  padding: 38px 40px 34px;
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

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

.ledger__amount {
  font-family: var(--ff-display);
  font-weight: 700;
  color: #fff;
  font-size: clamp(36px, 3.6vw, 54px);
  line-height: 1;
  letter-spacing: -0.024em;
  font-variant-numeric: tabular-nums;
  margin: 0 0 20px;
}

.ledger__rule {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  margin-bottom: 16px;
}

.ledger__rule::after {
  content: "";
  position: absolute;
  left: 0;
  top: -2.5px;
  width: 6px;
  height: 6px;
  background: var(--amber);
}

.ledger__type {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber-lt);
  margin: 0;
}

.victories__note {
  margin: 52px 0 0;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.7;
  max-width: 62em;
}

/* =========================== VALUES ========================== */

.values {
  background: #F7F8F9 url("../assets/images/bg-values.jpg") center / cover no-repeat;
  background-blend-mode: luminosity;
  position: relative;
}

.values::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(247, 248, 249, 0.86);
}

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

.values h2 {
  font-size: clamp(30px, 2.9vw, 46px);
  margin: 0 0 12px;
}

.values__sub {
  margin: 0 0 58px;
  max-width: 40em;
  font-size: 18px;
}

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

.values__item h3 {
  font-size: 20px;
  margin: 22px 0 12px;
}

.values__item p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.66;
}

.values__num {
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--amber);
  text-transform: uppercase;
}

/* ========================= TESTIMONIAL ======================= */

.testimonial {
  background: var(--steel);
  color: #fff;
  padding: 96px 0;
}

.testimonial__inner {
  text-align: center;
}

.testimonial .section__eyebrow {
  justify-content: center;
  color: rgba(255, 255, 255, 0.72);
}

.testimonial .section__eyebrow::before {
  background: var(--amber-lt);
}

.testimonial blockquote {
  margin: 0 auto 30px;
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(24px, 2.5vw, 38px);
  line-height: 1.38;
  color: #fff;
  max-width: 24em;
  letter-spacing: -0.012em;
}

.testimonial cite {
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.testimonial__stars {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin: 0 0 26px;
}

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

/* ========================== CONTACT ========================== */

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

.contact__bg {
  position: absolute;
  inset: 0;
  background: url("../assets/images/bg-contact.jpg") center 30% / cover no-repeat;
  opacity: 0.3;
}

.contact::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    92deg,
    rgba(10, 23, 35, 0.97) 0%,
    rgba(10, 23, 35, 0.88) 48%,
    rgba(14, 37, 54, 0.72) 100%
  );
}

.contact__inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 80px;
  align-items: start;
}

.contact h2 {
  color: #fff;
  font-size: clamp(30px, 2.9vw, 46px);
  margin: 0 0 22px;
}

.contact__lead {
  color: rgba(255, 255, 255, 0.76);
  margin: 0 0 30px;
  font-size: 17.5px;
}

.contact-details {
  margin: 34px 0 0;
  display: grid;
  gap: 22px;
}

.contact-details__row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-details__icon {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(219, 177, 106, 0.5);
  display: grid;
  place-items: center;
  margin-top: 2px;
}

.contact-details__icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--amber-lt);
  fill: none;
  stroke-width: 1.6;
}

.contact-details__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber-lt);
  margin: 0 0 3px;
}

.contact-details__value {
  font-size: 17px;
  color: #fff;
  margin: 0;
  line-height: 1.55;
}

.contact-form {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.13);
  padding: 42px;
}

.contact-form h3 {
  color: #fff;
  font-size: 25px;
  margin: 0 0 8px;
}

.contact-form__sub {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.62);
  margin: 0 0 28px;
}

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

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

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

.contact-form__field label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 0 16px;
  height: 46px;
  border-radius: 0;
  font-size: 16px;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.contact-form__field textarea {
  height: 120px;
  padding: 14px 16px;
  resize: vertical;
  line-height: 1.6;
}

.contact-form__field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.6) 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.6) 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.contact-form__field select option {
  color: #12222E;
}

.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
  color: rgba(255, 255, 255, 0.34);
}

.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
  outline: none;
  border-color: var(--amber);
  background: rgba(255, 255, 255, 0.1);
}

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

.contact-form__note {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.42);
  margin: 18px 0 0;
  line-height: 1.65;
}

/* =========================== FOOTER ========================== */

.footer {
  background: var(--navy-2);
  color: rgba(255, 255, 255, 0.66);
  padding: 74px 0 0;
  font-size: 15.5px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 56px;
}

.footer__logo {
  height: 60px;
  width: auto;
  max-width: none;
  margin-bottom: 24px;
}

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

.footer h4 {
  color: #fff;
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 22px;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

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

.footer__tel {
  font-family: var(--ff-display);
  font-size: 26px;
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: block;
  margin-bottom: 8px;
}

.footer__address {
  margin: 0 0 18px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.42);
}

/* ===================== REVEAL ANIMATION ====================== */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 0.7, 0.25, 1),
    transform 0.8s cubic-bezier(0.22, 0.7, 0.25, 1);
}

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

.reveal--d1 {
  transition-delay: 0.09s;
}

.reveal--d2 {
  transition-delay: 0.18s;
}

.reveal--d3 {
  transition-delay: 0.27s;
}

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

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

  * {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========================= RESPONSIVE ======================== */

@media (max-width: 1400px) {
  .header__inner {
    gap: 18px;
  }

  .header__nav {
    gap: 16px;
  }
}

/* Hamburger / mobile nav — below 1200px */
@media (max-width: 1200px) {
  :root {
    --pad: 34px;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 70;
    width: min(360px, 88vw);
    height: 100%;
    height: 100dvh;
    margin: 0;
    padding: 88px 28px 36px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    background: var(--navy-2);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.35s ease, visibility 0.35s ease;
    overflow-y: auto;
  }

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

  .header__nav-link {
    font-size: 18px;
    padding: 8px 0;
  }

  .header__nav-close {
    display: grid;
    place-items: center;
    position: absolute;
    top: 22px;
    right: 18px;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
  }

  .header__nav-extras {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-top: 18px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    width: 100%;
  }

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

  .header__burger {
    display: block;
  }

  .header__inner {
    gap: 18px;
  }

  .header__cta {
    margin-left: auto;
  }

  .about__inner {
    gap: 48px;
  }

  .values__grid {
    gap: 32px;
  }
}

@media (max-width: 1080px) {
  .practice__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .about__inner,
  .contact__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .about__image {
    height: 420px;
  }

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

  .hero__visual {
    width: 45%;
  }
}

@media (max-width: 980px) {
  .btn--primary {
    white-space: normal;
    text-align: center;
    font-size: 18px;
    padding: 14px 28px;
  }
}

@media (max-width: 880px) {
  :root {
    --pad: 26px;
    --hdr: 80px;
  }

  .section {
    padding: 74px 0;
  }

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

  .hero__visual {
    position: relative;
    width: 100%;
    height: 400px;
    margin-top: 26px;
    justify-content: center;
  }

  .hero__visual::after {
    display: none;
  }

  .hero__image {
    height: 100%;
    max-width: 100%;
  }

  .hero h1 {
    font-size: clamp(34px, 8.4vw, 50px);
  }

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

  .ledger__item {
    padding: 28px 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
  }

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

  .accolades__inner {
    gap: 26px;
    justify-content: center;
  }

  .accolades__label {
    max-width: none;
    text-align: center;
    width: 100%;
  }

  .accolades__row {
    gap: 30px;
  }

  .accolades__badge {
    height: 51px;
  }

  .accolades__badge--super-lawyers {
    height: 69px;
  }

  .accolades__badge--multi-million {
    height: 59px;
  }

  .accolades__badge--avvo {
    height: 37px;
  }

  .accolades__badge--kentucky-bar {
    height: 50px;
  }

  .contact-form {
    padding: 28px;
  }

  .footer__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: clamp(32px, 6vw, 48px) clamp(0px, 1vw, 8px) 0;
  }

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

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

  .hero__actions .btn--primary {
    width: 100%;
    white-space: normal;
    font-size: 17px;
    padding: 14px 22px;
  }

  .btn--primary {
    white-space: normal;
    font-size: 17px;
    padding: 14px 22px;
  }
}

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

  body {
    font-size: 16px;
  }

  .contact-form__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .practice__cards,
  .values__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .header__inner {
    gap: 12px;
  }

  .header__burger {
    padding: 4px;
  }

  .header__burger i {
    width: 22px;
    margin: 4px 0;
  }

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

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

  .hero__visual {
    height: 340px;
  }

  .testimonial blockquote {
    font-size: clamp(22px, 6.5vw, 30px);
  }
}
