:root{
  --bg:#312E81;
  --header:#ffffff;
  --text:#f4f4ff;
  --muted:rgba(244,244,255,.75);
  --card:rgba(255,255,255,.08);
  --card2:#ffffff;
  --accent:#10B981;
  --deep:#06281E;
  --shadow: 0 18px 60px rgba(0,0,0,.25);
  --radius: 18px;
  --radius2: 26px;
  --max: 1120px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);

    /* Sticky footer layout */
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

/* main should expand so footer stays at bottom */
.page{
  flex:1;
  padding-top:76px; /* keep your fixed header spacing */
}

/* footer naturally sits at bottom */
.footer{
  margin-top:auto;
}

a{color:inherit; text-decoration:none}
.page{padding-top:76px}

/* Header */
/* Header */
.header{
  position:fixed; top:0; left:0; right:0;
  background:var(--header);
  color:#0b0b15;
  z-index:50;
  box-shadow:0 8px 30px rgba(0,0,0,.12);
}

.header-inner{
  max-width:var(--max);
  margin:0 auto;
  padding:14px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

/* Brand */
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:800;
  min-width: 0;
}

/* Logo wrapper: no clipping */
.brand-logo{
  display:flex;
  align-items:center;
  background:#fff;
  /* IMPORTANT: do not clip the logo */
  overflow: visible;
  height:auto;
}

/* Image: scale to fit by height, keep full aspect */
.brand-logo img{
  display:block;
  height:60px;        /* target height */
  width:auto;         /* keep aspect ratio */
  max-width:220px;    /* optional safety cap so it doesn't dominate */
  object-fit:contain; /* safe, but not really needed with width:auto */
}

/* Optional: smaller logo on small screens */
@media (max-width: 760px){
  .brand-logo img{
    height:44px;
    max-width:180px;
  }
}


.nav{display:flex; align-items:center; gap:14px}
.nav-link{opacity:.85}
.nav-link:hover{opacity:1}

.nav-toggle{
  display:none;
  width:44px; height:40px;
  border:1px solid rgba(0,0,0,.12);
  border-radius:12px;
  background:#fff;
  padding:8px;
}
.nav-toggle span{
  display:block; height:2px; background:#0b0b15; margin:6px 0;
}

.container{max-width:var(--max); margin:0 auto; padding:0 18px}
.band{padding:64px 0}
.band-white{background:#ffffff; color:#0b0b15}
.band-white .muted{color:rgba(11,11,21,.7)}
.band-white .card{background:#fff; border:1px solid rgba(0,0,0,.08); box-shadow:0 14px 40px rgba(0,0,0,.08)}

.h1{font-size: clamp(34px, 4.3vw, 56px); line-height:1.03; margin:0}
.h2{font-size: 20px; margin:0 0 8px 0}
.muted{color:var(--muted)}
.small{font-size:13px}
.mono{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;}
.accent{color:var(--accent);   font-weight: bold;}

.section-head{display:flex; flex-direction:column; gap:8px; margin-bottom:18px}
.center{text-align:center}
.mt-md{margin-top:16px}
.mt-lg{margin-top:28px}

/* Hero */
.hero{
  position:relative;
  height:90vh;           /* full screen */
  overflow:hidden;

}.hero-media{
  position:absolute; inset:0;
  background-size:cover; background-position:center;
  filter:saturate(1.05) contrast(1.05);
  transform:scale(1.02);
}
.hero-overlay{
  position:absolute; inset:0;
  background:linear-gradient(110deg, rgba(49,46,129,.86), rgba(49,46,129,.62) 50%, rgba(6,40,30,.55));
}
/* Center content vertically + horizontally */
.hero-content{
  position:relative;
  max-width:var(--max);
  height:100%;
  margin:0 auto;
  padding:76px 18px 0;     /* top padding for fixed header */
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
}

.hero-kicker{
  display:inline-flex;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  font-weight:600;
  letter-spacing:.02em;
}
/* Bigger headline + sub */
.hero-title{
  margin:18px 0 12px 0;
  font-size: clamp(46px, 6vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hero-sub{
  max-width: 70ch;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.65;
}

/* Center buttons */
.hero-actions{
  justify-content:center;
  margin-top:24px;
}


/* Scroll prompt: truly bottom of hero */
.scroll-prompt{
  position:absolute;
  left:50%;
  bottom:2%;                /* very bottom */
  transform:translateX(-50%);
  padding-bottom: max(16px, env(safe-area-inset-bottom)); /* iPhone safe area */
  display:flex;
  align-items:center;
  gap:14px;
  opacity:.98;
  text-align:center;
}

.scroll-text{
  font-size:16px;
  font-weight:800;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.scroll-arrow{
  width:46px;
  height:46px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.22);
  font-size:22px;
  animation:bounce 1.5s infinite;
}

/* Mobile tuning */
@media (max-width: 760px){
  .hero-title{
    font-size: clamp(38px, 9vw, 56px);
    line-height: 1.02;
  }
  .hero-sub{
    font-size: 16px;
  }
}

@keyframes bounce{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(7px)}
}

.scroll-text{font-size:12px; letter-spacing:.14em; text-transform:uppercase}
.scroll-arrow{
  width:34px; height:34px; border-radius:999px;
  display:grid; place-items:center;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  animation:bounce 1.5s infinite;
}
@keyframes bounce{0%,100%{transform:translateY(0)}50%{transform:translateY(5px)}}

/* Cards & grids */
.card{
  background:var(--card);
  border:1px solid rgba(255,255,255,.14);
  border-radius:var(--radius);
  padding:18px;
  box-shadow: var(--shadow);
}
.card-accent{
  background:linear-gradient(130deg, rgba(16,185,129,.22), rgba(6,40,30,.25));
  border:1px solid rgba(16,185,129,.28);
}
.band-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}

.two-col{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:14px;
}

.jobs-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.job-card{
  border-radius:var(--radius2);
  padding:18px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
  transition: transform .15s ease, border-color .15s ease;
}
.job-card:hover{transform: translateY(-2px); border-color: rgba(16,185,129,.45)}
.job-title{font-weight:800; margin-top:10px; letter-spacing:-.02em}
.job-teaser{color:var(--muted); margin-top:8px; line-height:1.55}
.job-cta{margin-top:14px; color:var(--accent); font-weight:700}

.pill{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:600;
  background:rgba(16,185,129,.16);
  border:1px solid rgba(16,185,129,.24);
  color:#eafff6;
  gap:8px;
}
.pill-ghost{
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.18);
}

.ticks, .bullets{margin:10px 0 0 18px}
.ticks li{margin:7px 0}
.bullets li{margin:8px 0; line-height:1.55}
.link{color:var(--accent); font-weight:700}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:14px;
  font-weight:800;
  border:1px solid transparent;
  cursor:pointer;
  gap:10px;
}
.btn-accent{background:var(--accent); color:#072017}
.btn-accent:hover{filter:brightness(1.02)}
.btn-dark{background:var(--deep); color:#eafff6}
.btn-ghost{
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.20);
  color:#fff;
}
.band-white .btn-ghost{color:#0b0b15; border-color:rgba(0,0,0,.12); background:rgba(0,0,0,.03)}

/* Forms */
.form{margin-top:14px; display:flex; flex-direction:column; gap:12px}
.field span{display:block; font-weight:700; margin-bottom:6px}
.input{
  width:100%;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.12);
  outline:none;
  font:inherit;
}
.band .input{border-color: rgba(255,255,255,.18); background:rgba(255,255,255,.10); color:#fff}
.band-white .input{background:#fff; color:#0b0b15}
textarea.input{resize:vertical}
.form-actions{display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-top:6px}
.error{color:#ffcccb; font-size:13px; margin-top:6px; display:block}
.notice{padding:12px; border-radius:14px; background:rgba(16,185,129,.12); border:1px solid rgba(16,185,129,.22)}

.grid-2{display:grid; grid-template-columns:1fr 1fr; gap:12px}
.grid-3{display:grid; grid-template-columns:1fr 1fr 1fr; gap:12px}

/* Collage */
.collage{
  display:grid;
  grid-template-columns: 1.3fr .9fr .9fr;
  gap:12px;
}
.collage-img{
  min-height:220px;
  border-radius:var(--radius2);
  background-size:cover;
  background-position:center;
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 18px 60px rgba(0,0,0,.12);
}
.banner{
  margin-top:18px;
  padding:18px;
  border-radius:var(--radius2);
  background:linear-gradient(120deg, rgba(16,185,129,.22), rgba(6,40,30,.22));
  border:1px solid rgba(16,185,129,.28);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.banner-title{font-weight:900; font-size:18px}

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

/* Job hero */
.job-hero{position:relative; padding:76px 0 34px 0; overflow:hidden}
.job-hero-media{position:absolute; inset:0; background-size:cover; background-position:center; filter:saturate(1.05)}
.job-hero-overlay{position:absolute; inset:0; background:linear-gradient(120deg, rgba(49,46,129,.86), rgba(6,40,30,.40))}
.job-hero-content{position:relative}

/* Founder */
.founder{display:flex; gap:14px; margin-top:14px; align-items:center; flex-wrap:wrap}
.founder-img{
  width:96px; height:96px; border-radius:22px;
  background-size:cover; background-position:center;
  border:1px solid rgba(0,0,0,.10);
}
.photo-slot{
  margin-top:12px;
  height:240px;
  border-radius:var(--radius2);
  background-size:cover;
  background-position:center;
  border:1px solid rgba(255,255,255,.20);
}

/* Footer */
.footer{padding-top:44px; 
    
    border-top:1px solid rgba(255,255,255,.12)}
.footer-grid{display:grid; grid-template-columns: 1.2fr .8fr .8fr; gap:14px}
.footer-logo{font-weight:900; font-size:18px}
.footer-title{font-weight:900; margin-bottom:10px}
.footer-link{display:block; opacity:.85; margin:7px 0}
.footer-link:hover{opacity:1}

/* Responsive */
@media (max-width: 980px){
  .jobs-grid{grid-template-columns: repeat(2, 1fr)}
  .band-grid{grid-template-columns: 1fr}
  .two-col{grid-template-columns: 1fr}
  .footer-grid{grid-template-columns: 1fr}
}
@media (max-width: 760px){
  .jobs-grid{grid-template-columns: 1fr}
  .grid-2,.grid-3{grid-template-columns: 1fr}
  .collage{grid-template-columns:1fr}
  .nav{display:none}
  .nav-toggle{display:block}
  .nav.open{
    display:flex;
    position:absolute;
    top:66px; right:18px; left:18px;
    flex-direction:column;
    background:#fff;
    color:#0b0b15;
    border-radius:18px;
    padding:12px;
    box-shadow:0 18px 60px rgba(0,0,0,.18);
  }
  .nav.open .btn-ghost{color:#0b0b15; border-color:rgba(0,0,0,.12); background:rgba(0,0,0,.03)}
}



/* Bottom band */
.footer-credits {
  margin-top: 2rem;
  padding: 0.9rem 0 1.1rem;
  background: #2424245e;
  border-top: 1px solid #0f0f0f;
  margin-bottom: 0;
}

.credits-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center; /* centered horizontally */
  gap: 0.6rem 1.5rem;
  text-align: center;
  padding-bottom: 1rem;
}
