/* Header and footer, ported from the Elementor Theme Builder templates. Tokens come from base.css */

.cfoeu-hdr,.cfoeu-hdr *{margin:0;padding:0;box-sizing:border-box;}
.cfoeu-hdr{
  --navy:#0B1B3A;--deep:#06122A;--cream:#F7F4ED;--brass:#C6923A;--brass-soft:#E0B25C;--steel:#4E7CA8;--steel-soft:#7FA8CE;
  font-family:'Satoshi',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  position:fixed;top:0;left:0;right:0;width:100%;z-index:1000;
  -webkit-font-smoothing:antialiased;
}
.cfoeu-hdr a{text-decoration:none;color:inherit;}
.cfoeu-hdr button{font-family:inherit;cursor:pointer;background:none;border:none;color:inherit;}

/* BAR: logo | menu (center) | cta/pill (right */
.cfoeu-hdr__bar{
  position:relative;z-index:2;
  display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:24px;
  height:clamp(60px,8vw,80px);
  padding:0 clamp(28px,6vw,96px);
  background:transparent;
  border-bottom:1px solid transparent;
  transition:background .3s ease,border-color .3s ease,box-shadow .3s ease;
}
.cfoeu-hdr.is-scrolled .cfoeu-hdr__bar{
  background:rgba(6,18,42,.86);
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
  border-bottom-color:rgba(247,244,237,.14);
  box-shadow:0 10px 40px rgba(6,18,42,.4);
}

.cfoeu-hdr__logo{justify-self:start;display:flex;align-items:center;color:var(--cream);}
.cfoeu-hdr__logo img{height:clamp(38px,4.4vw,56px);width:auto;display:block;}

/* DESKTOP NAV (center */
.cfoeu-hdr__nav{justify-self:center;display:flex;align-items:center;gap:clamp(18px,2.2vw,38px);}
.cfoeu-hdr__link{
  position:relative;font-family:'IBM Plex Mono',ui-monospace,monospace;font-size:clamp(12px,.9vw,15px);font-weight:600;
  letter-spacing:.1em;text-transform:uppercase;
  padding:6px 0;transition:color .18s ease;white-space:nowrap;
}
.cfoeu-hdr__link::after{
  content:"";position:absolute;left:0;bottom:0;height:2px;width:100%;
  background:var(--brass-soft);transform:scaleX(0);transform-origin:left;transition:transform .22s ease;
}
.cfoeu-hdr__link:hover::after,.cfoeu-hdr__link[aria-current="page"]::after{transform:scaleX(1);}

/* RIGHT ZONE */
.cfoeu-hdr__right{justify-self:end;display:flex;align-items:center;gap:14px;}
.cfoeu-hdr__cta{
  display:inline-flex;align-items:center;justify-content:center;
  background:var(--brass);border:1px solid var(--brass);
  padding:12px 22px;font-family:'Satoshi',sans-serif;font-size:13px;font-weight:800;
  letter-spacing:.05em;text-transform:uppercase;
  border-radius:10px;transition:.2s ease;white-space:nowrap;
}
.cfoeu-hdr__cta:hover{background:var(--brass-soft);border-color:var(--brass-soft);transform:translateY(-2px);}

/* MOBILE "MENU" PILL */
.cfoeu-hdr__pill{
  display:none;align-items:center;justify-content:center;gap:10px;
  min-height:40px;padding:10px 16px;border-radius:999px;
  border:1px solid rgba(247,244,237,.32);
  background:rgba(247,244,237,.08);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  font-family:'IBM Plex Mono',ui-monospace,monospace;font-size:11px;font-weight:600;
  letter-spacing:.14em;text-transform:uppercase;
  white-space:nowrap;-webkit-tap-highlight-color:transparent;transition:.18s ease;
}
.cfoeu-hdr__pill:hover{background:rgba(247,244,237,.16);}
.cfoeu-hdr__pill i{
  width:14px;height:14px;display:inline-block;
  background:
    radial-gradient(circle,var(--brass-soft) 56%,transparent 60%) 0 0/7px 7px,
    radial-gradient(circle,var(--brass-soft) 56%,transparent 60%) 7px 0/7px 7px,
    radial-gradient(circle,var(--steel-soft) 56%,transparent 60%) 0 7px/7px 7px,
    radial-gradient(circle,var(--steel-soft) 56%,transparent 60%) 7px 7px/7px 7px;
  background-repeat:no-repeat;
}

/* OVERLAY MENU */
.cfoeu-hdr__ov{
  position:fixed;inset:0;z-index:1001;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;
  background:
    radial-gradient(circle at 84% 12%,rgba(198,146,58,.22),transparent 42%),
    radial-gradient(circle at 10% 90%,rgba(78,124,168,.22),transparent 42%),
    linear-gradient(180deg,#0B1B3A 0%,#06122A 100%);
  opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-8px);
  transition:opacity .26s ease,visibility 0s linear .26s,transform .26s ease;
}
.cfoeu-hdr.is-open .cfoeu-hdr__ov{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0);transition-delay:0s;}
.cfoeu-hdr__panel{min-height:100vh;min-height:100svh;padding:22px 22px 26px;display:flex;flex-direction:column;}
.cfoeu-hdr__ptop{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:clamp(34px,7vh,64px);}
.cfoeu-hdr__kick{max-width:220px;font-family:'IBM Plex Mono',ui-monospace,monospace;font-size:10px;line-height:1.5;
  font-weight:600;letter-spacing:.14em;text-transform:uppercase;}
.cfoeu-hdr .cfoeu-hdr__ov .cfoeu-hdr__kick{color:rgba(247,244,237,.6);}
.cfoeu-hdr__close{
  width:44px;height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center;
  border:1px solid rgba(247,244,237,.24);border-radius:999px;background:rgba(247,244,237,.08);
  font-size:26px;line-height:0;font-weight:300;-webkit-tap-highlight-color:transparent;transition:.18s ease;
}
.cfoeu-hdr__close:hover{background:rgba(247,244,237,.18);}
.cfoeu-hdr__onav{display:flex;flex-direction:column;gap:2px;}
.cfoeu-hdr__onav a{
  display:grid;grid-template-columns:34px 1fr;align-items:baseline;gap:14px;
  padding:16px 0;border-bottom:1px solid rgba(247,244,237,.14);
  transition:padding-left .22s ease,color .18s ease;
}
.cfoeu-hdr__onav a em{font-style:normal;font-family:'IBM Plex Mono',ui-monospace,monospace;font-size:11px;
  font-weight:600;letter-spacing:.1em;}
.cfoeu-hdr .cfoeu-hdr__onav a em{color:rgba(247,244,237,.4);}
.cfoeu-hdr__onav a span{font-family:'Satoshi',sans-serif;font-size:clamp(30px,9vw,40px);line-height:1;
  font-weight:900;letter-spacing:-.045em;}
.cfoeu-hdr__onav a:hover{padding-left:8px;}
.cfoeu-hdr .cfoeu-hdr__onav a:hover,
.cfoeu-hdr .cfoeu-hdr__onav a:hover span{color:var(--brass-soft);}
.cfoeu-hdr__ofoot{margin-top:auto;padding-top:26px;display:flex;justify-content:space-between;gap:16px;
  font-family:'IBM Plex Mono',ui-monospace,monospace;font-size:11px;line-height:1.3;
  font-weight:600;letter-spacing:.1em;text-transform:uppercase;}
.cfoeu-hdr .cfoeu-hdr__ofoot,
.cfoeu-hdr .cfoeu-hdr__ofoot span{color:rgba(247,244,237,.6);}

/* RESPONSIVE SWITCH */
@media(max-width:880px){
  .cfoeu-hdr__bar{grid-template-columns:minmax(0,1fr) auto;gap:16px;padding:0 14px;}
  .cfoeu-hdr__panel{padding:22px 14px 26px;}
  .cfoeu-hdr__logo{min-width:0;}
  .cfoeu-hdr__logo img{width:clamp(170px,calc(100vw - 154px),230px);height:auto;max-height:36px;}
  .cfoeu-hdr__nav{display:none;}
  .cfoeu-hdr__right .cfoeu-btn{display:none;}
  .cfoeu-hdr__pill{display:inline-flex;}
}
@media(prefers-reduced-motion:reduce){.cfoeu-hdr *{transition:none;}}

.cfoeu-ftr,.cfoeu-ftr *{margin:0;padding:0;box-sizing:border-box;}
.cfoeu-ftr{
  --navy:#0B1B3A;--deep:#06122A;--cream:#F7F4ED;--brass:#C6923A;--brass-soft:#E0B25C;--steel:#4E7CA8;--steel-soft:#7FA8CE;
  background:#0B1B3A;
  font-family:'Satoshi',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
  position:relative;overflow:hidden;
}
.cfoeu-ftr a{text-decoration:none;color:inherit;}

.cfoeu-ftr__ghost{
  position:absolute;right:clamp(-40px,-2vw,-10px);bottom:clamp(-60px,-5vw,-20px);
  font-family:'Satoshi',sans-serif;font-weight:900;font-size:clamp(120px,20vw,320px);
  letter-spacing:-.08em;line-height:.8;color:rgba(247,244,237,.055);
  pointer-events:none;user-select:none;z-index:0;
}

.cfoeu-ftr__wrap{position:relative;z-index:1;padding:clamp(64px,7vw,120px) clamp(28px,6vw,96px) clamp(32px,4vw,48px);}

.cfoeu-ftr__top{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:clamp(40px,5vw,64px);}

.cfoeu-ftr__brand{display:flex;flex-direction:column;gap:18px;}
.cfoeu-ftr__meta{font-family:'IBM Plex Mono',ui-monospace,monospace;font-size:clamp(11px,.85vw,13px);
  line-height:1.9;letter-spacing:.08em;text-transform:uppercase;color:rgba(247,244,237,.6);}
.cfoeu-ftr__kick{font-family:'IBM Plex Mono',ui-monospace,monospace;font-size:clamp(11px,.85vw,13px);
  letter-spacing:.2em;text-transform:uppercase;font-weight:600;color:var(--brass-soft);display:block;margin-bottom:18px;}
.cfoeu-ftr__logo{display:block;margin-top:4px;}
.cfoeu-ftr__logo img{height:clamp(28px,2.8vw,36px);width:auto;display:block;}
.cfoeu-ftr__tag{font-size:clamp(14px,1vw,16px);line-height:1.65;color:rgba(247,244,237,.66);max-width:30ch;}
.cfoeu-ftr__social{display:flex;gap:10px;margin-top:4px;}
.cfoeu-ftr__social a{
  width:38px;height:38px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;
  border:1px solid rgba(247,244,237,.16);background:rgba(247,244,237,.05);
  transition:background .2s ease,border-color .2s ease,transform .2s ease;
}
.cfoeu-ftr__social a svg{width:16px;height:16px;fill:var(--cream);transition:fill .2s ease;}
.cfoeu-ftr__social a:hover{background:var(--brass);border-color:var(--brass);transform:translateY(-2px);}
.cfoeu-ftr__social a:hover svg{fill:var(--deep);}

.cfoeu-ftr__col nav{display:flex;flex-direction:column;}
.cfoeu-ftr__col nav a,.cfoeu-ftr__col address p,.cfoeu-ftr__col address a,.cfoeu-ftr__col>div{
  display:block;font-style:normal;font-family:'IBM Plex Mono',ui-monospace,monospace;
  font-size:clamp(13px,.95vw,15px);line-height:2;letter-spacing:-.01em;color:rgba(247,244,237,.72);
  transition:color .18s ease;
}
.cfoeu-ftr__col nav a:hover,.cfoeu-ftr__col address a:hover,.cfoeu-ftr__col>div a:hover{color:var(--brass-soft);}
.cfoeu-ftr__col address{display:block;}
.cfoeu-ftr__col>div span{color:rgba(247,244,237,.48);}
.cfoeu-ftr__col>div a{display:inline;color:rgba(247,244,237,.72);}

.cfoeu-ftr__bottom{
  display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px;
  margin-top:clamp(48px,6vw,80px);padding-top:clamp(22px,3vw,32px);
  border-top:1px solid rgba(247,244,237,.14);
  position:relative;z-index:1;
}
.cfoeu-ftr__bottom p{font-size:clamp(12px,.8vw,14px);line-height:1.5;color:rgba(247,244,237,.48);letter-spacing:-.01em;}

@media(max-width:880px){
  .cfoeu-ftr__top{grid-template-columns:1fr 1fr;gap:40px 32px;}
  .cfoeu-ftr__brand{grid-column:1 / -1;}
  .cfoeu-ftr__bottom{flex-direction:column;align-items:flex-start;gap:8px;}
}
@media(max-width:520px){
  .cfoeu-ftr__top{grid-template-columns:1fr;}
  .cfoeu-ftr__brand{grid-column:auto;}
}
@media(prefers-reduced-motion:reduce){.cfoeu-ftr *{transition:none;}}

/* additions for the WordPress theme */
.cfoeu-hdr{color:var(--cream)}
.cfoeu-hdr__link,.cfoeu-hdr__onav a{color:var(--cream)}
.cfoeu-hdr__close,.cfoeu-hdr__pill{color:var(--cream)}
.cfoeu-hdr .cfoeu-btn{color:var(--deep)}
.cfoeu-ftr{color:var(--cream)}
.cfoeu-hdr__ov .cfoeu-btn{margin-top:26px;align-self:flex-start}
.cfoeu-hdr--solid .cfoeu-hdr__bar{background:rgba(6,18,42,.96);border-bottom-color:rgba(247,244,237,.14)}
