/* ============================================================
   Kornbluth Ginsberg Law Group, P.A. — homepage
   Type: Instrument Serif (display) / Figtree (body + utility)
   ============================================================ */

:root {
  --ink: #0b1a2e;
  --ink-2: #14294a;
  --ink-3: #1d3557;
  --gold: #c29a4e;
  --gold-lt: #e3c486;
  --paper: #f5f2eb;
  --paper-2: #eae5da;
  --slate: #4e5a6a;
  --white: #fff;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --container-max: 1320px;
  --nav-breakpoint: 1200px;
  --site-chrome-height: 96px;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  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;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.005em;
}

p {
  margin: 0 0 1.15em;
}

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

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

.container {
  width: min(100%, var(--container-max));
  margin-inline: auto;
  padding-inline: clamp(20px, 3vw, 45px);
}

/* ---------- shared type ---------- */

.eyebrow {
  font-family: "Figtree", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1;
}

.eyebrow::after {
  content: "";
  flex: 0 0 44px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.eyebrow--center {
  justify-content: center;
}

.eyebrow--center::before {
  content: "";
  flex: 0 0 44px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

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

.heading {
  font-size: clamp(2rem, 3.35vw, 3.4rem);
  line-height: 1.08;
}

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

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

.btn--gold {
  background: var(--gold);
  color: #0a1729;
  box-shadow: 0 12px 30px -14px rgba(194, 154, 78, 0.85);
}

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

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

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

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

.header__overlay {
  display: none;
}

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

.header__logo {
  flex: 0 0 auto;
  flex-shrink: 0;
}

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

.header__nav {
  margin-left: auto;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

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

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

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

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

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

.header__cta {
  flex: 0 0 auto;
  flex-shrink: 0;
}

.header__cta .btn {
  font-size: clamp(13px, 1.05vw, 16px);
  padding: clamp(10px, 1vw, 14px) clamp(16px, 1.6vw, 26px);
}

.header__nav-extras {
  display: none;
}

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

.header__toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--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);
}

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

  .header__inner {
    gap: 26px;
  }
}

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

  .header__inner {
    gap: 18px;
  }

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

  .header__cta .btn {
    font-size: 14px;
    padding: 12px 18px;
  }
}

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

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

  .header__cta .btn {
    font-size: 13px;
    padding: 11px 16px;
  }
}

@media (max-width: 1200px) {
  .header__cta {
    display: none;
  }

  .header__nav {
    margin-left: 0;
  }

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

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

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

  .header__inner {
    position: relative;
    z-index: 2;
    min-height: 84px;
  }

  .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: 100%;
    height: 100dvh;
    padding: 84px 28px 40px;
    z-index: 2;
    background: var(--ink-2);
    transform: translateX(100%);
    transition: transform 0.35s var(--ease), visibility 0.35s var(--ease);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 28px;
    visibility: hidden;
    pointer-events: none;
  }

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

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

  .header__nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

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

  .header__nav-extras {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding-top: 8px;
  }

  .header__nav-phone {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
  }

  .header__nav-phone:hover {
    color: var(--gold-lt);
  }

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

/* ============================= 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));
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/bg-hero.jpg");
  background-size: cover;
  background-position: 50% 32%;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(8, 20, 36, 0.95) 0%,
      rgba(8, 20, 36, 0.88) 34%,
      rgba(8, 20, 36, 0.55) 60%,
      rgba(8, 20, 36, 0.42) 100%
    ),
    linear-gradient(180deg, rgba(8, 20, 36, 0.7) 0%, rgba(8, 20, 36, 0) 34%);
}

.hero__glow {
  position: absolute;
  bottom: -70px;
  right: 0;
  width: 60%;
  height: 230px;
  z-index: 0;
  background: radial-gradient(ellipse at 62% 100%, rgba(194, 154, 78, 0.3), rgba(194, 154, 78, 0) 68%);
  pointer-events: none;
}

.hero__datum {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  z-index: 2;
  background: linear-gradient(
    90deg,
    rgba(194, 154, 78, 0.1) 0%,
    rgba(194, 154, 78, 0.28) 38%,
    rgba(194, 154, 78, 0.5) 100%
  );
}

.hero__plinth {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 5px;
  z-index: 2;
  width: 52%;
  background: linear-gradient(
    90deg,
    rgba(194, 154, 78, 0) 0%,
    var(--gold) 20%,
    var(--gold-lt) 50%,
    var(--gold) 80%,
    rgba(194, 154, 78, 0) 100%
  );
  box-shadow: 0 -18px 52px rgba(194, 154, 78, 0.34);
}

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

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

.hero__eyebrow {
  font-family: "Figtree", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin: 0 0 22px;
}

.hero__title {
  color: #fff;
  font-size: clamp(2.4rem, 4.15vw, 4.15rem);
  line-height: 1.03;
  margin: 0 0 22px;
}

.hero__title em {
  font-style: italic;
  color: var(--gold-lt);
}

.hero__text {
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.66;
  margin: 0 0 30px;
  max-width: 585px;
}

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

.hero__phone {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: "Figtree", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}

.hero__phone svg {
  width: 19px;
  height: 19px;
  fill: var(--gold);
  flex: 0 0 19px;
}

.hero__phone:hover {
  color: var(--gold-lt);
}

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

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

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

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

@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 0;
    padding: clamp(32px, 6vw, 48px) clamp(20px, 4vw, 28px) 0;
  }

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

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

  .hero__visual {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: 440px;
    height: auto;
    margin: 0 auto;
    z-index: 1;
  }

  .hero__image {
    height: auto;
    width: 100%;
  }

  .hero__plinth,
  .hero__glow {
    display: none;
  }

  .hero__scrim {
    background: linear-gradient(
      180deg,
      rgba(8, 20, 36, 0.9) 0%,
      rgba(8, 20, 36, 0.8) 55%,
      rgba(8, 20, 36, 0.94) 100%
    );
  }

  .hero__title {
    font-size: 2.15rem;
  }

  .hero__text {
    font-size: 16.5px;
  }
}

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

  .hero__actions .btn {
    width: 100%;
  }

  .hero__phone {
    font-size: 24px;
    justify-content: center;
  }
}

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

.accolades {
  background: var(--ink-2);
  border-top: 1px solid rgba(194, 154, 78, 0.28);
  position: relative;
}

.accolades__inner {
  padding: 38px 0 42px;
}

.accolades__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(227, 196, 134, 0.9);
  text-align: center;
  margin: 0 0 26px;
}

.accolades__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 44px;
  align-items: center;
}

.accolades__slot {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.accolades__image {
  width: auto;
  max-width: 100%;
  object-fit: contain;
  opacity: 0.93;
  transition: opacity 0.35s var(--ease);
}

.accolades__slot:hover .accolades__image {
  opacity: 1;
}

.accolades__image--forum {
  height: 78px;
}

.accolades__image--ntl {
  height: 76px;
}

.accolades__image--super {
  height: 40px;
}

.accolades__image--aaj {
  height: 62px;
}

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

.about {
  padding: 110px 0 116px;
  background: var(--paper);
}

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

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

.about__body {
  color: var(--slate);
  font-size: 17.5px;
}

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

.about__figure {
  position: relative;
  z-index: 1;
}

.about__figure img {
  width: 100%;
  height: auto;
  border-radius: 2px;
  position: relative;
  z-index: 2;
}

.about__figure::after {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold);
  z-index: 1;
  border-radius: 2px;
}

.about__stat {
  position: absolute;
  z-index: 3;
  left: -1px;
  bottom: 34px;
  background: var(--ink);
  color: #fff;
  padding: 22px 30px 24px;
  max-width: 250px;
}

.about__stat b {
  display: block;
  font-family: "Instrument Serif", serif;
  font-size: 2.9rem;
  line-height: 1;
  color: var(--gold-lt);
  margin-bottom: 6px;
}

.about__stat span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
  display: block;
}

.about__note {
  margin-top: 34px;
  padding-left: 22px;
  border-left: 2px solid var(--gold);
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 1.45rem;
  line-height: 1.42;
  color: var(--ink);
}

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

.practice {
  padding: 106px 0 112px;
  background: var(--paper-2);
}

.practice__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

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

.practice__card {
  background: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 0 rgba(11, 26, 46, 0.06);
  transition: 0.42s var(--ease);
  display: flex;
  flex-direction: column;
}

.practice__card:hover {
  transform: translateY(-7px);
  box-shadow: 0 26px 44px -22px rgba(11, 26, 46, 0.42);
}

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

.practice__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.practice__card:hover .practice__thumb img {
  transform: scale(1.06);
}

.practice__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 26, 46, 0) 40%, rgba(11, 26, 46, 0.62) 100%);
}

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

.practice__title {
  font-size: 1.62rem;
  line-height: 1.18;
  margin: 0 0 12px;
}

.practice__card p {
  font-size: 15.5px;
  line-height: 1.62;
  color: var(--slate);
  margin: 0 0 20px;
}

.practice__more {
  margin-top: auto;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.practice__more::after {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}

.practice__card:hover .practice__more::after {
  width: 38px;
}

/* ========================= CASE RESULTS ========================= */

.results {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: 104px 0 108px;
  overflow: hidden;
}

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

.results__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 20, 36, 0.7), rgba(9, 20, 36, 0.86));
}

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

.results__head {
  text-align: center;
  margin: 0 auto 60px;
  max-width: 640px;
}

.results .heading {
  color: #fff;
}

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

.results__item {
  padding: 8px 34px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

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

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

.results__amount {
  display: block;
  font-family: "Instrument Serif", serif;
  font-size: clamp(2.9rem, 4.3vw, 4.15rem);
  line-height: 1;
  color: var(--gold-lt);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.results__desc {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

.results__disclaimer {
  margin: 56px auto 0;
  max-width: 760px;
  text-align: center;
  font-size: 12.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.5);
}

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

.values {
  padding: 106px 0 112px;
  background: var(--paper);
}

.values__head {
  max-width: 760px;
  margin: 0 0 58px;
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(11, 26, 46, 0.16);
}

.values__item {
  padding: 36px 34px 8px;
  border-right: 1px solid rgba(11, 26, 46, 0.12);
  position: relative;
}

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

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

.values__item::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 52px;
  height: 3px;
  background: var(--gold);
}

.values__key {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 16px;
}

.values__text {
  font-size: 17.5px;
  line-height: 1.62;
  color: var(--ink);
  margin: 0;
}

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

.reviews {
  background: var(--ink-3);
  color: #fff;
  padding: 98px 0 104px;
  position: relative;
  overflow: hidden;
}

.reviews::before {
  content: "“";
  position: absolute;
  left: 50%;
  top: -58px;
  transform: translateX(-50%);
  font-family: "Instrument Serif", serif;
  font-size: 20rem;
  line-height: 1;
  color: rgba(227, 196, 134, 0.13);
  pointer-events: none;
}

.reviews__inner {
  position: relative;
  z-index: 2;
  max-width: 930px;
  margin: 0 auto;
  text-align: center;
}

.reviews .heading {
  color: #fff;
  margin-bottom: 34px;
}

.reviews__quote {
  margin: 0 0 32px;
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: clamp(1.4rem, 2.15vw, 2.05rem);
  line-height: 1.44;
  color: #fff;
}

.reviews__stars {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-bottom: 18px;
}

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

.reviews__name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-lt);
}

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

.contact {
  padding: 106px 0 116px;
  background: var(--paper-2);
}

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

.contact .heading {
  margin: 0 0 22px;
}

.contact__copy p {
  color: var(--slate);
  font-size: 17.5px;
}

.contact__facts {
  margin-top: 36px;
  border-top: 1px solid rgba(11, 26, 46, 0.16);
  padding-top: 28px;
  display: grid;
  gap: 24px;
}

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

.contact__fact svg {
  width: 20px;
  height: 20px;
  fill: var(--gold);
  flex: 0 0 20px;
  margin-top: 4px;
}

.contact__fact b {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 5px;
}

.contact__fact span {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink);
  white-space: pre-line;
}

.contact__fact a {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}

.contact__fact a:hover {
  color: var(--gold);
}

.form {
  background: #fff;
  padding: 44px;
  box-shadow: 0 30px 60px -34px rgba(11, 26, 46, 0.38);
}

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

.form__field {
  margin-bottom: 18px;
}

.form__field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 8px;
}

.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(11, 26, 46, 0.24);
  border-radius: 2px;
  background: #fff;
  font: 400 16px / 40px "Figtree", sans-serif;
  color: var(--ink);
  transition: 0.28s var(--ease);
}

.form__field select {
  line-height: normal;
  appearance: none;
  background-image: url("../assets/images/icon-select-chevron.svg");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 11px;
  padding-right: 36px;
}

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

.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(194, 154, 78, 0.16);
  outline: none;
}

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

.form__fine {
  margin: 16px 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--slate);
}

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

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

.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr) minmax(0, 0.85fr);
  gap: 56px;
  padding-bottom: 56px;
}

.footer__logo img {
  width: 269px;
  height: 66px;
  max-width: none;
  margin-bottom: 24px;
}

.footer__blurb {
  margin: 0;
  max-width: 400px;
  line-height: 1.72;
}

.footer__heading {
  font-size: 13px;
  font-family: "Figtree", sans-serif;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin: 0 0 20px;
}

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

.footer__list a:hover {
  color: var(--gold-lt);
}

.footer__address {
  font-style: normal;
  white-space: pre-line;
  line-height: 1.72;
  margin-bottom: 18px;
}

.footer__phone {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.footer__phone:hover {
  color: var(--gold-lt);
}

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

.footer__disclaimer {
  max-width: 900px;
  line-height: 1.7;
}

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

@media (max-width: 1300px) {
  .about__inner {
    gap: 50px;
  }

  .results__item {
    padding: 8px 22px;
  }

  .values__item {
    padding: 32px 24px 8px;
  }
}

@media (max-width: 1000px) {
  .practice__grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .results__item {
    padding: 30px 26px;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .results__item:nth-child(1),
  .results__item:nth-child(2) {
    border-top: 0;
  }

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

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

  .values__item {
    border-right: 0;
    padding: 32px 30px 24px 0;
    border-bottom: 1px solid rgba(11, 26, 46, 0.12);
  }

  .values__item:nth-child(even) {
    padding-left: 30px;
    border-left: 1px solid rgba(11, 26, 46, 0.12);
  }

  .values__item:nth-child(n + 3)::before {
    display: none;
  }

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

  .about__figure {
    max-width: 560px;
  }

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

  .footer__brand {
    grid-column: 1 / -1;
  }

  .accolades__row {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 34px;
  }
}

@media (max-width: 768px) {
  .about__stat {
    position: static;
    max-width: none;
    margin-top: 20px;
  }

  .about__figure::after {
    display: none;
  }

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

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

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

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

  .results__item {
    padding: 26px 0;
    border-left: 0;
  }

  .results__item:nth-child(2) {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .values__item,
  .values__item:nth-child(even) {
    padding: 28px 0 24px;
    border-left: 0;
  }

  .values__item::before {
    display: block;
  }

  .accolades__row {
    grid-template-columns: 1fr 1fr;
    gap: 14px 24px;
  }

  .accolades__slot {
    height: 78px;
  }

  .form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

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

  .about,
  .practice,
  .results,
  .values,
  .reviews,
  .contact {
    padding-top: 72px;
    padding-bottom: 76px;
  }

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

/* ---------- motion ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}

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

.reveal--1 {
  transition-delay: 0ms;
}

.reveal--2 {
  transition-delay: 70ms;
}

.reveal--3 {
  transition-delay: 140ms;
}

.reveal--4 {
  transition-delay: 210ms;
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
