: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;
  flex-direction:column;   /* stack vertically */
  align-items:center;  /* left aligned */
  gap:2px;
  text-decoration:none;
}

.brand-text{ display: block; 
  line-height:0; }

.brand-founder{
  margin-top: -2px;
  font-weight:900;
  font-size:12px;
  letter-spacing:.06em;
  color: var(--bg); /* looks good on white header */
}

/* If you want it slightly smaller on mobile */
@media (max-width: 980px){
  .brand-founder{
    font-size:11px;
    letter-spacing:.05em;
  }
}

/* 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}


/* If no hero image exists, the media column won't render, so grid becomes 2 columns automatically */
.job-row-media{
  border-radius:var(--radius2);
  overflow:hidden;
  position:relative;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
}

/* Image fills its slot nicely */
.job-row-image{
  width:100%;
  height:100%;
  min-height:140px;
  background-size:cover;
  background-position:center;
  transform: scale(1.02);
  transition: transform .45s ease, filter .45s ease;
}

/* Subtle hover zoom */
.job-row:hover .job-row-image{
  transform: scale(1.08);
  filter: saturate(1.05) contrast(1.03);
}

/* Keep content above your hover overlay */
.job-row-media,
.job-row-left,
.job-row-right{
  position:relative;
  z-index:1;
}

/* Responsive */
@media (max-width: 980px){
  .job-row{
    grid-template-columns: 1fr; /* stack */
  }

  .job-row-media{
    height:180px;
  }

  .job-row-image{
    min-height:180px;
  }
}

.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;
  gap:10px;

  padding:12px 16px;                 /* a bit more “meat” */
  min-height:44px;                    /* touch-friendly */
  border-radius:14px;

  font-weight:900;
  letter-spacing:-.01em;

  border:1px solid rgba(255,255,255,.14);
  cursor:pointer;
  user-select:none;
  text-decoration:none;

  position:relative;
  overflow:hidden;
  isolation:isolate;

  transform: translateY(0);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease, border-color .16s ease;
  box-shadow: var(--btn-shadow);
}
.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);
    background: #17163d}
.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: 980px){
  .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: #0a0a1b;
  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;
}


/* Full-bleed band */
.band-bleed{
  padding:0;                 /* panels control their own padding */
}

/* Adds subtle “flow” and depth */
.band-flow{
  position:relative;
  overflow:hidden;
}
.band-flow::before{
  content:"";
  position:absolute;
  inset:-40%;
  background:
    radial-gradient(closest-side, rgba(49,46,129,.10), transparent 60%),
    radial-gradient(closest-side, rgba(16,185,129,.10), transparent 55%);
  transform: rotate(12deg);
  pointer-events:none;
}

/* 100vw grid, edge-to-edge even if inside other wrappers */
.feature-panels{
  width:100vw;
  margin-left:calc(50% - 50vw);
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
}

/* Panel base */
.feature-panel{
  position:relative;
  min-height:700px;
  display:block;
  color:#0b0b15;
  text-decoration:none;
  isolation:isolate;
  border-right:1px solid rgba(0,0,0,.08);
  overflow:hidden;
  background:#fff;
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature-panel:last-child{
  border-right:none;
}

/* Image area */
.panel-media{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  transform:scale(1.02);
  transition: transform .55s ease;
    will-change: transform; /* add this */

}

/* Readability shade */
.panel-shade{
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg,
      rgba(255,255,255,.78) 0%,
      rgba(255,255,255,.72) 25%,
      rgba(255,255,255,.84) 55%,
      rgba(255,255,255,.94) 100%
    );
  z-index:1;
}

/* Readability shade */
.panel-shade-purple{
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg,
      rgba(49,46,129,.78) 0%,
      rgba(49,46,129,.72) 25%,
      rgba(49,46,129,.84) 55%,
      rgba(49,46,129,.94) 100%
    );
  z-index:1;
}


/* Content */
.panel-body{
  position:relative;
  z-index:2;
  height:100%;
  padding:56px clamp(18px, 2.3vw, 44px);
  display:flex;
  flex-direction:column;
  gap:10px;
}

.panel-kicker{
  display:inline-flex;
  width:fit-content;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(49,46,129,.08);
  border:1px solid rgba(49,46,129,.14);
  font-weight:800;
  letter-spacing:.02em;
}

.panel-title{
  margin:6px 0 0 0;
  font-size: clamp(22px, 2.1vw, 34px);
  letter-spacing:-.02em;
  color: #312E81;
}
.panel-title-light{
  margin:6px 0 0 0;
  font-size: clamp(22px, 2.1vw, 34px);
  letter-spacing:-.02em;
  color: #fff;
}
.panel-text{
  margin:0;
  color:rgba(11,11,21,.74);
  line-height:1.6;
  max-width:52ch;
}

.panel-text-light{
    margin:0;
  color:rgba(225,225,225,.74);
  line-height:1.6;
  max-width:52ch;
}
.panel-list{
  margin:10px 0 0 18px;
  color:rgba(11,11,21,.82);
}
.panel-list li{ margin:8px 0; }

.panel-cta{
  margin-top:auto;
  font-weight:900;
  color:#312E81; /* purple */
  letter-spacing:-.01em;
  display:flex;
  align-items:center;
  gap:10px;
}

/* Accent panel variant */
.feature-panel--accent .panel-kicker{
  background:rgba(16,185,129,.10);
  border-color:rgba(16,185,129,.20);
}




.feature-panel--accent .panel-cta{
  color: var(--deep);
}
.panel-pill{
  display:inline-flex;
  width:fit-content;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(16,185,129,.12);
  border:1px solid rgba(16,185,129,.22);
  font-weight:800;
  color: var(--deep);
}

/* Interactive purple effects on hover */
.feature-panel::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background:
    radial-gradient(700px 380px at 20% 30%, rgba(49,46,129,.18), transparent 60%),
    radial-gradient(520px 320px at 80% 70%, rgba(49,46,129,.14), transparent 60%),
    linear-gradient(120deg, rgba(49,46,129,.10), rgba(16,185,129,.08));
  opacity:0;
  transition: opacity .25s ease;
  pointer-events:none;
}

.feature-panel:hover{
  transform: translateY(-3px);
  box-shadow: 0 22px 70px rgba(49,46,129,.18);
}
.feature-panel:hover::after{ opacity:1; }
.feature-panel:hover .panel-cta{ transform: translateX(3px); transition: transform .25s ease; }


.feature-panel{
  --media-scale: 1.02;
}
.feature-panel:hover{
  --media-scale: 1.08;
}
.panel-media{
  transform: translate3d(0,0,0) scale(var(--media-scale));
}

/* Mobile */
@media (max-width: 980px){
  .feature-panels{
    grid-template-columns:1fr;
  }
  .feature-panel{
    border-right:none;
    border-bottom:1px solid rgba(0,0,0,.08);
    min-height:520px;
  }
  .feature-panel:last-child{ border-bottom:none; }
}

/* Full-bleed jobs band */
.band-jobs-bleed{
  padding:64px 0;
}

.jobs-bleed{
  width:100vw;
  margin-left:calc(50% - 50vw);
}

.jobs-inner{
  max-width:var(--max);
  margin:0 auto;
  padding:0 18px;
  position:relative;
  min-height: 600px;
}

/* One job per row */
.jobs-list{
  display:flex;
  flex-direction:column;
  gap:18px;           /* more space between rows */
  margin-top:22px;
}
/* Row becomes a big “panel” with left card + right content */
.job-row{
  display:grid;
  grid-template-columns: 320px 1fr;  /* left card | right content */
  gap:22px;

  padding:22px;
  border-radius:var(--radius2);
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);

  align-items:stretch;
  position:relative;
  overflow:hidden;

  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}



/* purple/green energy overlay on hover */
.job-row::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(700px 320px at 18% 30%, rgba(49,46,129,.22), transparent 60%),
    radial-gradient(560px 280px at 80% 70%, rgba(16,185,129,.14), transparent 60%);
  opacity:0;
  transition: opacity .22s ease;
  pointer-events:none;
}

.job-row:hover{
  transform: translateY(-2px);
  border-color: rgba(16,185,129,.42);
  box-shadow: 0 22px 70px rgba(49,46,129,.18);
}
.job-row:hover::after{ opacity:1; }

/* LEFT: tall image card */
.job-row-media{
  border-radius:22px;
  overflow:hidden;
  position:relative;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);

  min-height:240px;            /* makes it taller */
  height:100%;
}

.job-row-media--placeholder{
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.02)),
    radial-gradient(120px 120px at 30% 30%, rgba(16,185,129,.12), transparent 60%),
    radial-gradient(140px 140px at 70% 70%, rgba(49,46,129,.14), transparent 60%);
}

.job-row-image{
  width:100%;
  height:100%;
  background-size:cover;
  background-position:center;
  transform: scale(1.02);
  transition: transform .55s ease, filter .55s ease;
}

/* subtle darken at bottom so it feels like a “card” */
.job-row-media-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.18) 100%);
  pointer-events:none;
}

.job-row:hover .job-row-image{
  transform: scale(1.08);
  filter: saturate(1.06) contrast(1.04);
}

/* RIGHT: content column */
.job-row-content{
  min-width:0;
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:10px;
  padding:6px 4px;             /* subtle internal breathing room */
}

.job-title{
  font-weight:900;
  letter-spacing:-.02em;
  font-size: clamp(18px, 1.6vw, 26px);
  margin-top:4px;
}

.job-teaser{
  color:var(--muted);
  line-height:1.6;
  margin-top:6px;
  max-width: 85ch;
}

.job-row-footer{
  margin-top:10px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
}

.job-cta{
  color:var(--accent);
  font-weight:900;
  transition: transform .2s ease;
}

.job-row:hover .job-cta{
  transform: translateX(4px);
}

/* Keep content above overlay */
.job-row-media,
.job-row-content{
  position:relative;
  z-index:1;
}

/* Responsive */
@media (max-width: 980px){
  .job-row{
    grid-template-columns: 1fr;   /* stack */
    padding:18px;
  }
  .job-row-media{
    min-height:200px;
  }
}

/* CTA full-bleed white band */
/* =========================
   CTA SECTION (CENTERED)
   ========================= */

/* Full-width white background */
.cta-band{
  background:#fff;
  color:#0b0b15;
  border-top:1px solid rgba(0,0,0,.08);
  overflow:hidden;
}

.cta-bleed{
  padding:0; /* CTA controls spacing inside */
}

/* Centered content container */
.cta-wrap{
  max-width:var(--max);
  margin:0 auto;
  padding:64px 18px;

  display:grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap:28px;
  align-items:center;
}

/* LEFT COLUMN (text + metrics) */
.cta-inner{
  margin:0;
  padding:0;
  position:relative;
  z-index:1;
  min-width:0;
}

.cta-kicker{
  display:inline-flex;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(49,46,129,.08);
  border:1px solid rgba(49,46,129,.14);
  font-weight:900;
  letter-spacing:.02em;
}

.cta-title{
  margin:16px 0 10px 0;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height:1.06;
  letter-spacing:-.03em;
}

.cta-sub{
  margin:0;
  color:rgba(11,11,21,.72);
  line-height:1.65;
  max-width:60ch;
  font-size:16px;
}

.cta-actions{
  margin-top:18px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

/* On white background, ghost button needs a light style */
.cta-wrap .btn-ghost{
  color:#0b0b15;
  border-color:rgba(0,0,0,.14);
  background:rgba(0,0,0,.03);
}

/* Metrics */
.cta-metrics{
  margin-top:22px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:12px;
  max-width:560px;
}

.metric{
  border-radius:16px;
  padding:14px;
  background:rgba(49,46,129,.06);
  border:1px solid rgba(49,46,129,.10);
}

.metric-num{
  font-weight:1000;
  color:#312E81;
  font-size:18px;
  letter-spacing:-.01em;
}

.metric-label{
  margin-top:6px;
  color:rgba(11,11,21,.7);
  font-size:13px;
}

/* RIGHT COLUMN (video) */
.cta-media{
  margin:0;
  padding:0;
  position:relative;
  z-index:1;
  min-width:0;

  display:flex;
  justify-content:center;  /* centers video in its column */
  align-items:center;
}

/* Video sizing that aligns nicely with text+metrics */
.cta-video{
  width:min(520px, 100%);
  height:auto;
  max-height:360px;
  display:block;
  object-fit:contain;

  /* blend in */
  border-radius:0;
  box-shadow:none;
  filter:none;
  background:transparent;

}


/* Badge utilities (if you still use them elsewhere) */
.cta-photo-badge{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  border-radius:999px;
  width:fit-content;
  background:rgba(16,185,129,.10);
  border:1px solid rgba(16,185,129,.18);
  color:#06281E;
  font-weight:800;
}

.badge-dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background:var(--accent);
}

/* IMPORTANT: If you previously used .cta-corner/.jobs-corner-icon in the CTA,
   do NOT use them here. The CTA video is in-flow via .cta-media now. */

/* Mobile: stack nicely */
@media (max-width: 640px){
  .cta-wrap{
    grid-template-columns: 1fr;
    padding:54px 18px;
    gap:18px;
  }

  .cta-media{
    justify-content:center;
  }

  .cta-video{
    width:min(480px, 100%);
    max-height:240px;
  }

  .cta-metrics{
    grid-template-columns:1fr;
    max-width:520px;
  }
}


/* =========================
   Purple Stars Hover Effect (all .btn)
   ========================= */

.btn:active{
  transform: translateY(1px);
  box-shadow: 0 6px 16px rgba(0,0,0,.16);
}

.btn:focus-visible{
  outline:none;
  box-shadow: 0 0 0 3px rgba(16,185,129,.35), var(--btn-shadow);
}

/* Keep text above effects */
.btn > *{ position:relative; z-index:2; }

/* Base “gloss” highlight so it reads like a real button */
.btn::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:1;
  opacity:.85;
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,0) 55%);
}

/* ---------- Accent button (better depth + nicer hover) ---------- */
.btn-accent{
  color:#06281E;
  border-color: rgba(6,40,30,.20);
  background:
    linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,0) 58%),
    linear-gradient(135deg, rgba(16,185,129,1), rgba(16,185,129,.92));
  box-shadow: 0 12px 26px rgba(16,185,129,.22), 0 10px 24px rgba(0,0,0,.16);
}

.btn-accent:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(16,185,129,.28), var(--btn-shadow-hover);
  filter: saturate(1.05) brightness(1.03);
}

/* ---------- Dark button ---------- */
.btn-dark{
  background:
    linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,0) 60%),
    linear-gradient(135deg, rgba(6,40,30,1), rgba(6,40,30,.92));
  color:#eafff6;
  border-color: rgba(255,255,255,.10);
}

.btn-dark:hover{
  transform: translateY(-1px);
  box-shadow: var(--btn-shadow-hover);
  filter: brightness(1.03);
}

/* ---------- Ghost button ---------- */
.btn-ghost{
  background: rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.22);
  color:#fff;
  box-shadow: 0 10px 22px rgba(0,0,0,.14);
}

.btn-ghost:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.28);
  box-shadow: var(--btn-shadow-hover);
}

/* =========================
   Purple Stars Hover Effect (improved + better on accent)
   ========================= */

.btn::before{
  content:"";
  position:absolute;
  inset:-140% -60%;
  pointer-events:none;
  opacity:0;
  z-index:0;

  background-image:
    radial-gradient(circle at 12% 18%, rgba(167,139,250,.95) 0 1.4px, transparent 2.2px),
    radial-gradient(circle at 28% 42%, rgba(99,102,241,.85) 0 1.1px, transparent 2.0px),
    radial-gradient(circle at 46% 22%, rgba(196,181,253,.95) 0 1.6px, transparent 2.6px),
    radial-gradient(circle at 62% 52%, rgba(99,102,241,.80) 0 1.2px, transparent 2.1px),
    radial-gradient(circle at 78% 28%, rgba(167,139,250,.90) 0 1.3px, transparent 2.2px),
    radial-gradient(circle at 86% 64%, rgba(196,181,253,.85) 0 1.0px, transparent 2.0px),
    radial-gradient(circle at 18% 74%, rgba(99,102,241,.75) 0 1.2px, transparent 2.1px),
    radial-gradient(circle at 70% 80%, rgba(167,139,250,.85) 0 1.4px, transparent 2.4px);

  background-size: 240px 240px;
  background-repeat: repeat;

  transform: translateY(10%) rotate(-10deg);
  transition: opacity .22s ease, transform .22s ease;
  mix-blend-mode: screen;
}

/* On accent, stars should be subtler (so it doesn’t look muddy) */
.btn-accent::before{
  opacity:0;
  mix-blend-mode: soft-light; /* better on bright green */
  filter: saturate(.95);
}

.btn:hover::before,
.btn:focus-visible::before{
  opacity:.9;
  transform: translateY(0) rotate(-10deg);
  animation: btnStarDrift 1.35s linear infinite;
}

/* slightly softer star intensity on accent */
.btn-accent:hover::before,
.btn-accent:focus-visible::before{
  opacity:.55;
  animation-duration: 1.55s;
}

@keyframes btnStarDrift{
  0%   { background-position: 0px 0px; }
  100% { background-position: 240px -240px; }
}

@media (prefers-reduced-motion: reduce){
  .btn:hover::before,
  .btn:focus-visible::before{
    animation:none;
  }
  .btn,
  .btn:hover{
    transform:none;
  }
}



/* Contact photo larger */
.photo-slot--lg{
  height: 720px;
  border-radius: var(--radius2);
  
}

/* Honeypot field: hidden */
.hp-field{
  position:absolute !important;
  left:-9999px !important;
  width:1px !important;
  height:1px !important;
  opacity:0 !important;
}
@media (max-width: 760px){
  .photo-slot--lg{ height: 280px; }
}


/* Contact page polish */
.section-head--center{
  text-align:center;
  align-items:center;
}

.contact-stack{
  display:flex;
  flex-direction:column;
  gap:16px;
}

/* Make cards feel more “designed” */
.contact-card{
  border-radius: var(--radius2);
}

.contact-card-head{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-bottom:10px;
}

.form-actions--right{
  justify-content:flex-end;
}

/* Email card */
.contact-card--mini{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
    align-items:center;

    justify-content: center;
  text-align: center;
}

.contact-chip{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  width:fit-content;
  background: rgba(16,185,129,.12);
  border: 1px solid rgba(16,185,129,.22);
  color: #eafff6;
  font-weight:900;
  justify-content: center;
  text-align: center;
  margin-bottom: 2vh;
}

.contact-chip-dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background: var(--accent);
}

.contact-email a{
  font-weight:1000;
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--accent);
  text-decoration:none;
}
.contact-email a:hover{
  text-decoration:underline;
}


/* =========================
   Professional abstract section header
   Uses: --bg (purple) + --header (white)
   ========================= */

.section-head--pro{
  position:relative;
  padding: 22px 22px 20px;
  border-radius: var(--radius2);
  overflow:hidden;

  /* base glass over purple */
  background:
    radial-gradient(900px 420px at 18% 22%, rgba(255,255,255,.14), transparent 60%),
    radial-gradient(760px 380px at 82% 32%, rgba(255,255,255,.10), transparent 58%),
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 18px 60px rgba(0,0,0,.18);
}

/* Optional: stronger headline contrast inside */
.section-head--pro .h1,
.section-head--pro .h2{
  color: var(--header);
}

.section-head--pro .muted{
  color: rgba(244,244,255,.82);
}

/* abstract shapes (professional blobs) */
.section-head--pro::before,
.section-head--pro::after{
  content:"";
  position:absolute;
  inset:-40%;
  pointer-events:none;
  opacity:.9;
  filter: blur(18px);
  transform: rotate(-10deg);
}

/* big soft blob */
.section-head--pro::before{
  background:
    radial-gradient(closest-side at 28% 35%, rgba(255,255,255,.18), transparent 65%),
    radial-gradient(closest-side at 70% 55%, rgba(255,255,255,.10), transparent 68%);
  animation: proDrift 10s ease-in-out infinite;
}

/* subtle “light sweep” */
.section-head--pro::after{
  background:
    linear-gradient(120deg, transparent 30%, rgba(255,255,255,.10) 45%, transparent 60%),
    radial-gradient(closest-side at 55% 45%, rgba(255,255,255,.08), transparent 70%);
  opacity:.55;
  animation: proSweep 7.5s ease-in-out infinite;
}

/* thin grid lines (very subtle, feels premium) */
.section-head--pro .pro-grid{
  position:absolute;
  inset:0;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,.06) 0,
      rgba(255,255,255,.06) 1px,
      transparent 1px,
      transparent 28px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,.05) 0,
      rgba(255,255,255,.05) 1px,
      transparent 1px,
      transparent 28px
    );
  opacity:.22;
  pointer-events:none;
  mask-image: radial-gradient(circle at 40% 30%, rgba(0,0,0,1), rgba(0,0,0,.2) 55%, rgba(0,0,0,0) 75%);
}

/* Add this span inside if you want the grid overlay:
   <span class="pro-grid" aria-hidden="true"></span>
*/
.section-head--pro > *{
  position:relative;
  z-index:1;
}


/* animations */
@keyframes proDrift{
  0%,100%{ transform: translate3d(0,0,0) rotate(-10deg); }
  50%{ transform: translate3d(18px,-10px,0) rotate(-12deg); }
}

@keyframes proSweep{
  0%,100%{ transform: translate3d(-10px,8px,0); }
  50%{ transform: translate3d(18px,-6px,0); }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce){
  .section-head--pro::before,
  .section-head--pro::after{ animation:none; }
  .section-head--pro:hover{ transform:none; }
}


/* =========================
   Home: Founder/About section (wow)
   ========================= */

.home-about{
  position:relative;
  overflow:hidden;
}
/* Video behind everything */
.home-about-bgvid{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  z-index:0;
  pointer-events:none;

  /* make it subtle + blended */
  opacity:.22;
  filter:saturate(1.05) contrast(1.05);
  transform:scale(1.02);
}
.home-about-bg{
  position:absolute;
  inset:-40%;
  background:
    radial-gradient(closest-side at 18% 28%, rgba(255,255,255,.12), transparent 62%),
    radial-gradient(closest-side at 78% 58%, rgba(16,185,129,.12), transparent 60%),
    radial-gradient(closest-side at 55% 40%, rgba(49,46,129,.32), transparent 65%);
  transform: rotate(-10deg);
  pointer-events:none;
  opacity:.95;
}

.home-about-wrap{
  display:grid;
  grid-template-columns: .95fr 1.05fr;
  gap:16px;
  align-items:stretch;

  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.14);
  background: var(--bg);
  box-shadow: var(--shadow);
  overflow:hidden;
}

/* Photo side */
.home-about-media{
  position:relative;
  min-height: 720px;
  background: rgba(255,255,255,.04);
}

.home-about-photo{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  transform: scale(1.02);
  transition: transform .55s ease, filter .55s ease;
}

.home-about-media::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, rgba(0,0,0,.20), rgba(0,0,0,.02));
  opacity:.55;
  pointer-events:none;
}

/* subtle zoom on hover */
.home-about-wrap:hover .home-about-photo{
  transform: scale(1.07);
  filter: saturate(1.06) contrast(1.03);
}

/* Photo badge */
.home-about-badge{
  position:absolute;
  left:16px;
  bottom:16px;
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  color:#fff;
  font-weight:900;
  letter-spacing:.02em;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Content side */
.home-about-content{
  padding: 22px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:14px;
  align-items: center; justify-content: center; text-align: center;
}

.home-about-kicker{
  font-weight:1000;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-size:12px;
  color: rgba(244,244,255,.84);
  margin-bottom: 6px;
}

.home-about-title{
  margin: 0;
}

.home-about-sub{
  margin: 8px 0 0;
  color: rgba(244,244,255,.86);
  line-height:1.7;
}

/* Motto bubble */
.home-about-motto{
  padding:14px 16px;
  border-radius: 18px;
  background: rgba(49,46,129,.12);
  border: 1px solid rgba(255,255,255,.14);
}

.motto-quote{
  display:block;
  font-weight:1000;
  color:#fff;
  letter-spacing:-.01em;
}

/* Metrics (light style) */
.home-about-metrics{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:12px;
  max-width: 620px;
}

.metric--light{
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
}
.metric--light .metric-num{
  color:#fff;
}
.metric--light .metric-label{
  color: rgba(244,244,255,.78);
}

/* Actions */
.home-about-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top: 2px;
}

/* Mobile */
@media (max-width: 980px){
  .home-about-wrap{
    grid-template-columns:1fr;
  }
  .home-about-media{
    min-height: 320px;
  }
  .home-about-content{
    padding: 18px;
  }
  .home-about-metrics{
    grid-template-columns:1fr;
  }
}


/* Smooth anchor scrolling only (doesn't change mousewheel inertia, but helps links) */
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
}

/* Keep fixed header from janking */
.header{ transform: translateZ(0); }

/* Make heavy sections cheaper to render while off-screen (Chrome/Edge big win) */
.band{
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

/* Tell the browser what will animate */
.hero-media,
.home-about-bgvid,
.panel-media,
.job-row-image{
  will-change: transform;
  transform: translateZ(0);
}


.app-email{
  margin-top:10px;
  display:flex;
  flex-direction:column;
  gap:8px;
}

.app-email-link{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-weight:1000;
  font-size:18px;
  color:#fff;
  text-decoration:none;
}

.app-email-link:hover{
  text-decoration:underline;
  text-underline-offset:4px;
}

/* If banner is on white background anywhere */
.band-white .app-email-link,
.banner--white .app-email-link{
  color:#0b0b15;
}


/* =========================
   Cookie banner (Swiss-friendly, theme)
   ========================= */
.cookie{
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
}

.cookie-card{
  pointer-events: auto;
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  width: min(980px, calc(100% - 24px));
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  color: #0b0b15;
  border: 1px solid rgba(49,46,129,.16);
  box-shadow: 0 18px 60px rgba(0,0,0,.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  align-items: center;
  justify-content: center;
  text-align: center;
}

.cookie-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  color: #fff;
  background: var(--bg);
    border-radius: 22px 22px 0px 0px;
  padding: 16px;

}

.cookie-title{
  font-weight: 1000;
  letter-spacing: -.02em;
  font-size: 16px;
  
}

.cookie-x{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  color: #fff;
}

.cookie-text{
  margin: 10px 0 12px;
  color: rgba(11,11,21,.74);
  line-height: 1.55;
  padding: 16px;
}

.cookie-actions{
  display:flex;
  gap:10px;
  flex-wrap: wrap;
  align-items:center;
  
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cookie-links{
  margin-top: 10px;
  font-size: 13px;
  color: rgba(11,11,21,.65);
  
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
}
.cookie-links a{
  color: rgba(49,46,129,.95);
  font-weight: 900;
  text-decoration: none;
}
.cookie-links a:hover{ text-decoration: underline; text-underline-offset: 3px; }

/* modal overlay */
.cookie-modal{
  pointer-events: auto;
  position: fixed;
  inset: 0;
  display:grid;
  place-items: center;
  padding: 18px;
  background: rgba(0,0,0,.42);
}

.cookie-modal-card{
  width: min(720px, 100%);
  border-radius: 24px;
  background: #fff;
  color: #0b0b15;
  border: 1px solid rgba(49,46,129,.16);
  box-shadow: 0 18px 60px rgba(0,0,0,.30);
  padding: 18px;
}

.cookie-modal-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.cookie-modal-title{
  font-weight:1000;
  font-size: 18px;
}

.cookie-toggles{
  margin-top: 12px;
  display:grid;
  gap:10px;
}

.cookie-toggle{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding: 12px;
  border-radius: 18px;
  background: rgba(49,46,129,.06);
  border: 1px solid rgba(49,46,129,.10);
  cursor: pointer;
}

.cookie-toggle input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.cookie-toggle-ui{
  width: 44px;
  height: 28px;
  border-radius: 999px;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(0,0,0,.12);
  position: relative;
  flex: 0 0 auto;
  margin-top: 2px;
}
.cookie-toggle-ui::after{
  content:"";
  position:absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #fff;
  transition: transform .2s ease;
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
}

/* checked state (we’ll toggle with JS by adding .is-on on label) */
.cookie-toggle.is-on .cookie-toggle-ui{
  background: rgba(16,185,129,.55);
  border-color: rgba(16,185,129,.35);
}
.cookie-toggle.is-on .cookie-toggle-ui::after{
  transform: translateX(16px);
}

.cookie-help{
  display:block;
  margin-top: 4px;
  color: rgba(11,11,21,.68);
  font-size: 13px;
}

.cookie-actions--modal{
  margin-top: 14px;
  justify-content:flex-end;
}

@media (max-width: 980px){
  .cookie-card{ bottom: 10px;  }
  .cookie-actions--modal{ justify-content: stretch; }
  .cookie-actions--modal .btn{ width: 100%; }
}

/* Legal header (abstract, on-brand) */
.legal-hero{
  border-radius: var(--radius2);
  padding: 22px;
  border: 1px solid rgba(255,255,255,.14);
  background:
    radial-gradient(900px 420px at 15% 30%, rgba(255,255,255,.12), transparent 62%),
    radial-gradient(900px 420px at 80% 65%, rgba(16,185,129,.12), transparent 60%),
    linear-gradient(120deg, rgba(49,46,129,.60), rgba(49,46,129,.28) 55%, rgba(6,40,30,.22));
  box-shadow: var(--shadow);
}

.legal-card{
  border-radius: var(--radius2);
  background: #fff;
  color: #0b0b15;
  border: 1px solid rgba(0,0,0,.08);
  padding: 20px;
  box-shadow: 0 18px 60px rgba(0,0,0,.16);
}

.legal-text{
  color: rgba(11,11,21,.76);
  line-height: 1.75;
}

.legal-card a{
  color: #312E81;
  font-weight: 900;
  text-decoration: none;
}
.legal-card a:hover{ text-decoration: underline; text-underline-offset: 3px; }
