/* ============================================================
   Palmisano & Goodman, P.A. — Homepage
   Type pairing: Bodoni Moda / Barlow
   ============================================================ */

:root {
  --navy-900: #061627;
  --navy-800: #0b2340;
  --navy-700: #0e2e52;
  --navy-600: #12406f;
  --navy-500: #1b5590;
  --gold: #c08f3c;
  --gold-lt: #e0bc77;
  --gold-dk: #9a6f26;
  --bone: #eef1f5;
  --bone-2: #e3e9f0;
  --paper: #ffffff;
  --ink: #1e2a38;
  --muted: #5a6878;
  --line: #d6dde6;

  --container-max: 1760px;
  --container-pad: 45px;
  --nav-breakpoint: 1200px;
  --site-chrome-height: 148px;

  --ff-display: "Bodoni Moda", Georgia, "Times New Roman", serif;
  --ff-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
}

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

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

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

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

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

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

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

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

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

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

/* Skip link -------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--navy-900);
  padding: 12px 20px;
  font-weight: 700;
  z-index: 999;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

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

.section__eyebrow::before {
  content: "";
  width: 42px;
  height: 2px;
  background: var(--gold);
  flex: none;
}

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

.section__eyebrow--center::after {
  content: "";
  width: 42px;
  height: 2px;
  background: var(--gold);
  flex: none;
}

.section__eyebrow--gold {
  color: var(--gold-dk);
}

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

.section__title {
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.14;
}

.section__title em,
.section__title-em--light {
  font-style: italic;
  color: var(--gold-dk);
}

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

/* Buttons ---------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  padding: 17px 34px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  max-width: 100%;
  text-align: center;
  transition:
    background-color 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease,
    transform 0.22s ease;
}

.btn--gold {
  background: var(--gold);
  color: var(--navy-900);
  border-color: var(--gold);
}

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

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

/* ============================ HEADER ============================ */
.header {
  background: var(--navy-800);
  position: relative;
  z-index: 20;
}

.header__overlay {
  display: none;
}

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

.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 2vw, 32px);
  padding-top: 22px;
  padding-bottom: 22px;
}

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

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

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

.header__toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--paper);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s 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;
  flex-shrink: 0;
  margin-left: auto;
}

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

.header__phone {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--paper);
  flex-shrink: 0;
}

.header__phone svg {
  width: 22px;
  height: 22px;
  fill: var(--gold);
  flex: none;
}

.header__phone-number {
  display: block;
  font-family: var(--ff-display);
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
}

.header__phone-label {
  display: block;
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 5px;
}

.header__nav {
  background: var(--navy-600);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.header__nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__nav-item {
  flex: 1 1 0;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.11);
}

.header__nav-item:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.11);
}

.header__nav-link {
  display: block;
  padding: clamp(14px, 1.35vw, 19px) clamp(6px, 0.7vw, 10px);
  font-size: clamp(13px, 1.12vw, 16px);
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--paper);
  flex-shrink: 0;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.header__nav-link:hover {
  background: var(--navy-500);
}

.header__nav-link--active {
  background: var(--gold);
  color: var(--navy-900);
  font-weight: 700;
}

.header__nav-extras {
  display: none;
}

/* ============================= HERO ============================= */
.hero {
  position: relative;
  background: var(--navy-800) url("../assets/images/bg-hero.jpg") center 28% / cover no-repeat;
  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::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(6, 22, 39, 0.95) 0%,
    rgba(6, 22, 39, 0.9) 34%,
    rgba(9, 30, 54, 0.68) 56%,
    rgba(11, 35, 64, 0.52) 100%
  );
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 190px;
  background: linear-gradient(to top, rgba(6, 22, 39, 0.92), rgba(6, 22, 39, 0));
  pointer-events: none;
}

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

.hero__content {
  position: relative;
  z-index: 2;
  color: var(--paper);
  width: min(100%, 48%);
  max-width: min(100%, 470px);
  padding-inline: clamp(0px, 1.5vw, 12px);
  min-width: 0;
}

.hero__title {
  font-size: clamp(34px, 3.35vw, 50px);
  line-height: 1.06;
  letter-spacing: 0.004em;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero__title-accent {
  display: block;
  color: var(--gold-lt);
  font-style: italic;
  text-transform: none;
  letter-spacing: -0.01em;
}

.hero__sub {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
  margin: 22px 0 0;
  max-width: 44ch;
  font-weight: 400;
}

.hero__cta {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 30px;
}

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

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

.hero__tel-number {
  font-size: 24px;
  font-weight: 700;
  color: var(--paper);
  line-height: 1.1;
  letter-spacing: 0.01em;
}

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

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

/* ========================== ACCOLADES =========================== */
.accolades {
  background: var(--navy-900);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.accolades__inner {
  display: flex;
  align-items: center;
  gap: 34px;
  padding-top: 30px;
  padding-bottom: 30px;
}

.accolades__label {
  flex: 0 0 172px;
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--gold-lt);
  line-height: 1.5;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  padding-right: 24px;
}

.accolades__track {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 46px;
  flex-wrap: wrap;
}

.accolades__slot {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 92px;
  flex: 0 1 auto;
}

.accolades__badge {
  width: auto;
  max-width: 100%;
  object-fit: contain;
  opacity: 0.88;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.accolades__slot:hover .accolades__badge {
  opacity: 1;
  transform: translateY(-2px);
}

.accolades__slot--forum .accolades__badge {
  height: 73px;
}

.accolades__slot--trial .accolades__badge {
  height: 68px;
}

.accolades__slot--super .accolades__badge {
  height: 52px;
}

.accolades__slot--aaj .accolades__badge {
  height: 58px;
}

/* ============================= ABOUT ============================ */
.about {
  padding: 96px 0 100px;
  background: var(--paper);
  position: relative;
}

.about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}

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

.about__title {
  font-size: clamp(30px, 2.9vw, 44px);
  line-height: 1.12;
}

.about__subtitle {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(21px, 1.7vw, 26px);
  color: var(--gold-dk);
  margin: 14px 0 0;
  line-height: 1.3;
}

.about__content p {
  margin: 24px 0 0;
  color: var(--muted);
}

.about__content p:first-of-type {
  font-size: 18.5px;
  color: #3b4756;
}

.about__cta {
  margin-top: 34px;
  padding: 26px 30px;
  background: var(--bone);
  border-left: 4px solid var(--gold);
  font-size: 17.5px;
  font-weight: 500;
  color: var(--navy-800);
  line-height: 1.6;
}

.about__cta a {
  color: var(--navy-600);
  font-weight: 700;
  border-bottom: 2px solid var(--gold);
}

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

.about__media {
  position: relative;
  position: sticky;
  top: 34px;
  align-self: start;
}

.about__image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 42%;
}

.about__media::after {
  content: "";
  position: absolute;
  left: -16px;
  bottom: -16px;
  width: 118px;
  height: 118px;
  border-left: 4px solid var(--gold);
  border-bottom: 4px solid var(--gold);
}

.about__stat {
  position: absolute;
  right: 0;
  bottom: -34px;
  background: var(--navy-800);
  color: var(--paper);
  padding: 24px 30px;
  max-width: 280px;
  box-shadow: 0 18px 40px rgba(6, 22, 39, 0.24);
}

.about__stat-figure {
  font-family: var(--ff-display);
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  color: var(--gold-lt);
}

.about__stat-caption {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 9px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
}

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

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

.practice__lede {
  color: var(--muted);
  margin: 20px 0 0;
}

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

.practice-card {
  background: var(--paper);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 0 var(--line);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.practice-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 40px rgba(6, 22, 39, 0.16);
}

.practice-card__thumb {
  position: relative;
  aspect-ratio: 385 / 232;
  overflow: hidden;
  background: var(--navy-800);
}

.practice-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

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

.practice-card__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 22, 39, 0.3), rgba(6, 22, 39, 0) 62%);
}

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

.practice-card__title {
  font-size: 21px;
  line-height: 1.22;
  color: var(--navy-800);
  min-height: 2.44em;
}

.practice-card__text {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--muted);
  margin: 13px 0 0;
}

.practice-card__link {
  margin-top: auto;
  padding-top: 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dk);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.practice-card__link svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform 0.25s ease;
}

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

/* ============================ LEDGER ============================ */
.ledger {
  padding: 100px 0 104px;
  background: var(--navy-900) url("../assets/images/bg-ledger.jpg") center / cover no-repeat;
  color: var(--paper);
  position: relative;
}

.ledger::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 22, 39, 0.93), rgba(6, 22, 39, 0.88));
}

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

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

.ledger__head .section__title {
  color: var(--paper);
}

.ledger__note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.04em;
  max-width: 34ch;
  line-height: 1.6;
  margin: 0;
}

.ledger__rows {
  border-top: 1px solid rgba(224, 188, 119, 0.34);
}

.ledger__row {
  display: grid;
  grid-template-columns: minmax(0, 0.44fr) minmax(0, 0.28fr) minmax(0, 0.28fr);
  align-items: baseline;
  gap: 34px;
  padding: 30px 0 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  transition: background-color 0.3s ease, padding-left 0.3s ease;
}

.ledger__row:hover {
  background: rgba(224, 188, 119, 0.055);
  padding-left: 14px;
}

.ledger__amount {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(40px, 4.6vw, 68px);
  line-height: 0.98;
  color: var(--gold-lt);
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -0.015em;
}

.ledger__type {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
  line-height: 1.6;
}

.ledger__desc {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

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

.ledger__disclaimer {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  max-width: 56ch;
  margin: 0;
}

/* ============================ VALUES ============================ */
.values {
  padding: 96px 0 100px;
  background: var(--navy-800) url("../assets/images/bg-values.jpg") center / cover no-repeat;
  color: var(--paper);
  position: relative;
}

.values::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(11, 35, 64, 0.96), rgba(6, 22, 39, 0.9));
}

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

.values__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 58px;
}

.values__head .section__title {
  color: var(--paper);
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
  background: rgba(255, 255, 255, 0.14);
}

.value-card {
  background: rgba(6, 22, 39, 0.5);
  padding: 40px 30px 42px;
  backdrop-filter: blur(2px);
  transition: background-color 0.3s ease;
}

.value-card:hover {
  background: rgba(224, 188, 119, 0.09);
}

.value-card__icon {
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
}

.value-card__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
}

.value-card__title {
  font-size: 20px;
  line-height: 1.28;
  color: var(--paper);
  min-height: 2.56em;
}

.value-card__text {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
  margin: 13px 0 0;
}

/* ========================= TESTIMONIAL ========================== */
.testimonial {
  padding: 104px 0;
  background: var(--bone) url("../assets/images/bg-testimonial.jpg") center / cover no-repeat;
  position: relative;
}

.testimonial::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(238, 241, 245, 0.985) 0%,
    rgba(238, 241, 245, 0.95) 48%,
    rgba(238, 241, 245, 0.74) 100%
  );
}

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

.testimonial__box {
  max-width: 820px;
  position: relative;
}

.testimonial__box::before {
  content: "\201C";
  position: absolute;
  right: -4px;
  top: -56px;
  font-family: var(--ff-display);
  font-size: 230px;
  line-height: 1;
  color: var(--gold);
  opacity: 0.16;
  pointer-events: none;
}

.testimonial__stars {
  display: flex;
  gap: 5px;
  margin-bottom: 22px;
}

.testimonial__stars svg {
  width: 20px;
  height: 20px;
  fill: var(--gold);
}

.testimonial__quote {
  font-family: var(--ff-display);
  font-size: clamp(26px, 2.5vw, 38px);
  font-weight: 600;
  line-height: 1.26;
  color: var(--navy-800);
  margin: 0;
  letter-spacing: -0.008em;
}

.testimonial__body {
  font-size: 18px;
  line-height: 1.75;
  color: var(--muted);
  margin: 26px 0 0;
}

.testimonial__attr {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
}

.testimonial__bar {
  width: 44px;
  height: 2px;
  background: var(--gold);
}

.testimonial__name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-800);
}

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

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 70px;
  align-items: start;
}

.contact__info .section__title {
  font-size: clamp(30px, 2.9vw, 44px);
}

.contact__lede {
  color: var(--muted);
  margin: 22px 0 0;
  max-width: 46ch;
}

.contact__list {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}

.contact__item {
  display: flex;
  gap: 18px;
  padding: 22px 24px;
  background: var(--paper);
  align-items: flex-start;
}

.contact__icon {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: var(--gold-dk);
  stroke-width: 1.6;
  margin-top: 3px;
}

.contact__key {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact__value {
  font-size: 17.5px;
  font-weight: 600;
  color: var(--navy-800);
  line-height: 1.5;
  margin-top: 4px;
}

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

.form {
  background: var(--navy-800);
  padding: 44px 44px 46px;
  color: var(--paper);
  position: relative;
}

.form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold);
}

.form__title {
  font-size: 27px;
  color: var(--paper);
}

.form__sub {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.68);
  margin: 11px 0 28px;
  line-height: 1.6;
}

.form__field {
  margin-bottom: 16px;
}

.form__label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 7px;
}

.form__input,
.form__select {
  width: 100%;
  height: 40px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 2px;
  color: var(--ink);
  font-size: 15.5px;
}

.form__select {
  appearance: none;
  background-image: url("../assets/images/icon-select.svg");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  padding-right: 38px;
}

.form__textarea {
  width: 100%;
  height: 120px;
  padding: 11px 14px;
  resize: vertical;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 2px;
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.55;
  font-family: var(--ff-body);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: #8894a3;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  border-color: var(--gold);
  outline: none;
}

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

.form__legal {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  margin: 18px 0 0;
}

/* ============================ FOOTER ============================ */
.footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 0;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr));
  gap: 56px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

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

.footer__tagline {
  font-size: 15.5px;
  line-height: 1.75;
  margin: 0;
  max-width: 44ch;
}

.footer__heading {
  font-size: 13px;
  font-family: var(--ff-body);
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 20px;
}

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

.footer__link {
  font-size: 15.5px;
}

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

.footer__address {
  font-style: normal;
  font-size: 15.5px;
  line-height: 1.75;
}

.footer__tel {
  display: block;
  font-family: var(--ff-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--paper);
  margin-top: 16px;
}

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

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  padding: 26px 0 30px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.46);
}

.footer__copy {
  margin: 0;
}

.footer__links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer__links .footer__link {
  font-size: 12.5px;
}

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

/* Button text wrapping */
@media (max-width: 980px) {
  .btn {
    white-space: normal;
    font-size: 17px;
    padding: 15px 26px;
  }

  .btn--sm {
    font-size: 15px;
    padding: 12px 22px;
  }
}

@media (max-width: 1200px) {
  .header__overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1;
    background: rgba(6, 22, 39, 0.58);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

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

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

  .header__bar .header__cta,
  .header__bar .header__phone {
    display: none;
  }

  .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(--navy-800);
    border-top: 0;
    transform: translateX(calc(100% + 40px));
    transition: transform 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

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

  .header__nav-list {
    flex-direction: column;
  }

  .header__nav-item {
    flex: none;
    text-align: left;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  }

  .header__nav-item:first-child {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.11);
  }

  .header__nav-link {
    padding: 16px 4px;
    font-size: 16px;
    white-space: normal;
  }

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

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

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

  .about__grid,
  .contact__grid {
    gap: 46px;
  }
}

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

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

  .about__media {
    position: relative;
    top: auto;
    max-width: 640px;
  }

  .about__stat {
    position: static;
    max-width: none;
    margin-top: 20px;
    display: inline-block;
  }

  .about__media::after {
    display: none;
  }

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

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

  .ledger__amount {
    font-size: clamp(38px, 7vw, 54px);
  }

  .accolades__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .accolades__label {
    flex: none;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    padding: 0 0 16px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .hero {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: calc(100svh - var(--site-chrome-height));
    padding: clamp(32px, 6vw, 48px) clamp(4px, 2vw, 12px) 0;
  }

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

  .hero__content {
    width: 100%;
    max-width: 100%;
    padding-inline: clamp(8px, 3vw, 20px);
    padding-bottom: 28px;
  }

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

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

  .hero::after {
    height: 120px;
  }

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

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

  body {
    font-size: 16px;
  }

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

  .hero__cta .btn {
    width: 100%;
  }

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

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

  .about,
  .practice,
  .ledger,
  .values,
  .testimonial,
  .contact {
    padding-top: 64px;
    padding-bottom: 66px;
  }

  .accolades__track {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
    justify-items: center;
  }

  .accolades__slot {
    height: auto;
    min-height: 58px;
  }

  .accolades__slot--forum .accolades__badge {
    height: 52px;
  }

  .accolades__slot--trial .accolades__badge {
    height: 48px;
  }

  .accolades__slot--super .accolades__badge {
    height: 38px;
  }

  .accolades__slot--aaj .accolades__badge {
    height: 50px;
  }

  .footer__logo {
    width: 250px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
