/* Procetix shared header + footer (used by careers.html) */
:where(.site-nav,.mobile-menu,.site-footer) a{color:inherit;text-decoration:none}
:root{ --skytint:#CFE8F5; --card:#FBF6EA; --skynum:#1B7CAB; }
:root{
  --espresso:#3B2418; --forest:#283933; --brown:#B97A4B;
  --offwhite:#F4EBD9; --cream:#EADBBF; --yellow:#F2D95E; --grey:#E9DCC3;
  --ochre:#EDB12B; --sky:#2FA8DC; --skydeep:#2FA8DC; --paleblue:#9FD6EE;
  --ink:#2E1D13; --inksoft:#6A5646; --line:rgba(59,36,24,0.14);
}
/* ===== Nav ===== */
.site-nav{
  position:sticky; top:0; z-index:50; background:var(--offwhite);
  box-shadow:0 6px 18px rgba(59,36,24,0.06);
}
@media (min-width:781px){
  .site-nav{ background:rgba(244,235,217,0.92); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); }
}
.nav-inner{
  max-width:1120px; margin:0 auto; padding:18px 32px; display:flex; align-items:center; justify-content:space-between;
}
.nav-logo{ display:flex; align-items:center; gap:11px; font-family:'Fraunces', serif; font-size:21px; color:var(--forest); }
.nav-links{ display:flex; align-items:center; gap:34px; font-size:14px; font-weight:500; color:var(--inksoft); }
.nav-links a:hover{ color:var(--forest); }
.nav-links a.active{ color:var(--forest); font-weight:700; }
.nav-cta{ background:var(--ochre); color:var(--espresso); padding:10px 22px; border-radius:100px; font-size:13.5px; font-weight:600; }
.nav-toggle{ display:none; background:none; border:none; padding:6px; cursor:pointer; }
.nav-toggle span{ display:block; width:24px; height:2px; background:var(--forest); margin:5px 0; transition:transform .25s ease, opacity .25s ease; }
.nav-toggle.open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity:0; }
.nav-toggle.open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

.mobile-menu{ display:none; flex-direction:column; background:var(--offwhite); border-bottom:1px solid var(--line); padding:8px 22px 20px; }
.mobile-menu a{ padding:12px 0; font-size:15px; color:var(--inksoft); border-bottom:1px solid var(--line); }
.mobile-menu a:last-child{ border-bottom:none; }
.mobile-menu a.active{ color:var(--forest); font-weight:700; }
.mobile-menu.open{ display:flex; }

@media (max-width:780px){
  .nav-links{ display:none; }
  .nav-cta{ display:none; }
  .nav-toggle{ display:block; }
}
@media (min-width:781px){
  .mobile-menu{ display:none !important; }
}

/* ===== Footer ===== */
.site-footer{ background:var(--espresso); color:var(--offwhite); padding:64px 0 30px; }
.footer-top{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:40px; margin-bottom:40px; }
.footer-col h4{ color:var(--offwhite); font-size:13.5px; margin-bottom:14px; font-family:'Inter'; font-weight:600; }
.footer-col a{ display:block; color:rgba(244,235,217,0.75); font-size:14px; margin-bottom:8px; }
.footer-col a:hover{ color:var(--ochre); }
.footer-logo{ display:flex; align-items:center; gap:12px; font-family:'Fraunces', serif; font-size:24px; color:var(--offwhite); margin-bottom:14px; }
.footer-tag{ color:var(--paleblue); font-size:13.5px; max-width:32ch; }
.footer-bottom{ border-top:1px solid rgba(244,235,217,0.08); padding-top:22px; display:flex; justify-content:space-between; font-size:12px; color:rgba(244,235,217,0.55); flex-wrap:wrap; gap:10px; }

/* ===== Sticky nav shrink ===== */
.site-nav.scrolled .nav-inner{ padding:12px 32px; }
.site-nav{ transition:box-shadow .3s ease; }
.site-nav.scrolled{ box-shadow:0 2px 14px rgba(59,36,24,0.06); }

/* ===== Nav underline animation ===== */
.nav-links a{ position:relative; padding-bottom:4px; }
.nav-links a::after{
  content:''; position:absolute; left:0; bottom:0; width:0; height:2px; background:var(--skydeep);
  transition:width .25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after{ width:100%; }

.site-footer{ position:relative; }
.site-footer::before{ content:''; position:absolute; left:0; right:0; top:-90px; height:90px; background:linear-gradient(to bottom, rgba(59,36,24,0.000) 0.0%, rgba(59,36,24,0.074) 16.7%, rgba(59,36,24,0.259) 33.3%, rgba(59,36,24,0.500) 50.0%, rgba(59,36,24,0.741) 66.7%, rgba(59,36,24,0.926) 83.3%, rgba(59,36,24,1.000) 100.0%); pointer-events:none; }
/* ===== Logo lockup ===== */
.logo-mark{ display:block; width:auto; height:36px; flex:none; }
.logo-text{ line-height:1; white-space:nowrap; }
.logo-text b{ font-weight:600; }
.logo-text span{ font-weight:400; }
.nav-logo .logo-text b{ color:var(--forest); }
.nav-logo .logo-text span{ color:var(--skynum); }
.footer-logo .logo-mark{ height:40px; }
.footer-logo .logo-text b{ color:var(--offwhite); }
.footer-logo .logo-text span{ color:var(--paleblue); }
@media (max-width:480px){
  .nav-logo{ font-size:17px; gap:9px; }
  .nav-logo .logo-mark{ height:30px; }
}

.site-footer .wrap{ max-width:1120px; margin:0 auto; padding:0 32px; }
@media (max-width:780px){ .site-footer .wrap{ padding:0 22px; } }

/* one-by-one reveals (same behaviour as the rest of the site) */
.js .seq-item, .js .lr-item{
  opacity:0;
  transition:opacity .7s ease, translate .8s ease, transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.js .seq-item{ translate:0 28px; }
.js .lr-item{ translate:-56px 0; }
.js[data-dir="up"] .seq-item{ translate:0 -28px; }
.js[data-dir="up"] .lr-item{ translate:56px 0; }
.js .seq-item.active, .js .lr-item.active{
  opacity:1; translate:0 0;
  transition-delay:calc(var(--base,0s) + var(--i,0) * .3s), calc(var(--base,0s) + var(--i,0) * .3s), 0s, 0s, 0s;
}
@media (prefers-reduced-motion: reduce){
  .js .seq-item, .js .lr-item{ opacity:1 !important; translate:none !important; transition:none !important; }
}
