:root{
  --bg:#0c0e12; --bg-soft:#12161d; --card:#161b24;
  --text:#e8ecf1; --muted:#9ca6b4;
  --brand:#7cc4ff; --brand2:#9d7cff; --ring:0 0 0 3px rgba(124,196,255,0.25);
}

*{box-sizing:border-box} html,body{margin:0;padding:0}
body{
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:linear-gradient(180deg,#0a0c10,#0c0e12 40%);
  line-height:1.6;
}
.wrap{max-width:1100px;margin:0 auto;padding:0 20px}

/* Floating logo (always visible) */
.floating-logo{
  position:fixed; top:14px; left:14px; z-index:1000;
  display:inline-block; border-radius:10px;
  padding:4px; background:rgba(12,14,18,0.4); backdrop-filter:blur(6px);
  border:1px solid rgba(255,255,255,0.1);
}
.floating-logo img{width:36px; height:auto; display:block}

/* Header */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(12,14,18,0.7); backdrop-filter:blur(8px);
  border-bottom:1px solid rgba(255,255,255,0.06)
}
.site-header .wrap{display:flex; align-items:center; justify-content:flex-end; height:60px}
.nav a{color:var(--text); text-decoration:none; margin-left:18px; opacity:.9}
.nav a:hover{opacity:1}

/* Hero banner */
.hero{position:relative; height:52vh; min-height:420px; display:grid; place-items:center; overflow:hidden}
.hero-img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; filter:contrast(1.1) saturate(1.2) brightness(.65);}
.hero-content{position:relative; text-align:center}
.hero h1{font-size:clamp(28px,4.5vw,48px); margin:0 0 10px}
.tagline{font-size:clamp(16px,2.2vw,20px); color:var(--muted); margin:0 0 20px}

.section{padding:64px 0}
.section.alt{background:linear-gradient(180deg,var(--bg),var(--bg-soft))}
h2{font-size:clamp(22px,3vw,30px); margin:0 0 18px}
.bio{font-size:18px; color:var(--text); opacity:.95; max-width:900px}
.muted{color:var(--muted)} .small{font-size:14px}

/* Cards grid */
.cards{display:grid; grid-template-columns:repeat(12,1fr); gap:18px; margin-top:22px}
.card{
  grid-column:span 6; background:var(--card); border:1px solid rgba(255,255,255,0.06);
  border-radius:14px; padding:18px 18px 10px; box-shadow:0 10px 30px rgba(0,0,0,.25)
}
.card h3{margin:0 0 10px} .card ul{margin:0 0 4px 18px}
@media (max-width:880px){ .card{grid-column:span 12} }

/* CTA */
.cta{
  text-align:center; background:linear-gradient(135deg,rgba(124,196,255,.15),rgba(157,124,255,.12));
  border:1px solid rgba(255,255,255,0.08); border-radius:16px; padding:28px
}

/* Contact */
.contact-grid{display:grid; grid-template-columns:1.2fr .8fr; gap:24px}
@media (max-width:900px){ .contact-grid{grid-template-columns:1fr} }
.contact-form,.contact-card{
  background:var(--card); border:1px solid rgba(255,255,255,0.06); border-radius:14px; padding:18px;
}
label{display:block; margin-bottom:12px}
label span{display:block; margin-bottom:6px; color:var(--muted); font-size:14px}
input,textarea{
  width:100%; padding:12px; border-radius:10px; border:1px solid rgba(255,255,255,0.1);
  background:#0e1218; color:var(--text); outline:none
}
input:focus,textarea:focus{box-shadow:var(--ring); border-color:rgba(124,196,255,.35)}
.contact-list{list-style:none; padding:0; margin:12px 0 16px}
.contact-list li{margin:6px 0}

/* Buttons */
.btn{
  display:inline-block; padding:12px 16px; border-radius:12px; border:1px solid rgba(255,255,255,0.18);
  background:linear-gradient(135deg,rgba(124,196,255,.2),rgba(157,124,255,.2));
  text-decoration:none; color:var(--text); font-weight:600; backdrop-filter:blur(3px)
}
.btn:hover{transform:translateY(-1px)}
.btn.small{padding:8px 12px; font-size:14px}
.btn.secondary{background:transparent; border-color:rgba(255,255,255,0.24)}

/* Footer */
.site-footer{
  border-top:1px solid rgba(255,255,255,0.06);
  padding:20px 0; background:linear-gradient(180deg,var(--bg-soft),#0b0d12)
}
.site-footer .wrap{display:flex; gap:16px; align-items:center; justify-content:space-between; flex-wrap:wrap}
.footnav a{color:var(--muted); text-decoration:none; margin-left:14px}
.footnav a:hover{color:var(--text)}

/* --- SOLID BLACK BEHIND THE HERO TEXT --- */
.hero { position: relative; }
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  z-index: 0;
}

/* One black plate behind heading + tagline (+ button) — with feathered edges */
.hero-content {
  position: relative;
  z-index: 1;                 /* above the image */
  display: inline-block;      /* shrink to content width */
  padding: 16px 20px;
  border-radius: 14px;
  text-align: center;
  background: transparent;    /* <-- was #000; must be transparent so the fade shows */
}


.hero h1 { margin: 0 0 8px; }
.tagline { margin: 0 0 14px; color: #e8ecf1; } /* keep light text */
.hero .btn { margin-top: 2px; }                /* tiny breathing room */


/* Feathered edges for the hero plate */
.hero-content {
  position: relative;
  z-index: 2;                 /* stays above the image */
  display: inline-block;
  padding: 16px 20px;
  border-radius: 14px;
}

/* Soft black with faded edges */
.hero-content::before {
  content: "";
  position: absolute;
  inset: -12px;               /* widen the fade area */
  border-radius: 22px;
  background: #000;           /* the black lives here */
  z-index: -1;                /* sits behind the text */
  pointer-events: none;

  /* feather the edges (Chrome/Edge + others) */
  -webkit-mask-image: radial-gradient(125% 145% at 50% 50%, rgba(0,0,0,1) 22%, rgba(0,0,0,0) 85%);
  mask-image: radial-gradient(125% 145% at 50% 50%, rgba(0,0,0,1) 22%, rgba(0,0,0,0) 85%);

  /* optional extra softness */
  filter: blur(1.6px);
}
