/* Header chrome for pages that still use the original page styles.
   Homepage and residential keep these rules inside home-redesign.css.
   The footer is styled by footer.css on every page.
   Also aligns the About hero with the redesign .rhero (see the end of this file). */

.blvd-chrome {
  display: contents;
}

.site-header,
.site-footer {
  --maroon: #823d40;
  --maroon-deep: #502c2f;
  --cream: #fff6e7;
  --cream-card: #fffbf4;
  --ink-cream: #efe7db;
  --wrap: min(1400px, calc(100% - 40px));
  box-sizing: border-box;
  font-family: "Aeonik", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-header *,
.site-header *::before,
.site-header *::after,
.site-footer *,
.site-footer *::before,
.site-footer *::after {
  box-sizing: border-box;
}

.blvd-chrome .wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.blvd-chrome p {
  margin: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* line break that only applies on mobile (enabled in the max-width: 800px block) */
br.br-mobile {
  display: none;
}

header.site-header {
  position: sticky !important;
  top: 0;
  left: auto;
  display: block;
  align-items: stretch;
  width: 100%;
  padding: 0;
  z-index: 20;
  height: 108px;
  background: var(--maroon);
  color: var(--ink-cream);
  transition: none;
}

.site-header__bar {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(160px, 450px) auto minmax(0, 1fr);
  align-items: center;
}

.site-header__logo {
  display: flex;
  align-items: center;
}

.site-header__logo img {
  display: block;
  width: 316px;
  max-width: 100%;
  height: 32px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav>a,
.site-nav__item>a {
  display: inline-flex;
  align-items: center;
  padding: 16px 11px;
  color: #efe7db;
  font-size: 16px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 0;
  text-decoration: none;
  border-radius: 16px;
  white-space: nowrap;
}

.site-nav img {
  display: block;
  width: 16px;
  height: 16px;
  max-width: none;
  margin-left: 4px;
}

.site-header .btn--cream {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: #ece3d6;
  color: var(--maroon);
  font-family: inherit;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -0.44px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.site-header .btn--cream:hover,
.site-header .btn--cream:focus {
  background: #ece3d6;
  color: var(--maroon);
  text-decoration: none;
}

.site-nav__item {
  position: relative;
}

.site-nav__menu {
  position: absolute;
  top: calc(100% - 6px);
  left: 0;
  min-width: 280px;
  padding: 10px;
  background: var(--cream-card);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(42, 43, 47, 0.12);
  display: none;
}

.site-nav__item:hover .site-nav__menu,
.site-nav__item:focus-within .site-nav__menu {
  display: grid;
}

.site-nav__menu a {
  padding: 10px 12px;
  color: var(--maroon);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
}

.site-nav__menu a:hover {
  background: rgba(130, 61, 64, 0.08);
  color: var(--maroon);
}

.site-nav__back {
  display: none;
}

.site-header__actions,
.site-nav__contact {
  display: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink-cream);
  position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before {
  top: -7px;
}

.nav-toggle__bars::after {
  top: 7px;
}

@media (max-width: 1280px) {
  .site-header__bar {
    grid-template-columns: minmax(140px, 320px) auto minmax(0, 1fr);
  }
}

@media (max-width: 1100px) {
  .site-header .btn--cream {
    display: none;
  }

  .site-header__bar {
    grid-template-columns: auto 1fr;
  }

  .site-header__logo img {
    width: 210px;
    height: auto;
  }

  .site-nav {
    justify-self: end;
    gap: 8px;
  }

  .site-nav>a,
  .site-nav__item>a {
    padding: 12px 8px;
    font-size: 15px;
  }
}

@media (max-width: 800px) {
  br.br-mobile {
    display: inline;
  }

  header.site-header {
    height: auto;
    z-index: 1004;
  }

  .site-header__bar {
    display: flex;
    flex-wrap: wrap;
    padding: 16px 0;
  }

  .site-header__logo img {
    width: 210px;
    height: auto;
  }

  .site-header__logo,
  .site-header__actions {
    position: relative;
    z-index: 1005;
  }

  .site-header__actions {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
  }

  .site-header__call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #efe7db;
    text-decoration: none;
  }

  .site-header__call svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: 0;
    padding: 0;
  }

  .nav-toggle__bars,
  .nav-toggle__bars::before,
  .nav-toggle__bars::after {
    transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
  }

  body.mobile-nav-open .nav-toggle__bars {
    background: transparent;
  }

  body.mobile-nav-open .nav-toggle__bars::before {
    top: 0;
    transform: rotate(45deg);
  }

  body.mobile-nav-open .nav-toggle__bars::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .site-header .btn--cream {
    display: none;
  }

  body.mobile-nav-open {
    overflow: hidden;
  }

  .site-nav {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    width: 100%;
    height: 0;
    margin: 0;
    padding: 0 20px;
    overflow: hidden;
    background: #502c2f;
    pointer-events: none;
    transition: height 1s cubic-bezier(0.19, 1, 0.22, 1);
  }

  .site-nav.is-open {
    height: 100dvh;
    padding-top: calc(var(--nav-top, 76px) + 20px);
    padding-bottom: 220px;
    overflow-y: auto;
    pointer-events: auto;
  }

  .site-nav>a,
  .site-nav>.site-nav__item,
  .site-nav__contact {
    opacity: 0;
  }

  .site-nav.is-open>a,
  .site-nav.is-open>.site-nav__item,
  .site-nav.is-open .site-nav__contact {
    opacity: 1;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .site-nav.is-open> :nth-child(1) {
    transition-delay: 0.3s;
  }

  .site-nav.is-open> :nth-child(2) {
    transition-delay: 0.34s;
  }

  .site-nav.is-open> :nth-child(3) {
    transition-delay: 0.38s;
  }

  .site-nav.is-open> :nth-child(4) {
    transition-delay: 0.42s;
  }

  .site-nav.is-open> :nth-child(5) {
    transition-delay: 0.46s;
  }

  .site-nav.is-open .site-nav__contact {
    transition-delay: 0.58s;
  }

  .site-nav>a,
  .site-nav__item>a {
    justify-content: space-between;
    width: 100%;
    padding: 0;
    border-radius: 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
  }

  .site-nav__item>a img {
    display: none;
  }

  .site-nav__item>a::after {
    content: "";
    flex: none;
    width: 9px;
    height: 9px;
    margin-right: 8px;
    border-top: 2px solid #efe7db;
    border-right: 2px solid #efe7db;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
  }

  .site-nav__item.is-open>a::after {
    transform: rotate(135deg);
  }

  .site-nav__item:hover .site-nav__menu,
  .site-nav__item:focus-within .site-nav__menu,
  .site-nav__menu {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    min-width: 0;
    height: 100dvh;
    margin: 0;
    padding: calc(var(--nav-top, 76px) + 20px) 20px 220px;
    overflow-y: auto;
    background: #502c2f;
    border-radius: 0;
    box-shadow: none;
    opacity: 0;
    transform: scale(0);
    pointer-events: none;
    transition: opacity 0.24s cubic-bezier(0.4, 0, 0.6, 1), transform 0.24s cubic-bezier(0.4, 0, 0.6, 1);
  }

  .site-nav__item.is-open .site-nav__menu {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
  }

  .site-nav__menu a {
    display: block;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: none;
    color: #efe7db;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
  }

  .site-nav__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    padding: 0;
    border: 0;
    background: none;
    color: #efe7db;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
  }

  .site-nav__back svg {
    display: block;
    flex: none;
  }

  .site-nav.is-open .site-nav__contact {
    display: block;
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1002;
    margin: 0;
    padding: 25px 20px;
    background: #502c2f;
  }

  .site-nav__contact-label {
    margin: 0 0 6px;
    color: rgba(239, 231, 219, 0.6);
    font-size: 13px;
    line-height: 1.3;
  }

  .site-nav__contact-email {
    display: inline-block;
    color: #efe7db;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: underline;
    text-underline-offset: 5px;
  }

  .site-nav__social {
    display: flex;
    align-items: center;
    gap: 34px;
    margin-top: 28px;
  }

  .site-nav__social a {
    display: inline-flex;
    padding: 0;
    color: #efe7db;
    line-height: 0;
  }

  .site-nav__social svg {
    width: 20px;
    height: 20px;
    fill: #efe7db;
  }

  .site-nav__contact-address {
    margin: 28px 0 0;
    font-size: 13px;
    line-height: 1.4;
  }

  .site-nav__contact-address a {
    color: rgba(239, 231, 219, 0.75);
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;
  }
}

@media (max-width: 800px) and (max-height: 660px) {

  .site-nav>a,
  .site-nav__item>a,
  .site-nav__menu a {
    font-size: 18px;
  }

  .site-nav,
  .site-nav.is-open {
    gap: 12px;
  }
}

@media (max-width: 800px) and (max-height: 600px) {
  .site-nav.is-open {
    padding-bottom: 40px;
  }

  .site-nav__item:hover .site-nav__menu,
  .site-nav__item:focus-within .site-nav__menu,
  .site-nav__menu {
    padding-bottom: 40px;
  }

  .site-nav.is-open .site-nav__contact {
    position: static;
    z-index: auto;
    margin-top: 40px;
    padding-bottom: 0;
  }
}

/* ---------- About hero: same size, overlay and type scale as the redesign .rhero ---------- */
/* style.css/responsive.css size this hero from the video and use !important margins, so the overrides need it too */
.page-template-about section.about-bannner {
  display: flex;
  align-items: center;
  min-height: 800px;
  background: #1b1614;
}

.page-template-about section.about-bannner .site-video {
  position: absolute;
  inset: 0;
}

/* the wordmark's "l" stem (about-1.svg, 9.4–14% of the page width) runs down through the Our Team header,
   so start the header copy just right of it */
.page-template-about .combine-sec {
  container-type: inline-size;
}

.page-template-about .our-team-about .section-header {
  padding-left: max(0px, calc(14cqw + 32px - (100cqw - 100%) / 2));
}

/* the pattern is hidden in this range (responsive.css) */
@media (min-width: 768px) and (max-width: 991px) {
  .page-template-about .our-team-about .section-header {
    padding-left: 0;
  }
}
.page-template-about section.about-bannner .site-video video {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.page-template-about section.about-bannner .site-video::after {
  background:
    linear-gradient(90deg, rgba(114, 82, 63, .42), rgba(114, 82, 63, .42)),
    linear-gradient(90deg, rgba(27, 22, 20, .5), rgba(27, 22, 20, .5));
}

.page-template-about section.about-bannner .hero-content {
  position: relative !important;
  z-index: 2;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  padding: 88px 24px 56px max(24px, calc(50% - 610px));
}

.page-template-about section.about-bannner .hero-item {
  display: block;
  width: 100%;
  max-width: 724px;
  height: auto;
  padding: 0;
}

.page-template-about section.about-bannner .hero-item p {
  max-width: none;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  color: #fff;
}

.page-template-about section.about-bannner .hero-item p + p {
  margin-top: 16px;
}

.page-template-about section.about-bannner .hero-item p.small-head {
  margin: 0 0 12px;
  font-weight: 700;
}

.page-template-about section.about-bannner .hero-item h1 {
  max-width: none;
  margin: 0 0 12px !important;
  font-size: 48px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -1.5px;
  color: #fff;
  width: max-content;
  white-space: nowrap;
}

@media (max-width: 1320px) {
  .page-template-about section.about-bannner {
    min-height: 680px;
  }

  .page-template-about section.about-bannner .hero-content {
    padding-inline: 24px;
  }

  .page-template-about section.about-bannner .hero-item {
    margin-inline: auto;
    max-width: 764px;
  }

  .page-template-about section.about-bannner .hero-item h1 {
    font-size: 40px;
  }
}

@media (max-width: 800px) {
  /* same mobile wordmark + right strip as the redesign .rhero/.feat instead of the full about-1.svg pattern */
  .page-template-about section.about-bannner .hero-pattern-logo {
    display: none;
  }

  .page-template-about section.about-bannner::before,
  .page-template-about section.about-bannner::after {
    content: "";
    position: absolute;
    z-index: 1;
    pointer-events: none;
  }

  .page-template-about section.about-bannner::before {
    top: 0;
    right: 8px;
    bottom: 0;
    width: calc(100% * 0.0428);
    background: #823d40;
  }

  .page-template-about section.about-bannner::after {
    top: 100%;
    left: -28px;
    width: 105%;
    aspect-ratio: 2050.93 / 2289.55;
    background: url(assets/wordmark-ulevard.svg) no-repeat center / contain;
    transform: translateY(-59%);
  }

  /* the wordmark's "l" stem (17.25–21.53% of its width) drops into the Our Team header; start the copy 16px right of it, as .feat does */
  .page-template-about section.our-team-about .section-header {
    padding-left: calc(-28px + 105cqw * 0.2153 + 16px - (100cqw - 100%) / 2);
  }

  .page-template-about section.about-bannner .hero-content {
    padding: 36px 24px 120px 15px;
  }

  .page-template-about section.about-bannner .hero-item {
    margin-inline: 0;
    max-width: 480px;
  }

  .page-template-about section.about-bannner .hero-item h1 {
    width: 100%;
    white-space: normal;
    margin-bottom: 14px !important;
    font-size: 32px;
    line-height: 1.15;
    letter-spacing: -1px;
  }

  .page-template-about section.about-bannner .hero-item p {
    font-size: 15px;
    line-height: 1.45;
  }
}