.footer{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  padding-top:84px;
  font-family:var(--body-font);
  background:
    radial-gradient(circle at 16% 12%,rgba(217,183,90,.16),transparent 30%),
    radial-gradient(circle at 90% 10%,rgba(255,255,255,.1),transparent 28%),
    linear-gradient(135deg,#070908 0%,#111817 48%,#060706 100%) !important;
  color:#fff;
}

.footer::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px);
  background-size:48px 48px;
  mask-image:linear-gradient(180deg,rgba(0,0,0,.85),transparent 86%);
}

.footer .container{
  max-width:1180px;
}

.footer-outer{
  gap:34px;
}

.footer-top{
  display:grid;
  grid-template-columns:minmax(280px,.82fr) minmax(360px,1fr);
  align-items:stretch;
  gap:22px;
}

.footer-brand-panel,
.footer-inner{
  border:1px solid rgba(255,255,255,.12);
  border-radius:8px;
  background:linear-gradient(145deg,rgba(255,255,255,.09),rgba(255,255,255,.035));
  box-shadow:0 24px 80px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.1);
  backdrop-filter:blur(16px);
}

.footer-brand-panel{
  min-height:100%;
  padding:28px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:34px;
}

.footer-brand-kicker{
  color:#fff;
  font-size:12px;
  font-weight:700;
  line-height:1.2;
  letter-spacing:.13em;
  text-transform:uppercase;
}

.footer-brand-title{
  margin-top:10px;
  color:#fff;
  font-size:30px;
  line-height:1.05;
}

.footer-brand-copy{
  max-width:430px;
  margin-top:16px;
  color:rgba(255,255,255,.68);
  font-size:15px;
  line-height:1.65;
}

.footer-contact-pill{
  width:max-content;
  max-width:100%;
  border:1px solid rgba(216,186,103,.5);
  border-radius:999px;
  padding:11px 16px;
  color:#fff;
  font-size:13px;
  font-weight:700;
  line-height:1;
  text-decoration:none;
  transition:background-color .25s ease,color .25s ease,transform .25s ease,border-color .25s ease;
}

.footer-contact-pill:hover{
  border-color:#fff;
  background:#fff;
  color:#090b0a;
  transform:translateY(-2px);
}

.footer-right{
  gap:16px;
}

.footer-inner{
  min-height:198px;
  padding:24px;
  gap:8px;
}

.footer-head{
  margin-bottom:10px !important;
  color:rgba(255,255,255,.48) !important;
  font-size:11px;
  font-weight:700;
  line-height:1.2;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.footer-link{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:8px;
  border-radius:999px;
  padding:8px 0;
  color:rgba(255,255,255,.78);
  font-size:15px;
  line-height:1.3;
  transition:color .25s ease,transform .25s ease;
}

.footer-link::after{
  content:"";
  position:absolute;
  left:0;
  right:auto;
  bottom:5px;
  width:0;
  height:1px;
  background:#fff;
  transition:width .25s ease;
}

.footer-link:hover{
  color:#fff;
  transform:translateX(4px);
}

.footer-link:hover::after{
  width:100%;
}

.footer-link img{
  width:24px;
  height:24px;
  padding-right:0 !important;
  filter:brightness(0) invert(1);
  opacity:.72;
  transition:opacity .25s ease,transform .25s ease;
}

.footer-link:hover img{
  opacity:1;
  transform:scale(1.08);
}

.footer-bottom{
  border-top:1px solid rgba(255,255,255,.12);
  padding-top:24px;
  padding-bottom:28px;
  color:rgba(255,255,255,.62) !important;
  font-size:13px;
  line-height:1.5;
}

.footer-bottom p{
  margin-bottom:0;
}

.footer-utility{
  color:rgba(255,255,255,.62);
}

.utility-link{
  color:#f0d889;
  font-weight:700;
  text-decoration:none;
  transition:color .25s ease;
}

.utility-link:hover{
  color:#fff;
}

@media (max-width:991px){
  .footer{
    padding-top:68px;
  }

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

  .footer-brand-panel{
    min-height:auto;
  }
}

@media (max-width:767px){
  .footer{
    padding-top:54px;
  }

  .footer-brand-panel{
    padding:22px;
    gap:26px;
  }

  .footer-brand-title{
    font-size:25px;
  }

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

  .footer-inner{
    min-height:auto;
    padding:21px;
  }

  .footer-bottom{
    align-items:flex-start;
    gap:12px;
    padding-top:22px;
    text-align:left;
  }
}

@media (max-width:479px){
  .footer{
    padding-top:44px;
  }

  .footer-outer{
    gap:24px;
  }

  .footer-brand-title{
    font-size:22px;
  }

  .footer-contact-pill{
    width:100%;
    text-align:center;
  }
}

/* Static editorial imagery replacing the former animated illustrations. */
.editorial-image-panel{
  position:relative;
  isolation:isolate;
  border-radius:8px;
  background:#172a32;
  overflow:hidden;
}

.editorial-image-panel .cover-image{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

.editorial-image-panel::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  border:1px solid rgba(255,255,255,.16);
  border-radius:inherit;
  box-shadow:inset 0 -80px 100px rgba(22,41,49,.12);
}

/* Footer using the requested red and khaki palette. */
.footer{
  position:relative;
  isolation:isolate;
  padding-top:0;
  background:#203b5c !important;
  color:#fff;
}

.footer::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  z-index:0;
  width:42%;
  height:auto;
  background:#4f778b;
  mask-image:none;
  pointer-events:none;
}

.footer::after{
  content:"";
  position:absolute;
  z-index:0;
  top:0;
  bottom:0;
  left:42%;
  width:1px;
  background:rgba(255,255,255,.28);
  pointer-events:none;
}

.footer .container{
  position:relative;
  z-index:1;
  max-width:1360px;
  padding-left:24px;
  padding-right:24px;
}

.footer-outer{
  gap:0;
}

.footer-top{
  grid-template-columns:minmax(360px,.92fr) minmax(520px,1.08fr);
  align-items:stretch;
  gap:0;
  min-height:430px;
}

.footer-brand-panel,
.footer-inner{
  border:0;
  border-radius:0;
  background:none;
  box-shadow:none;
  backdrop-filter:none;
}

.footer-brand-panel{
  min-height:100%;
  padding:72px 60px 58px 0;
  gap:42px;
}

.footer-logo{
  display:block;
  width:184px;
  height:auto;
  margin-bottom:34px;
  filter:brightness(0) invert(1);
}

.footer-brand-kicker{
  max-width:520px;
  color:rgba(255,255,255,.78);
  font-size:11px;
  line-height:1.4;
  letter-spacing:.12em;
}

.footer-brand-title{
  max-width:560px;
  margin-top:18px;
  color:#fff;
  font-size:clamp(34px,4.4vw,62px);
  line-height:.98;
  letter-spacing:0;
}

.footer-brand-copy{
  max-width:520px;
  margin-top:22px;
  color:rgba(255,255,255,.86);
  font-size:16px;
  line-height:1.6;
}

.footer-contact-pill{
  width:max-content;
  max-width:100%;
  border:1px solid rgba(255,255,255,.68);
  border-radius:8px;
  padding:14px 18px;
  background:rgba(255,255,255,.12);
  color:#fff;
  font-size:14px;
  font-weight:700;
}

.footer-contact-pill:hover{
  border-color:#fff;
  background:rgba(255,255,255,.2);
  color:#fff;
}

.footer-right{
  height:100%;
  grid-template-rows:1fr;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:64px;
  border-radius:0;
  padding:76px 0 58px 76px;
  background:transparent;
}

.footer-inner{
  min-height:0;
  padding:0;
  gap:7px;
}

.footer-head{
  margin-bottom:18px !important;
  color:rgba(255,255,255,.72) !important;
  font-size:12px;
}

.footer-link{
  border-radius:0;
  padding:9px 0;
  color:rgba(255,255,255,.9);
  font-size:16px;
}

.footer-link::after{
  bottom:6px;
  background:#fff;
}

.footer-link:hover{
  color:#fff;
}

.footer-link img{
  filter:none;
  opacity:.86;
}

.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  border-top:1px solid rgba(255,255,255,.26);
  padding-top:26px;
  padding-bottom:32px;
  color:rgba(255,255,255,.82) !important;
}

.footer-utility{
  color:rgba(255,255,255,.82);
}

@media (max-width:991px){
  .footer{
    padding-top:0;
  }

  .footer::before{
    inset:0 0 auto;
    width:100%;
    height:46%;
  }

  .footer::after{
    display:none;
  }

  .footer-top{
    grid-template-columns:1fr;
    min-height:0;
  }

  .footer-brand-panel{
    padding:60px 0 52px;
  }

  .footer-right{
    min-height:0;
    padding:52px 0 44px;
  }
}

@media (max-width:767px){
  .footer{
    padding-top:0;
  }

  .footer-outer{
    gap:0;
  }

  .footer .container{
    padding-left:18px;
    padding-right:18px;
  }

  .footer-brand-panel{
    padding:46px 0 42px;
  }

  .footer-brand-title{
    font-size:36px;
  }

  .footer-right{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:24px;
    min-height:0;
    padding:42px 0 34px;
  }

  .footer-bottom{
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
    padding-top:22px;
    text-align:left;
  }
}

@media (max-width:479px){
  .footer{
    padding-top:0;
  }

  .footer-logo{
    width:168px;
    margin-bottom:26px;
  }

  .footer-brand-panel{
    gap:30px;
  }

  .footer-right{
    grid-template-columns:1fr;
    gap:30px;
    padding:38px 0 32px;
  }
}
