/* Jayco Joinery: header-footer */
body.nav-open {
  overflow: hidden;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  transition: background-color 250ms ease, box-shadow 250ms ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 86px;
}

.brand {
  flex-shrink: 0;
}

.brand-logo {
  width: auto;
  height: 50px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 23px;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 0;
  color: rgb(255 255 255 / 90%);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
}

.nav-link:hover {
  color: #e6bd8f;
}

.phone-pill {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 8px;
  padding: 11px 15px;
  border: 1px solid var(--gold);
  border-radius: 3px;
  color: #c7a075;
  font-size: 12px;
  white-space: nowrap;
  transition: background-color 200ms ease, color 200ms ease;
}

.phone-pill .icon {
  width: 15px;
  height: 15px;
}

.phone-pill:hover {
  background: var(--gold);
  color: #fff;
}

.site-header.scrolled {
  position: fixed;
  background: #191510;
  box-shadow: 0 5px 24px rgb(0 0 0 / 25%);
}

.site-header.scrolled .header-inner {
  height: 70px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 6px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: #fff;
  transition: transform 250ms ease, opacity 250ms ease;
}

.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 290;
  display: none;
  background: rgb(9 7 5 / 68%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 280ms ease, visibility 280ms ease;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 300;
  display: none;
  flex-direction: column;
  width: min(340px, 86vw);
  height: 100vh;
  height: 100dvh;
  padding: 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #191510;
  box-shadow: -15px 0 50px rgb(0 0 0 / 35%);
  visibility: hidden;
  transform: translateX(100%);
  transition: transform 360ms var(--ease), visibility 360ms ease;
}

.nav-open .nav-overlay {
  opacity: 1;
  visibility: visible;
}

.nav-open .mobile-nav {
  visibility: visible;
  transform: translateX(0);
}

.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 26px;
}

.mobile-nav-logo {
  width: auto;
  max-width: 165px;
  height: 40px;
  object-fit: contain;
}

.mobile-nav-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgb(255 255 255 / 25%);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 26px;
}

.mobile-nav-list > li {
  border-bottom: 1px solid rgb(255 255 255 / 10%);
}

.mobile-nav-list > li > a {
  display: block;
  padding: 14px 0;
  font-size: 13px;
}

.mobile-nav-list .active {
  color: var(--gold-light);
}

.mobile-nav-list .active::after {
  display: none;
}

.mobile-nav-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 26px;
  padding: 14px;
  border-radius: 3px;
  background: var(--gold);
  color: #fff;
  font-size: 13px;
}

.mobile-nav-phone .icon {
  width: 17px;
  height: 17px;
}

.site-footer {
  background-color: #11100d;
  background-image:
    linear-gradient(rgb(8 8 6 / 72%), rgb(8 8 6 / 80%)),
    var(--wood-texture);
  background-size: cover;
  background-position: center;
  color: #dfd9cf;
}

.footer-main {
  padding: 60px 0 46px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr) minmax(0, 1fr);
  gap: 40px;
}

.footer-brand {
  display: inline-block;
}

.footer-brand img {
  width: 180px;
  height: auto;
}

.footer-description {
  max-width: 30ch;
  margin-top: 20px;
  color: #aaa194;
  font-size: 12px;
  line-height: 1.85;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.footer-social {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1.2px solid #9e7548;
  border-radius: 50%;
  color: #e4c49b;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer-social-google {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.footer-social-google span {
  transform: translateY(-.5px);
}

.footer-social:hover {
  transform: translateY(-2px);
  border-color: #b88d5f;
  background: rgb(171 129 78 / 13%);
}

.footer-call-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 21px;
  padding: 10px 15px;
  border: 1px solid #725335;
  border-radius: 3px;
  color: #e4c49b;
  font-size: 12px;
  transition: background-color 250ms ease, border-color 250ms ease;
}

.footer-call-button > .icon {
  width: 16px;
  height: 16px;
}

.footer-call-button > .icon:last-child {
  margin-left: 6px;
}

.footer-call-button:hover {
  border-color: #b88d5f;
  background: rgb(171 129 78 / 13%);
}

.footer-small-note {
  margin-top: 10px;
  color: #928777;
  font-size: 10px;
}

.footer-navigation {
  display: grid;
  grid-template-columns: .85fr 1.1fr 1fr;
  gap: 25px;
}

.footer-group-heading,
.footer-contact > h2 {
  margin-bottom: 21px;
  color: #f2e9dc;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.footer-accordion-button {
  display: none;
}

.footer-links {
  display: grid;
  gap: 12px;
}

.footer-links li,
.footer-links a {
  color: #b7ad9f;
  font-size: 11px;
  line-height: 1.5;
}

.footer-links a {
  display: inline-block;
  transition: color 200ms ease, transform 250ms var(--ease);
}

.footer-links a:hover {
  color: #e5bb87;
  transform: translateX(3px);
}

.footer-contact address {
  display: grid;
  gap: 20px;
  font-style: normal;
}

.footer-contact address > a,
.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 11px;
}

.footer-contact-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 35px;
  height: 35px;
  border: 1px solid rgb(162 123 76 / 30%);
  border-radius: 50%;
  color: #c49a69;
}

.footer-contact-icon .icon {
  width: 16px;
  height: 16px;
}

.footer-contact small,
.footer-contact strong {
  display: block;
}

.footer-contact small {
  margin-bottom: 3px;
  color: #928777;
  font-size: 9px;
}

.footer-contact strong {
  color: #ddd4c6;
  font-size: 12px;
  font-weight: 400;
}

.footer-licence {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 23px;
  padding: 13px 10px;
  border: 1px solid rgb(171 129 78 / 35%);
  border-radius: 3px;
}

.footer-licence > .icon {
  width: 23px;
  height: 23px;
  color: #c39868;
}

.footer-licence p {
  color: #d4c6b4;
  font-size: 9px;
  line-height: 1.7;
}

.footer-licence p span {
  color: #9c8e7b;
  font-size: 8px;
}

.footer-bottom {
  border-top: 1px solid rgb(169 126 72 / 27%);
  background: rgb(0 0 0 / 15%);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding-block: 18px;
}

.footer-bottom p,
.footer-legal {
  color: #9e9180;
  font-size: 10px;
  line-height: 1.8;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-left: auto;
}

.footer-mobile-break {
  display: none;
}

.footer-mobile-cta {
  display: none;
}

.back-to-top {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border: 1px solid #715131;
  border-radius: 50%;
  color: #c19a6c;
  transition: background-color 250ms ease, transform 250ms ease;
}

.back-to-top .icon {
  width: 17px;
  height: 17px;
}

.back-to-top:hover {
  background: rgb(150 112 76 / 16%);
  transform: translateY(-3px);
}

@media (min-width: 1101px) and (max-width: 1250px) {
.nav-list { gap: 15px; }

.nav-link { font-size: 10.5px; }

.phone-pill { padding-inline: 11px; }
}

@media (max-width: 1100px) {
.main-nav { display: none; }

.menu-toggle,
.mobile-nav { display: flex; }

.nav-overlay { display: block; }

.phone-pill { margin-left: auto; }

.footer-grid {
    grid-template-columns: 1fr 2fr;
    gap: 35px;
  }

.footer-contact {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: .6fr 1.5fr 1fr;
    align-items: center;
    gap: 24px;
    padding-top: 25px;
    border-top: 1px solid rgb(169 126 72 / 20%);
  }

.footer-contact > h2 { margin: 0; }

.footer-contact address { grid-template-columns: 1fr 1fr; }

.footer-licence { margin: 0; }
}

@media (max-width: 640px) {
.header-inner { height: 76px; gap: 0; }

.site-header.scrolled .header-inner { height: 66px; }

.brand-logo {
    max-width: 120px;
    height: 38px;
    object-fit: contain;
  }

.phone-pill { gap: 6px; padding: 9px 10px; font-size: 11px; }

.menu-toggle { margin-left: 6px; }
}

@media (max-width: 360px) {
.brand-logo { max-width: 98px; height: 34px; }

.phone-pill { padding-inline: 7px; font-size: 10px; }

.phone-pill .icon { width: 13px; height: 13px; }

.menu-toggle { width: 36px; margin-left: 2px; }

.footer-contact address {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
.site-footer {
    background: #100e0b;
    color: #dfd5c8;
    overflow: hidden;
  }

.footer-main {
    position: relative;
    padding: 0 0 18px;
    background: #14100b;
    overflow: hidden;
  }

.footer-main::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 183px;
    background:
      linear-gradient(180deg, rgb(8 7 5 / 38%), rgb(8 7 5 / 67%)),
      var(--footer-mobile-main);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    pointer-events: none;
  }

.footer-grid {
    position: relative;
    z-index: 1;
    display: block;
    width: calc(100% - 32px);
    max-width: none;
  }

.footer-brand-column {
    height: 183px;
    padding-top: 18px;
    border-bottom: 1px solid rgb(178 138 86 / 35%);
    text-align: center;
  }

.footer-brand img {
    width: 180px;
    height: auto;
    margin-inline: auto;
  }

.footer-description {
    max-width: 340px;
    margin: 9px auto 0;
    color: #ded7ce;
    font-size: 12px;
    line-height: 1.45;
  }

.footer-brand-break {
    display: block;
  }

.footer-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 13px;
  }

.footer-social {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1.2px solid #d9a86d;
    border-radius: 50%;
    color: #f3f0eb;
    transition: transform 180ms ease, background-color 180ms ease;
  }

.footer-social svg {
    width: 20px;
    height: 20px;
  }

.footer-social-google {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 700;
  }

.footer-social-google span {
    transform: translateY(-.5px);
  }

.footer-social:hover {
    transform: translateY(-2px);
    background: rgb(214 166 105 / 10%);
  }

.footer-call-button,
.footer-small-note {
    display: none;
  }

.footer-navigation {
    display: block;
    margin-top: 0;
    border-top: 0;
  }

.footer-group {
    border-bottom: 1px solid rgb(178 138 86 / 27%);
  }

.footer-group-heading {
    margin: 0;
    padding: 0;
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: .10em;
  }

.footer-enhanced .footer-heading-static {
    display: none;
  }

.footer-enhanced .footer-accordion-button,
.footer-accordion-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 57px;
    padding: 18px 0;
    border: 0;
    background: transparent;
    color: #e8ddce;
    text-align: left;
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: .10em;
    text-transform: uppercase;
  }

.footer-accordion-button .icon {
    width: 16px;
    height: 16px;
    color: #b78c59;
    transition: transform 320ms var(--ease);
  }

.footer-accordion-button[aria-expanded="true"] .icon {
    transform: rotate(180deg);
  }

.footer-enhanced .footer-panel,
.footer-panel {
    display: grid;
    grid-template-rows: 0fr;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition:
      grid-template-rows 340ms var(--ease),
      opacity 240ms ease,
      visibility 340ms ease;
  }

.footer-enhanced .footer-group.is-open .footer-panel {
    grid-template-rows: 1fr;
    opacity: 1;
    visibility: visible;
  }

.footer-panel-inner {
    min-height: 0;
    overflow: hidden;
  }

.footer-panel-inner > * {
    padding-bottom: 17px;
  }

.footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
    row-gap: 2px;
  }

.footer-links a {
    display: block;
    min-height: 40px;
    padding-block: 9px;
    font-size: 14px;
    line-height: 1.65;
  }

.footer-area-list li {
    padding-block: 9px;
    color: #bdb09f;
    font-size: 14px;
    line-height: 1.65;
  }

.footer-contact {
    display: block;
    margin-top: 15px;
    padding-top: 0;
    border-top: 0;
  }

.footer-contact > h2 {
    margin: 0 0 20px;
    color: #e9d9c1;
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: .10em;
    text-transform: uppercase;
  }

.footer-contact address {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    font-style: normal;
  }

.footer-contact address > a,
.footer-contact-row {
    align-items: flex-start;
    gap: 9px;
    min-height: 48px;
  }

.footer-contact-icon {
    width: 32px;
    height: 32px;
    border-color: rgb(162 123 76 / 30%);
    color: #c49a69;
  }

.footer-contact-icon .icon {
    width: 14px;
    height: 14px;
  }

.footer-contact small {
    margin-bottom: 3px;
    color: #a9967e;
    font-size: 12px;
  }

.footer-contact strong {
    color: #e5d5bc;
    font-size: 11px;
    font-weight: 400;
  }

.footer-licence {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
    align-items: center;
    gap: 0;
    width: 100%;
    margin-top: 17px;
    padding: 10px 14px;
    border: 1px solid rgb(174 132 77 / 40%);
    border-radius: 4px;
    background: rgb(0 0 0 / 14%);
  }

.footer-licence-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 0;
  }

.footer-licence-icon {
    width: 27px;
    height: 27px;
    flex: 0 0 auto;
    color: #dba263;
  }

.footer-licence-item p {
    min-width: 0;
    color: #d4c6b4;
    font-size: 9px;
    line-height: 1.55;
  }

.footer-licence-item p strong,
.footer-licence-item p span {
    display: block;
  }

.footer-licence-item p strong {
    color: #d9d0c5;
    font-size: 10px;
    font-weight: 400;
  }

.footer-licence-item p span {
    color: #f0e8de;
    font-size: 10px;
  }

.footer-licence-item:last-child p span {
    color: #9c8e7b;
    font-size: 8px;
  }

.footer-licence-divider {
    width: 1px;
    height: 30px;
    background: rgb(190 157 119 / 28%);
  }

.footer-mobile-cta {
    position: relative;
    display: block;
    min-height: 101px;
    margin-top: 9px;
    overflow: hidden;
    border: 1px solid rgb(171 129 78 / 60%);
    border-radius: 4px;
    background:
      linear-gradient(90deg, rgb(11 9 7 / 38%), rgb(11 9 7 / 5%) 70%),
      var(--footer-mobile-bottom);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
  }

.footer-mobile-cta-content {
    position: relative;
    z-index: 1;
    width: 50%;
    padding: 11px 0 9px 17px;
  }

.footer-cta-eyebrow {
    display: block;
    color: #d9a16c;
    font-family: var(--sans);
    font-size: 7px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: .25em;
  }

.footer-mobile-cta h2 {
    margin-top: 3px;
    color: #e8bd91;
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 500;
    line-height: 1.05;
    text-transform: uppercase;
    white-space: nowrap;
  }

.footer-mobile-cta p {
    margin-top: 5px;
    color: #f1eee9;
    font-size: 9px;
    line-height: 1.45;
  }

.footer-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 110px;
    min-height: 25px;
    margin-top: 7px;
    padding: 5px 9px;
    border-radius: 3px;
    background: #c28e5c;
    color: #fff;
    font-family: var(--sans);
    font-size: 7px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

.footer-cta-button .icon {
    width: 12px;
    height: 12px;
  }

.footer-bottom {
    min-height: 67px;
    border-top: 1px solid rgb(183 138 77 / 32%);
    background: #100e0b;
    background-image: none;
  }

.footer-bottom-inner {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 67px;
    padding: 12px 0;
  }

.footer-bottom p {
    color: #c1b7aa;
    font-size: 8px;
    line-height: 1.6;
    white-space: nowrap;
  }

.footer-mobile-break {
    display: none;
  }

.footer-legal {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin: 0;
    color: #c1b7aa;
    font-size: 8px;
    line-height: 1.6;
    white-space: nowrap;
  }

.footer-legal i {
    width: 1px;
    height: 12px;
    background: #7c654d;
  }

.back-to-top {
    display: none;
  }
}

@media (max-width: 360px) {
.footer-socials { gap: 17px; }

.footer-licence { padding-inline: 8px; }

.footer-licence-item { gap: 7px; }

.footer-mobile-cta-content { width: 55%; padding-left: 13px; }

.footer-mobile-cta h2 { font-size: 21px; }

.footer-bottom p,
.footer-legal { font-size: 7px; }
}


/* Measured mobile footer: 734px reference scaled to the viewport. */
@media(max-width:767px){
 .site-footer{--footer-mobile-main:url('../assets/footer-mobile-bottom.png');--footer-mobile-bottom:url('../assets/footer-mobile-bg.png')}
 .footer-brand{display:block;line-height:0}.footer-brand img{width:185px}
 .footer-description{font-size:14px;line-height:1.35;margin-top:9px}
 .footer-contact{margin-top:33px}.footer-contact small{font-size:10px}
 .footer-mobile-cta{min-height:0;height:auto;background-position:center;aspect-ratio:654/200}
 .footer-mobile-cta-content{width:55%;padding:11px 0 10px 16px}
 .footer-mobile-cta h2{font-size:21px}.footer-mobile-cta p{font-size:8px;margin-top:4px}
 .footer-cta-button{padding:7px 14px;font-size:7px;min-height:0;margin-top:7px}
 .footer-bottom{padding-block:0}.footer-bottom-inner{min-height:40px;padding-block:12px;border-top:1px solid rgb(174 132 77 / 40%)}
}
@media(max-width:767px){
 .footer-mobile-cta{background-color:#110e0a;background-image:linear-gradient(90deg,#110e0a 0%,#110e0a 32%,rgba(17,14,10,.7) 44%,transparent 67%),var(--footer-mobile-bottom);background-size:100% 100%,65% auto;background-position:center,right center;background-repeat:no-repeat}
 .footer-mobile-cta p{font-size:8px;line-height:1.3}
 .footer-cta-button{padding-block:6px}
 .footer-bottom{min-height:40px;border-top:0}
}
