.editorial-card {
  transition: transform .45s ease, box-shadow .45s ease, border-color .45s ease, background .45s ease;
}

.cursor-halo {
  display: none !important;
}

.brand {
  gap: 10px;
  perspective: 700px;
}

.brand .brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 48px;
  flex: 0 0 40px;
  transform-style: preserve-3d;
}

.brand .brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.brand-wordmark {
  color: var(--ink);
  font: 500 .92rem/1 var(--sans);
  letter-spacing: .12em;
  white-space: nowrap;
}

@keyframes brand-mark-y-spin {
  from { transform: rotateY(0); }
  to { transform: rotateY(360deg); }
}

.brand:hover .brand-mark,
.brand:focus-visible .brand-mark {
  animation: brand-mark-y-spin 1.45s cubic-bezier(.22, .68, .25, 1) 1;
}

:is(.text-link, .dock-consult, .prose a:not(.button), .footer-grid a:not(.brand)) {
  transform-origin: center;
  transition: color .35s ease, transform .35s ease, letter-spacing .35s ease, text-shadow .35s ease;
}

:is(.text-link, .dock-consult, .prose a:not(.button), .footer-grid a:not(.brand)):is(:hover, :focus-visible) {
  color: var(--olive);
  transform: scale(1.025);
  letter-spacing: .008em;
  text-shadow: 0 0 .01px currentColor;
}

.dock-consult:is(:hover, :focus-visible) strong {
  color: var(--olive);
  transform: scale(1.03);
}

.legal-layout {
  align-items: start;
}

.legal-layout .prose {
  max-width: 780px;
}

.legal-layout .prose h2 {
  margin-top: 46px;
}

.legal-layout .prose li {
  line-height: 1.65;
}

.legal-updated {
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.legal-contact {
  position: sticky;
  top: 126px;
}

:is(
  .editorial-card,
  .program-card,
  .news-card,
  .review-grid figure,
  .side-card,
  .choice-option,
  .rate-row:not(.rate-labels),
  .calc-result
) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

:is(
  .editorial-card,
  .program-card,
  .news-card,
  .review-grid figure,
  .side-card,
  .choice-option,
  .rate-row:not(.rate-labels),
  .calc-result
)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--lime);
  opacity: 0;
  transition: opacity 1.4s cubic-bezier(.22, .61, .36, 1);
}

:is(
  .editorial-card,
  .program-card,
  .news-card,
  .review-grid figure,
  .side-card,
  .choice-option,
  .rate-row:not(.rate-labels),
  .calc-result
) > * {
  position: relative;
  z-index: 1;
}

:is(
  .editorial-card,
  .program-card,
  .news-card,
  .review-grid figure,
  .side-card,
  .choice-option,
  .rate-row:not(.rate-labels),
  .calc-result
):is(:hover, :focus-within, .is-scroll-focus)::before {
  opacity: .15;
}

.editorial-card h2,
.editorial-card h3,
.program-card h2,
.news-card h2 {
  transition: color .9s ease;
}

.editorial-card:hover h2,
.editorial-card:hover h3,
.editorial-card:focus-visible h2,
.editorial-card:focus-visible h3,
.program-card:hover h2,
.program-card:focus-visible h2,
.news-card:hover h2,
.news-card:focus-visible h2 {
  color: var(--accent);
}

body[data-page="meet-the-team"] .team-grid {
  max-width: 1120px;
}

body[data-page="meet-the-team"] .team-card img {
  height: 360px;
  margin-bottom: 26px;
}

body[data-page="meet-the-team"] .team-card h2 {
  font-size: clamp(1.7rem, 2.15vw, 2.2rem);
}

.lender-marquee {
  padding: 54px 0 48px;
}

.lender-marquee .section-head {
  margin-bottom: 36px;
}

.lender-marquee .eyebrow {
  margin-bottom: 30px;
}

.lender-logo {
  padding: 18px 24px;
  overflow: hidden;
}

.lender-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 48px;
  object-fit: contain;
  opacity: .78;
}

.link-arrow {
  position: relative;
  display: inline-block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  overflow: hidden;
  color: inherit;
  font-size: 0;
  line-height: 0;
  text-indent: -999px;
  transform: none;
}

.link-arrow::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 11px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transform: rotate(-45deg);
  transform-origin: center;
}

.link-arrow::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  width: 7px;
  height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
}

.header nav .portal-link {
  gap: 15px;
}

.header nav .portal-link::after {
  content: none;
}

.rate-row-comparison {
  grid-template-columns: 1.2fr 1fr 1fr .7fr;
}

.rate-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  align-items: baseline;
}

.rate-option b {
  grid-column: 1 / -1;
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.rate-option .rate-value {
  font-size: 1.2rem;
  color: var(--ink);
}

.rate-option small {
  font-size: .72rem;
  color: var(--muted);
}

@media (max-width: 820px) {
  .header nav .portal-link,
  .header nav .mobile-apply {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 142px;
    height: 44px;
    min-height: 44px;
    padding: 10px 16px;
    line-height: 1.2;
  }

  .legal-contact {
    position: static;
  }

  .lender-marquee {
    padding-block: 42px;
  }

  .lender-logo {
    padding: 15px 20px;
  }

  .lender-logo img {
    max-height: 42px;
  }

  .rate-row-comparison {
    grid-template-columns: 1fr 1fr;
  }

  .rate-row-comparison > strong,
  .rate-row-comparison > a {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .brand .brand-mark {
    width: 34px;
    height: 42px;
    flex-basis: 34px;
  }

  .brand-wordmark {
    font-size: .8rem;
  }

  .journey-copy .intro-links a span,
  .dock-buttons > a span,
  .button span,
  .card-link span,
  .header-contact span,
  .link-arrow {
    transform: none;
  }

  .journey-copy .intro-links a {
    box-sizing: border-box;
    min-height: 44px;
  }

  .dock-buttons > a {
    box-sizing: border-box;
    min-width: 0;
    height: 46px;
    min-height: 46px;
    gap: 5px;
    padding: 10px 9px;
    overflow: hidden;
    white-space: normal;
    line-height: 1.12;
  }

  .dock-buttons .link-arrow {
    width: 15px;
    height: 15px;
    flex-basis: 15px;
    font-size: 0;
    line-height: 0;
  }

  .dock-consult strong {
    white-space: nowrap;
  }

  .lender-marquee .section-head p {
    margin-top: 24px;
  }

  .lender-marquee .eyebrow {
    margin-bottom: 22px;
  }

  body[data-page="meet-the-team"] .team-card img {
    height: 300px;
    max-height: 300px;
    object-fit: cover;
  }

  body[data-page="meet-the-team"] .team-card h2 {
    font-size: 1.85rem;
  }

  .rate-row-comparison {
    grid-template-columns: 1fr;
  }

  .rate-row-comparison > strong,
  .rate-row-comparison > a {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand:hover .brand-mark,
  .brand:focus-visible .brand-mark {
    animation: none;
  }

  :is(.text-link, .dock-consult, .prose a:not(.button), .footer-grid a:not(.brand)) {
    transition: none;
  }

  :is(
    .editorial-card,
    .program-card,
    .news-card,
    .review-grid figure,
    .side-card,
    .choice-option,
    .rate-row:not(.rate-labels),
    .calc-result
  )::before {
    transition: none;
  }

  .editorial-card h2,
  .editorial-card h3,
  .program-card h2,
  .news-card h2 {
    transition: none;
  }
}
