:root{
  --bg:#071a33;
  --bg2:#061428;
  --panel:rgba(255,255,255,.06);
  --panel2:rgba(255,255,255,.08);
  --border:rgba(255,255,255,.12);
  --text:#ffffff;
  --muted:rgba(255,255,255,.80);
  --muted2:rgba(255,255,255,.62);
  --accent:#ea6848;
  --accent2:#6bc4ea;
  --radius:18px;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family:Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
  color:var(--text);
}

/* Layout */
.container{
  width:min(1120px, calc(100% - 44px));
  margin:0 auto;
}

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(5,14,28,.72);
  backdrop-filter: blur(12px);
  border-bottom:1px solid rgba(255,255,255,.08);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:var(--text);
  min-width:280px;
}

.brand-logo{
  height:38px;
  width:auto;
  display:block;
  object-fit:contain;
}

.brand-text{
  display:flex;
  flex-direction:column;
  line-height:1.15;
}

.brand-name{
  font-weight:700;
  letter-spacing:.2px;
}

.brand-tag{
  font-size:12px;
  color:var(--muted2);
  margin-top:2px;
}

/* Nav */
.site-nav{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.site-nav a{
  color:rgba(255,255,255,.90);
  text-decoration:none;
  font-size:14px;
  padding:8px 10px;
  border-radius:999px;
}

.site-nav a:hover{
  background:rgba(255,255,255,.08);
}

.site-nav a.active{
  background:rgba(255,255,255,.10);
}

.nav-apply{
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.18);
  font-weight:600;
}

.nav-apply:hover{
  background:rgba(255,255,255,.14);
}

/* Hero */
.hero{
  padding:70px 0 40px;
}

.hero-grid{
  display:grid;
  /* KEEP: the good proportion you liked */
  grid-template-columns: 1.15fr .85fr;
  align-items:center;
  gap:34px;
}

.eyebrow{
  margin:0 0 14px;
  font-size:12px;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:rgba(255,255,255,.75);
}

h1{
  margin:0 0 14px;
  font-size:54px;
  line-height:1.05;
  letter-spacing:-.02em;
  color:#ffffff;
}

.lead{
  margin:0 0 22px;
  font-size:18px;
  line-height:1.55;
  color:rgba(255,255,255,.88);
  max-width:52ch;
}

.cta-row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:12px;
  text-decoration:none;
  font-weight:700;
  font-size:14px;
  border:1px solid transparent;
}

.btn.primary{
  background:linear-gradient(135deg, #ea6848 0%, #f07b5c 45%, #6bc4ea 100%);
  color:#061428;
  box-shadow:0 10px 24px rgba(234,104,72,.35);
  border:0;
  transition:transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.btn.primary:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 36px rgba(234,104,72,.45);
  filter:brightness(1.05);
}

.btn.ghost{
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.16);
  color:#fff;
}

.btn.ghost:hover{
  background:rgba(255,255,255,.10);
}

/* ============================
   HERO HEADSHOT — STOP CHASING
   Goal:
   - Keep the “much better” proportions (no tall card)
   - Keep photo contained + bottom aligned
   - Add a subtle rectangle stage WITHOUT changing hero height
============================ */

.hero-image{
  /* subtle stage only (no border, no padding, no big shadow) */
  background:transparent;
  border:0;
  overflow:hidden;

  /* IMPORTANT: do NOT force a tall hero */
  height:auto;

  /* create a consistent rectangle feel without blowing the layout */
  aspect-ratio: 4 / 3;

  display:flex;
  align-items:flex-end;
  justify-content:center;
}

.hero-image img{
  width:100%;
  height:100%;
  display:block;

  /* This keeps the ENTIRE cutout visible inside the rectangle */
  object-fit:contain;
  object-position:center bottom;

  border-radius:0;
  opacity:1;

  /* restore brightness without overdoing it */
  filter: brightness(1.04) contrast(1.03) saturate(1.02);
}

/* Sections */
.section{
  padding:64px 0;
}

.section.alt{
  background:rgba(255,255,255,.03);
  border-top:1px solid rgba(255,255,255,.06);
  border-bottom:1px solid rgba(255,255,255,.06);
}

h2{
  margin:0 0 12px;
  font-size:34px;
  letter-spacing:-.01em;
  color:#fff;
}

p{
  margin:0 0 12px;
  color:rgba(255,255,255,.86);
  line-height:1.7;
  max-width:78ch;
}

.grid-3{
  margin-top:18px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
}

.feature{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  padding:18px;
}

.feature h3{
  margin:0 0 8px;
  font-size:16px;
  color:#fff;
}

.feature p{
  margin:0;
  color:rgba(255,255,255,.82);
}

/* Footer */
.site-footer{
  padding:26px 0 110px;
  border-top:1px solid rgba(255,255,255,.08);
  background:rgba(5,14,28,.55);
}

.disclosure{
  color:rgba(255,255,255,.75);
  font-size:12.5px;
  line-height:1.5;
}

/* Legacy chat styles (harmless) */
.chatbot-launch{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:80;
  border-radius:999px;
  padding:12px 16px;
  font-weight:800;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.10);
  color:#fff;
  cursor:pointer;
}

.chatbot-launch:hover{
  background:rgba(255,255,255,.14);
}

.chatbot-modal{
  position:fixed;
  right:18px;
  bottom:90px;
  width:380px;
  height:560px;
  z-index:999999;
}

.chatbot-shell{
  width:100%;
  height:100%;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 20px 60px rgba(0,0,0,.45);
  background:#0b1e36;
  border:1px solid rgba(255,255,255,.14);
}

.chatbot-bar{
  height:52px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 12px;
  color:#fff;
}

.chatbot-close{
  background:transparent;
  border:0;
  color:#fff;
  font-size:18px;
  cursor:pointer;
}

.chatbot-modal iframe{
  width:100%;
  height:calc(100% - 52px);
  border:0;
  background:#fff;
}

#chatbox[hidden]{ display:none !important; }

/* Responsive */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns:1fr; }
  h1{ font-size:44px; }
  .grid-3{ grid-template-columns:1fr; }
  .brand{ min-width:unset; }

  .hero-image{
    aspect-ratio: 16 / 10; /* friendlier on phones */
  }

  .hero-image img{
    filter: brightness(1.03) contrast(1.02) saturate(1.02);
  }
}

@media (max-width: 430px){
  .chatbot-modal{
    right:10px;
    left:10px;
    width:auto;
    height:70vh;
    bottom:82px;
  }
}