/* Homepage overview. External file so the inline style hash and CSP stay unchanged.
   Spacing stays generous. The hero photo is not filtered. */

body.home .hero {
  min-height: 0;
  align-items: stretch;
}
body.home .hero-txt {
  padding-top: clamp(48px, 6vw, 88px);
  padding-bottom: clamp(40px, 5vw, 72px);
}
body.home .hero h1 {
  font-size: clamp(2.5rem, 3.4vw, 3.25rem);
  line-height: 1.08;
  margin-bottom: 24px;
}
body.home .hero-sub {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 34em;
}

.home-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.home-lede {
  max-width: 40rem;
  margin: 0 0 2.25rem;
  color: var(--graphite);
  font-size: 1.15rem;
  line-height: 1.65;
}
.home-more {
  margin: 2.25rem 0 0;
}
.home-more .link-arrow,
.home-links .link-arrow,
.home-svc-links .link-arrow,
.home-also a {
  min-height: 44px;
}

body.home .home-svc,
body.home .home-portal,
body.home .home-book,
body.home .home-pv {
  padding: clamp(80px, 9vw, 132px) 0;
}
body.home .home-svc h2,
body.home .home-portal h2,
body.home .home-book h2,
body.home .home-pv h2 {
  font-size: clamp(2.15rem, 3.1vw, 3.05rem);
  line-height: 1.1;
  margin: 0 0 0.7rem;
  max-width: 16em;
  text-wrap: balance;
}
body.home .home-svc {
  border-top: 1px solid var(--rule);
}
body.home .home-portal {
  background: var(--linen);
}
body.home .home-pv {
  background: var(--linen);
  padding-bottom: clamp(88px, 10vw, 148px);
}

.home-svc-grid,
.home-offices {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 48px 40px;
}
.home-svc-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.home-svc-grid > li,
.home-offices > li {
  min-width: 0;
  border-top: 1px solid var(--ink);
  padding-top: 22px;
}
.home-n {
  margin: 0 0 14px;
  font: 600 0.78rem/1 var(--sans);
  letter-spacing: 0.14em;
  color: var(--fir);
}
.home-svc-grid h3,
.home-offices h3 {
  font-size: 1.75rem;
  line-height: 1.15;
  margin: 0 0 12px;
}
.home-svc-grid h3 a,
.home-offices h3 a {
  text-decoration: none;
}
.home-svc-grid h3 a:hover,
.home-offices h3 a:hover {
  color: var(--fir);
}
.home-svc-grid p,
.home-offices p,
.home-portal .home-lede {
  margin: 0 0 16px;
  color: var(--graphite);
  font-size: 1.0625rem;
  line-height: 1.65;
}
.home-svc-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 4px;
}
.home-also {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}
.home-also a {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: var(--fir);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.home-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
}
.home-portal .home-lede {
  margin-bottom: 0.25rem;
  max-width: 40rem;
}

.home-offices {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 56px;
}
.home-offices address {
  font-style: normal;
  color: var(--graphite);
  font-size: 1.0625rem;
  line-height: 1.55;
  margin: 0 0 12px;
}
.home-tel {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0 0 4px;
  font: 400 1.7rem/1.15 var(--serif);
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
}
.home-tel:hover {
  color: var(--fir);
  border-color: var(--fir);
}
.home-offices .link-arrow {
  margin-top: 8px;
}

body.home .home-pv-head {
  margin-bottom: 40px;
}
body.home .home-pv .pv-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 920px;
  gap: 48px 56px;
  margin-left: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad)));
  margin-right: auto;
  padding-left: 0;
  padding-right: var(--pad);
}
body.home .home-pv .pv-ph {
  aspect-ratio: 4 / 5;
  width: 100%;
  max-width: none;
}
body.home .home-pv .pv h3 {
  font-size: 1.55rem;
  line-height: 1.2;
}
body.home .home-pv .pv p {
  font-size: 1.05rem;
  line-height: 1.45;
}
body.home .home-pv .pv-more {
  max-width: 920px;
  margin: 36px auto 0;
  margin-left: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad)));
  padding-right: var(--pad);
}

@media (min-width: 900px) {
  body.home .hero-fig {
    min-height: 560px;
  }
}

@media (max-width: 980px) {
  .home-svc-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 899px) {
  body.home .hero .label,
  body.home .hero-sub,
  body.home .hero-cities {
    display: none;
  }
  body.home .hero-fig {
    height: 40vh;
    min-height: 260px;
    max-height: 420px;
  }
  body.home .hero-txt {
    padding: 32px var(--pad) 28px;
  }
  body.home .hero h1 {
    margin-bottom: 0;
    font-size: clamp(2.35rem, 10vw, 3rem);
  }
  body.home .hdr-call {
    display: none;
  }
  .home-offices {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  body.home .home-pv .pv-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    gap: 40px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--pad);
    padding-right: var(--pad);
  }
  body.home .home-pv .pv-more {
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--pad);
    max-width: 420px;
  }
}

/* mobile full-bleed hero (opt5c) */
html body .hx-media picture.hx-tall{display:none}
@media (max-width:767px){
html body .hx{position:relative;min-height:100svh;background:#E9E1D6}
html body .hx>.hx-media{position:absolute!important;inset:0!important;height:auto!important;min-height:0!important;max-height:none!important;z-index:0}
html body .hx>.hx-media img{display:none!important}
html body .hx>.hx-media picture.hx-tall,html body .hx>.hx-media picture.hx-tall img{display:block!important;width:100%;height:100%}
html body .hx>.hx-media picture.hx-tall img{object-fit:cover;object-position:0% 42%;transform:none!important;animation:none!important}
html body .hx>.hx-shade{display:block!important;position:absolute!important;inset:0!important;z-index:1;background:linear-gradient(90deg,rgba(236,229,219,.55) 0%,rgba(236,229,219,.25) 40%,rgba(236,229,219,0) 55%)!important}
html body .hx>.hx-in{position:absolute!important;left:0;top:0;bottom:0;width:58%;display:flex;flex-direction:column;justify-content:center;padding:64px 0 110px 20px!important;z-index:2;background:none!important;box-sizing:border-box}
html body .hx .hx-in>.hx-h{position:static!important;width:auto;max-width:none!important;font-size:2.05rem!important;line-height:1.08!important;margin:0 0 14px!important;color:#1C1C1C!important}
html body .hx .hx-sub{color:#2B2925!important;font-size:16px!important;line-height:1.45!important;margin:0 0 6px!important}
html body .hx .hx-near a{color:#1C1C1C!important}
}
@media (max-width:374px){html body .hx>.hx-in{width:57%}html body .hx .hx-in>.hx-h{font-size:1.8rem!important}}
@media (min-width:420px) and (max-width:767px){html body .hx>.hx-in{width:52%!important}}
@media (max-width:767px){
html body .hx{height:100svh!important;min-height:100svh!important;max-height:none!important;margin-top:-64px!important;overflow:hidden}
html body header.hx-hdr{background:transparent!important;box-shadow:none!important;border:0!important;position:relative;z-index:5}
}
@media (max-width:767px){
html body header.hx-hdr,html body header.hx-hdr>*{background:transparent!important;background-color:transparent!important;box-shadow:none!important;backdrop-filter:none!important}
html body .hx>.hx-in{justify-content:flex-start!important;padding-top:calc(64px + 15svh)!important}
html body .hx .hx-near a{display:inline!important;white-space:normal}
}
@media (max-width:767px){html body .hx>.hx-in{inset:0 auto 0 0!important;top:0!important;bottom:0!important;left:0!important;margin:0!important;padding:calc(64px + 13svh) 0 100px 20px!important}}
@media (max-width:767px){html body .hx{margin-top:0!important}html body header#top.hx-hdr,html body header#top.hx-hdr.is-scrolled{background:transparent!important;background-color:transparent!important}}
@media (max-width:374px){html body .hx>.hx-in{width:51%!important}}
@media (min-width:375px) and (max-width:767px){html body .hx>.hx-in{width:51%!important}}
@media (max-width:374px){html body .hx>.hx-in{width:50%!important}html body .hx .hx-in>.hx-h{font-size:1.7rem!important}}
@media (max-width:767px){
html body .hx{height:74svh!important;min-height:560px!important;max-height:700px!important}
html body .hx>.hx-media{overflow:hidden}
html body .hx>.hx-media picture.hx-tall{position:absolute;left:0;right:0;top:-72px;height:100svh!important}
html body .hx>.hx-in{padding:92px 0 24px 20px!important}
html body header#top.hx-hdr,html body header#top.hx-hdr *{border-bottom:0!important}
html body header#top.hx-hdr::after,html body header#top.hx-hdr::before{display:none!important}
}
@media (max-width:767px){html body .hx>.hx-in{justify-content:center!important;padding:120px 0 0 20px!important}}
/* Desktop: an opaque bar once scrolling starts, so the hero CTAs cannot show through the header. Top of the page stays transparent. */
@media (min-width:768px){
html body header.hdr.hx-hdr.scrolled{background:#fff!important;background-color:#fff!important}
}
