:root {
  --navy: #12365a;
  --orange-ink: #ffe0b1;
  --rule: #d2deea;
}

/* The brand and main navigation occupy a single short band on small screens. */
.site-header { border-bottom: 1px solid var(--rule); }
.site-header .brand-row { padding-block: 16px; }
.site-header .brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
.site-header .brand img { width: 144px; height: auto; margin: 0; align-self: center; }
.site-header .site-name {
  color: var(--navy);
  font-size: 1.25rem;
  padding-left: 14px;
  border-left: 1px solid var(--rule);
  white-space: nowrap;
}
.site-nav-shell { background: #edf3f8; }
.site-header #navigation {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: stretch;
  gap: 0;
  padding-block: 0;
}
.site-header #navigation a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 56px;
  border-left: 1px solid #d7e3ee;
  padding: 9px 6px;
  color: var(--navy);
  font-size: clamp(.79rem, 1.45vw, .94rem);
  line-height: 1.3;
  white-space: nowrap;
  text-decoration: none;
}
.site-header #navigation a:last-child { border-right: 1px solid #d7e3ee; }
.nav-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.site-header #navigation a:hover { background: #dce9f4; }
.site-header #navigation a[aria-current=page] {
  color: white;
  background: var(--navy);
  box-shadow: inset 0 -4px var(--orange);
}
.site-header #navigation a[aria-current=page] svg { color: var(--orange-ink); }
.site-header #navigation a:focus-visible { z-index: 1; outline-offset: -4px; }
.primary { color: #162c44; text-shadow: none; }
.primary:hover { background: #f6a543; }
.header-apply .button-short { display: none; }

.landing-hero {
  display: grid;
  grid-template-columns: .92fr 1.18fr;
  margin: 28px 0 0;
  background: var(--navy);
  color: white;
  border-top: 5px solid var(--orange);
}
.landing-hero__copy { padding: clamp(25px, 4vw, 43px); }
.landing-hero__area {
  font-size: .9375rem;
  font-weight: 700;
  letter-spacing: .04em;
  margin: 0 0 16px;
}
.landing-hero h1 {
  color: white;
  font-size: clamp(3rem, 6.5vw, 4.7rem);
  line-height: 1.04;
  letter-spacing: -.045em;
  margin: 0 0 18px;
}
.landing-hero h1 span { color: var(--orange-ink); }
.landing-hero__lead { font-size: 1rem; margin-bottom: 20px; }
.landing-hero__button { gap: 22px; justify-content: space-between; }
.landing-hero__phone {
  color: white;
  display: table;
  margin-top: 12px;
  font-size: .875rem;
}
.landing-hero__phone span { white-space: nowrap; font-weight: 700; }
.landing-hero__photo {
  position: relative;
  margin: 0;
  min-width: 0;
  background: #3c5741;
}
.landing-hero__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 32% 38%;
}
.landing-hero__photo figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 2px 8px;
  background: #12365a;
  color: white;
  font-size: .75rem;
}
.landing-fees {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  padding: 23px clamp(20px, 4vw, 40px);
  margin: 0;
  background: #fff1db;
  border-bottom: 1px solid #e5caab;
}
.landing-fees h2 {
  border: 0;
  padding: 0;
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.3rem;
  line-height: 1.1;
}
.landing-fees h2 strong { font-size: 3.05rem; margin-left: .28em; }
.landing-fees h2 strong span { font-size: .53em; }
.landing-fees__main p { margin: 0; font-size: .9rem; font-weight: 700; }
.landing-fees__note { margin: 0 0 5px; font-size: .81rem; line-height: 1.65; }
.landing-text-link { font-size: .9375rem; font-weight: 700; }

.landing-next { margin: 48px 0 0; }
.landing-next > h2, .landing-local h2 {
  padding: 0;
  border: 0;
  margin: 0 0 14px;
  color: var(--navy);
}
.landing-banners { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.landing-banner {
  position: relative;
  display: block;
  padding: 19px 46px 19px 82px;
  border-left: 5px solid var(--blue);
  background: var(--pale);
  color: var(--navy);
  text-decoration: none;
}
.landing-banner:hover h3 { text-decoration: underline; }
.landing-banner--choices { background: var(--navy); color: white; border-color: var(--orange); }
.landing-banner h3 { margin: 0 0 4px; color: inherit; font-size: 1.25rem; }
.landing-banner p { margin: 0; color: inherit; font-size: .875rem; }
.landing-banner__icon {
  position: absolute;
  top: 50%;
  left: 18px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: white;
  border-radius: 50%;
  color: var(--navy);
  transform: translateY(-50%);
}
.landing-banner--choices .landing-banner__icon { background: var(--orange-ink); }
.landing-banner__icon .nav-icon { width: 26px; height: 26px; }
.landing-banner__arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.65rem;
  line-height: 1;
}
.landing-question-links { list-style: none; margin: 20px 0 0; padding: 0; }
.landing-question-links li { border-bottom: 1px solid var(--rule); margin: 0; }
.landing-question-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 46px;
  gap: 12px;
  font-size: .9375rem;
  text-decoration: none;
}
.landing-question-links a:hover { text-decoration: underline; }
.landing-local {
  border-top: 3px solid var(--blue);
  padding: 20px 22px;
  margin: 44px 0 0;
  background: var(--pale);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.landing-local h2 { margin-bottom: 4px; font-size: 1.2rem; }
.landing-local p { margin: 0; font-size: .875rem; }
.landing-local a { flex-shrink: 0; }
.company-greeting { max-width: 46rem; }
.company-greeting p { margin-bottom: 14px; }
.company-greeting .signoff {
  display: flex;
  flex-wrap: wrap;
  column-gap: .8em;
  font-weight: 700;
  color: var(--navy);
}
.company-page table { min-width: 0; }
.company-page tbody th { min-width: 0; }
.site-contact {
  padding: 32px 0;
  background: var(--pale);
  border-top: 1px solid var(--rule);
}
.site-contact .wrap { display: flex; gap: 24px; align-items: center; justify-content: space-between; }
.site-contact h2 { font-size: 1.3rem; margin: 0 0 4px; padding: 0; border: 0; }
.site-contact p { font-size: .875rem; margin: 0; }
.site-contact .actions { margin: 0; }
#old-house, #rent-payment { scroll-margin-top: 14px; }

@media (max-width: 760px) {
  .site-header .brand-row { display: flex; gap: 12px; padding-block: 11px; }
  .site-header .brand { flex-direction: column; align-items: flex-start; gap: 3px; }
  .site-header .brand img { width: 98px; align-self: flex-start; }
  .site-header .site-name { padding: 0; border: 0; font-size: 1rem; }
  .site-header .header-actions { margin: 0; }
  .site-header .header-apply, .site-header #menu-toggle { font-size: .8125rem; min-height: 44px; padding: 6px 9px; }
  .site-header #menu-toggle[aria-expanded=true] { background: var(--navy); color: white; }
  .site-header #navigation {
    grid-template-columns: 1fr 1fr;
    padding-block: 12px;
    gap: 7px;
  }
  .site-header #navigation a, .site-header #navigation a:last-child {
    justify-content: flex-start;
    gap: 10px;
    min-height: 47px;
    padding-inline: 11px;
    border: 1px solid var(--rule);
    background: white;
    font-size: .875rem;
  }
  .site-header #navigation a:hover { background: #dce9f4; }
  .site-header #navigation a[aria-current=page] {
    background: var(--navy);
    box-shadow: inset 4px 0 var(--orange);
  }
  .header-apply .button-full { display: none; }
  .header-apply .button-short { display: inline; }
  .landing-hero { grid-template-columns: 1fr; margin-top: 16px; }
  .landing-hero__copy { padding: 22px 20px 18px; }
  .landing-hero__area { margin-bottom: 8px; font-size: .81rem; }
  .landing-hero h1 { font-size: clamp(2rem, 9.1vw, 3.5rem); line-height: 1.17; margin-bottom: 6px; }
  .landing-hero h1 br { display: none; }
  .landing-hero__lead { margin-bottom: 14px; font-size: .9rem; }
  .landing-hero__button { width: auto; padding-inline: 14px; }
  .landing-hero__photo { min-height: clamp(150px, 48vw, 290px); }
  .landing-fees { grid-template-columns: 1fr; gap: 8px; padding: 16px 18px; }
  .landing-fees h2 strong { font-size: 2.4rem; }
  .landing-fees__main p { font-size: .81rem; }
  .landing-next { margin-top: 34px; }
  .landing-banners { grid-template-columns: 1fr; gap: 8px; }
  .landing-banner { padding: 13px 40px 13px 61px; }
  .landing-banner__icon { left: 12px; width: 36px; height: 36px; }
  .landing-banner__icon .nav-icon { width: 20px; height: 20px; }
  .landing-banner__arrow { right: 12px; }
  .landing-banner h3 { font-size: 1.1rem; }
  .landing-local { margin-top: 32px; align-items: flex-start; flex-direction: column; }
  .company-page th, .company-page td { padding: 10px; }
  .company-page tbody th { width: 26%; }
  .site-contact .wrap { display: block; }
  .site-contact .actions { margin-top: 16px; flex-direction: row; }
  .site-contact .button { width: auto; }
}
