:root{
  --navy-deep:#0B1F3F;
  --navy:#12335F;
  --navy-light:#1E4A85;
  --amber:#E8A33D;
  --amber-light:#F4C065;
  --bg:#F7F8FA;
  --white:#FFFFFF;
  --text:#1A1A1A;
  --text-muted:#5A6472;
  --border:#E3E7ED;
  --max-w:1160px;
}

*{box-sizing:border-box;margin:0;padding:0;}

html{scroll-behavior:smooth;}

.reveal{
  opacity:0;
  transform:translateY(28px);
  transition:opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view{
  opacity:1;
  transform:translateY(0);
}
@media (prefers-reduced-motion: reduce){
  .reveal{opacity:1;transform:none;transition:none;}
}

body{
  font-family:'Inter',sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3,h4{
  font-family:'Space Grotesk',sans-serif;
  color:var(--navy-deep);
  line-height:1.15;
  letter-spacing:-0.01em;
}

a{color:inherit;text-decoration:none;}
ul{list-style:none;}
img{max-width:100%;display:block;}

.container{
  max-width:var(--max-w);
  margin:0 auto;
  padding:0 32px;
}

/* ---------- HEADER ---------- */
header.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(255,255,255,0.97);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--border);
}

.nav-wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:4px 32px;
  max-width:var(--max-w);
  margin:0 auto;
}

.logo{
  display:flex;
  align-items:center;
  gap:10px;
  font-family:'Space Grotesk',sans-serif;
  font-weight:700;
  font-size:1.25rem;
  color:var(--navy-deep);
}

.logo img{
  height:48px;
  width:auto;
  display:block;
}

nav.main-nav ul{
  display:flex;
  gap:8px;
}

nav.main-nav a{
  color:var(--navy-deep);
  font-size:0.95rem;
  font-weight:500;
  padding:10px 16px;
  border-radius:6px;
  transition:all 0.2s ease;
}

nav.main-nav a:hover,
nav.main-nav a.active{
  color:var(--navy-deep);
  background:rgba(11,31,63,0.06);
}

nav.main-nav a.active{
  box-shadow:inset 0 -2px 0 var(--amber);
  border-radius:6px 6px 0 0;
}

.nav-cta{
  background:var(--amber);
  color:var(--navy-deep) !important;
  font-weight:700 !important;
  padding:10px 20px !important;
  border-radius:6px;
}
.nav-cta:hover{
  background:var(--amber-light);
}

.menu-toggle{display:none;}

/* ---------- HERO ---------- */
.hero{
  position:relative;
  overflow:hidden;
  background:linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-light) 100%);
  color:var(--white);
  padding:96px 0 110px;
}

.hero .container{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:1.1fr 0.9fr;
  gap:48px;
  align-items:center;
}

.hero-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:0.78rem;
  font-weight:600;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--amber-light);
  margin-bottom:20px;
}
.hero-eyebrow::before{
  content:"";
  width:8px;height:8px;
  border-radius:50%;
  background:var(--amber);
  display:inline-block;
}

.hero h1{
  color:var(--white);
  font-size:clamp(2.2rem, 4vw, 3.3rem);
  margin-bottom:20px;
}

.hero p.lead{
  color:rgba(255,255,255,0.82);
  font-size:1.1rem;
  max-width:520px;
  margin-bottom:32px;
}

.btn-row{display:flex;gap:14px;flex-wrap:wrap;}

.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:14px 26px;
  border-radius:7px;
  font-weight:600;
  font-size:0.95rem;
  transition:all 0.2s ease;
  border:1.5px solid transparent;
}

.btn-primary{
  background:var(--amber);
  color:var(--navy-deep);
}
.btn-primary:hover{
  background:var(--amber-light);
  transform:translateY(-1px);
}

.btn-outline{
  border-color:rgba(255,255,255,0.35);
  color:var(--white);
}
.btn-outline:hover{
  border-color:var(--white);
  background:rgba(255,255,255,0.06);
}

/* Network signature graphic */
.network-graphic{
  position:relative;
  height:340px;
}
.network-graphic svg{width:100%;height:100%;}

.node{
  animation:pulse 3.2s ease-in-out infinite;
}
.node:nth-child(2){animation-delay:0.5s;}
.node:nth-child(3){animation-delay:1s;}
.node:nth-child(4){animation-delay:1.5s;}
.node:nth-child(5){animation-delay:2s;}

@keyframes pulse{
  0%,100%{opacity:0.55;r:4;}
  50%{opacity:1;r:6;}
}

.line-draw{
  stroke-dasharray:400;
  stroke-dashoffset:400;
  animation:draw 2.4s ease forwards;
}
@keyframes draw{to{stroke-dashoffset:0;}}

@media (prefers-reduced-motion: reduce){
  .node,.line-draw{animation:none !important;stroke-dashoffset:0;}
}

/* ---------- SECTIONS ---------- */
section{
  padding:80px 0;
}

.section-alt{
  background:var(--white);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}

.eyebrow{
  font-size:0.78rem;
  font-weight:700;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--amber);
  display:block;
  margin-bottom:12px;
}

.section-head{
  max-width:640px;
  margin-bottom:48px;
}
.section-head h2{
  font-size:clamp(1.6rem,2.6vw,2.2rem);
  margin-bottom:14px;
}
.section-head p{
  color:var(--text-muted);
  font-size:1.02rem;
}

.grid-3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}
.grid-2{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:24px;
}
.grid-4{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}

.card{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:10px;
  padding:30px;
  transition:transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 28px rgba(11,31,63,0.09);
}

.card .icon-badge{
  width:44px;height:44px;
  border-radius:9px;
  background:var(--navy-deep);
  color:var(--amber-light);
  display:flex;align-items:center;justify-content:center;
  font-size:1.1rem;
  margin-bottom:18px;
}

.card h3{
  font-size:1.08rem;
  margin-bottom:10px;
}
.card p{
  color:var(--text-muted);
  font-size:0.94rem;
}

.value-item{
  display:flex;
  gap:16px;
  padding:20px 0;
  border-bottom:1px solid var(--border);
}
.value-item:last-child{border-bottom:none;}
.value-item .num{
  font-family:'Space Grotesk',sans-serif;
  font-weight:700;
  color:var(--amber);
  font-size:1rem;
  min-width:32px;
}
.value-item h4{font-size:1.02rem;margin-bottom:4px;}
.value-item p{color:var(--text-muted);font-size:0.92rem;}

/* stats strip */
.stats-strip{
  background:var(--navy-deep);
  color:var(--white);
  padding:50px 0;
}
.stats-strip .grid-4{gap:20px;}
.stat h3{
  color:var(--amber-light);
  font-size:2.1rem;
  margin-bottom:6px;
}
.stat p{
  color:rgba(255,255,255,0.7);
  font-size:0.88rem;
}

/* CTA band */
.cta-band{
  background:linear-gradient(120deg,var(--navy) 0%, var(--navy-deep) 100%);
  color:var(--white);
  border-radius:16px;
  padding:56px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
  flex-wrap:wrap;
}
.cta-band h2{color:var(--white);font-size:1.7rem;margin-bottom:8px;}
.cta-band p{color:rgba(255,255,255,0.78);}

/* ---------- FOOTER ---------- */
footer.site-footer{
  background:var(--navy-deep);
  color:rgba(255,255,255,0.72);
  padding:56px 0 24px;
  margin-top:40px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1.2fr;
  gap:36px;
  padding-bottom:36px;
  border-bottom:1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo{color:var(--white);margin-bottom:14px;}
.footer-brand .logo img{background:var(--white);padding:8px 14px;border-radius:8px;height:56px;}
.footer-brand p{font-size:0.9rem;color:rgba(255,255,255,0.6);max-width:280px;}

.footer-col h4{
  color:var(--white);
  font-size:0.92rem;
  margin-bottom:16px;
  font-family:'Space Grotesk',sans-serif;
}
.footer-col ul li{margin-bottom:10px;}
.footer-col a{
  color:rgba(255,255,255,0.65);
  font-size:0.9rem;
  transition:color 0.2s;
}
.footer-col a:hover{color:var(--amber-light);}

.footer-bottom{
  padding-top:22px;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px;
  font-size:0.82rem;
  color:rgba(255,255,255,0.5);
}

/* ---------- Page header (inner pages) ---------- */
.page-hero{
  background:linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 100%);
  color:var(--white);
  padding:64px 0 56px;
}
.page-hero .eyebrow{color:var(--amber-light);}
.page-hero h1{color:var(--white);font-size:clamp(1.9rem,3.4vw,2.6rem);}
.page-hero p{color:rgba(255,255,255,0.78);max-width:600px;margin-top:12px;}

.breadcrumb{
  font-size:0.85rem;
  color:rgba(255,255,255,0.55);
  margin-bottom:16px;
}
.breadcrumb a:hover{color:var(--amber-light);}

/* ---------- Contact page ---------- */
.contact-grid{
  display:grid;
  grid-template-columns:1fr;
  max-width:640px;
  gap:40px;
  align-items:start;
}
.contact-info-item{
  display:flex;
  gap:16px;
  margin-bottom:26px;
}
.contact-info-item .icon-badge{
  width:42px;height:42px;flex-shrink:0;
  border-radius:9px;
  background:var(--navy-deep);
  color:var(--amber-light);
  display:flex;align-items:center;justify-content:center;
}
.contact-info-item h4{font-size:1rem;margin-bottom:4px;}
.contact-info-item p{color:var(--text-muted);font-size:0.93rem;}

.form-card{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:12px;
  padding:36px;
}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px;}
.form-group{margin-bottom:16px;}
.form-group label{
  display:block;
  font-size:0.88rem;
  font-weight:600;
  margin-bottom:6px;
  color:var(--navy-deep);
}
.form-group input,
.form-group textarea,
.form-group select{
  width:100%;
  padding:12px 14px;
  border:1.5px solid var(--border);
  border-radius:7px;
  font-family:'Inter',sans-serif;
  font-size:0.95rem;
  background:var(--bg);
  transition:border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus{
  outline:none;
  border-color:var(--navy-light);
  background:var(--white);
}
.form-group textarea{resize:vertical;min-height:120px;}

.map-embed{
  border-radius:12px;
  overflow:hidden;
  border:1px solid var(--border);
  margin-top:24px;
  height:260px;
  background:var(--navy-deep) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><rect width="100" height="100" fill="%230B1F3F"/></svg>');
  display:flex;
  align-items:center;
  justify-content:center;
  color:rgba(255,255,255,0.7);
  font-size:0.9rem;
  text-align:center;
  padding:20px;
}

/* ---------- Careers page ---------- */
.job-card{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:10px;
  padding:26px 30px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin-bottom:16px;
  transition:box-shadow 0.2s ease, transform 0.2s ease;
}
.job-card:hover{
  box-shadow:0 12px 28px rgba(11,31,63,0.08);
  transform:translateY(-2px);
}
.job-card h3{font-size:1.08rem;margin-bottom:6px;}
.job-tags{display:flex;gap:8px;flex-wrap:wrap;}

.cv-email-card{
  display:flex;
  align-items:center;
  gap:20px;
  background:var(--white);
  border:1px solid var(--border);
  border-radius:12px;
  padding:28px 32px;
  max-width:520px;
}
.cv-email-card h4{
  font-size:0.95rem;
  color:var(--text-muted);
  font-weight:600;
  margin-bottom:6px;
}
.cv-email-card .cv-email{
  font-family:'Space Grotesk',sans-serif;
  font-size:1.25rem;
  font-weight:700;
  color:var(--navy-deep);
  transition:color 0.2s ease;
}
.cv-email-card .cv-email:hover{color:var(--amber);}
.cv-email-card .icon-badge{
  width:52px;height:52px;
  font-size:1.3rem;
  flex-shrink:0;
}

.job-detail-card{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:12px;
  padding:32px 36px;
}
.job-detail-head{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:14px;
  margin-bottom:24px;
  padding-bottom:20px;
  border-bottom:1px solid var(--border);
}
.job-detail-head h3{font-size:1.2rem;}
.job-detail-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:32px;
  margin-bottom:24px;
}
.job-detail-grid h4{
  font-size:0.95rem;
  color:var(--navy-deep);
  margin-bottom:12px;
  font-family:'Space Grotesk',sans-serif;
}
.job-list{display:flex;flex-direction:column;gap:10px;}
.job-list li{
  position:relative;
  padding-left:18px;
  color:var(--text-muted);
  font-size:0.93rem;
}
.job-list li::before{
  content:"";
  position:absolute;
  left:0;top:9px;
  width:6px;height:6px;
  border-radius:50%;
  background:var(--amber);
}
.job-detail-apply{
  background:var(--bg);
  border-radius:10px;
  padding:20px 24px;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
}
.job-detail-apply p{
  color:var(--text-muted);
  font-size:0.93rem;
  margin:0;
}
.job-detail-apply .cv-email{font-size:1.05rem;}

@media (max-width:700px){
  .job-detail-grid{grid-template-columns:1fr;}
}
.tag{
  font-size:0.78rem;
  padding:4px 10px;
  border-radius:20px;
  background:var(--bg);
  border:1px solid var(--border);
  color:var(--text-muted);
  font-weight:600;
}
.tag.dept{background:rgba(232,163,61,0.12);color:#a06b1c;border-color:rgba(232,163,61,0.3);}

.perk-list{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-top:20px;}
.perk-list li{
  display:flex;gap:10px;align-items:flex-start;
  font-size:0.94rem;color:var(--text-muted);
}
.perk-list li::before{
  content:"✓";
  color:var(--amber);
  font-weight:800;
}

/* ---------- About page timeline / values ---------- */
.about-hero-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:48px;
  align-items:center;
}
.quote-block{
  border-left:3px solid var(--amber);
  padding-left:20px;
  font-family:'Space Grotesk',sans-serif;
  font-size:1.3rem;
  color:var(--navy-deep);
  font-style:italic;
  margin:24px 0;
}

/* ---------- Responsive ---------- */
@media (max-width:900px){
  .hero .container{grid-template-columns:1fr;}
  .network-graphic{height:220px;order:-1;}
  .grid-3, .grid-2, .grid-4{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr 1fr;}
  .contact-grid{grid-template-columns:1fr;}
  .form-row{grid-template-columns:1fr;}
  .about-hero-grid{grid-template-columns:1fr;}
  .perk-list{grid-template-columns:1fr;}
}

@media (max-width:700px){
  nav.main-nav{
    position:fixed;
    top:58px;left:0;right:0;
    background:var(--white);
    flex-direction:column;
    padding:12px 24px 20px;
    display:none;
    border-bottom:1px solid var(--border);
  }
  nav.main-nav.open{display:flex;}
  nav.main-nav ul{flex-direction:column;width:100%;}
  nav.main-nav a{display:block;width:100%;}
  .menu-toggle{
    display:flex;
    background:none;border:none;
    color:var(--navy-deep);
    font-size:1.4rem;
    cursor:pointer;
  }
  .footer-grid{grid-template-columns:1fr;}
  .cta-band{padding:36px 24px;flex-direction:column;text-align:center;}
  .job-card{flex-direction:column;align-items:flex-start;}
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline:2px solid var(--amber);
  outline-offset:2px;
}
