:root{
  --bg0:#070A10;
  --bg1:#0B0F16;

  --text:#EAF2FF;
  --muted:rgba(234,242,255,.68);

  --line:rgba(234,242,255,.10);
  --line2:rgba(234,242,255,.16);

  --panel:rgba(255,255,255,.03);
  --panel2:rgba(255,255,255,.05);

  --a1:#8FB7FF;
  --a2:#7AF0D1;

  --radiusXL:28px;
  --radius:20px;
  --radiusSm:14px;

  --max:1180px;
  --padX:22px;

  --h1:clamp(40px, 5.2vw, 72px);
  --h2:clamp(24px, 2.8vw, 38px);
  --h3:clamp(18px, 1.8vw, 22px);
  --body:16px;
  --small:13px;
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  color:var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  font-size:var(--body);
  line-height:1.6;
  letter-spacing:.1px;
  background:
    radial-gradient(900px 600px at 15% 10%, rgba(143,183,255,.18), transparent 58%),
    radial-gradient(900px 600px at 90% 15%, rgba(122,240,209,.12), transparent 55%),
    radial-gradient(900px 700px at 50% 90%, rgba(255,255,255,.06), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  overflow-x:hidden;
}

/* noise + vignette */
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(closest-side at 50% 18%, rgba(0,0,0,0), rgba(0,0,0,.62)),
    repeating-linear-gradient(0deg, rgba(255,255,255,.010), rgba(255,255,255,.010) 1px, transparent 1px, transparent 3px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.006), rgba(255,255,255,.006) 1px, transparent 1px, transparent 4px);
  opacity:.85;
  mix-blend-mode:overlay;
  z-index:-1;
}

a{color:inherit; text-decoration:none}
a:hover{color:var(--text)}
p{margin:0 0 14px 0; color:var(--muted)}
strong{color:var(--text)}
hr{border:0; border-top:1px solid var(--line); margin:0}

.container{width:100%; max-width:var(--max); margin:0 auto; padding:0 var(--padX);}
.narrow{max-width:900px; margin:0 auto;}

h1,h2,h3{margin:0}
h1{
  font-family:"Fraunces", ui-serif, Georgia, serif;
  font-size:var(--h1);
  line-height:1.02;
  letter-spacing:-.9px;
}
h2{
  font-family:"Fraunces", ui-serif, Georgia, serif;
  font-size:var(--h2);
  line-height:1.15;
  letter-spacing:-.5px;
  margin-bottom:14px;
}
h3{
  font-size:var(--h3);
  letter-spacing:-.2px;
  margin-bottom:8px;
}

/* Top nav (new, not a floating shell) */
.nav{
  position:sticky;
  top:0;
  z-index:20;
  backdrop-filter: blur(12px);
  background: linear-gradient(180deg, rgba(7,10,16,.80), rgba(7,10,16,.50));
  border-bottom:1px solid rgba(234,242,255,.08);
}
.navInner{
  height:64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-weight:600; font-size:13px; letter-spacing:.3px;
  color:rgba(234,242,255,.92);
}
.brandMark{
  width:10px;height:10px;border-radius:999px;
  border:1px solid rgba(234,242,255,.22);
  background:linear-gradient(135deg, rgba(143,183,255,.45), rgba(122,240,209,.22));
}

.navLinks{
  display:flex; gap:6px; align-items:center;
  padding:6px;
  border-radius:999px;
  border:1px solid rgba(234,242,255,.08);
  background:rgba(255,255,255,.02);
}
.navLinks a{
  font-size:13px;
  color:rgba(234,242,255,.72);
  padding:8px 12px;
  border-radius:999px;
}
.navLinks a:hover{background:rgba(255,255,255,.04); color:rgba(234,242,255,.90)}
.navLinks a.active{background:rgba(255,255,255,.06); color:rgba(234,242,255,.96)}

.navRight{display:flex; gap:10px; align-items:center;}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:36px;
  padding:0 14px;
  border-radius:999px;
  border:1px solid rgba(234,242,255,.12);
  background:rgba(255,255,255,.03);
  color:rgba(234,242,255,.92);
  font-size:12px;
  position:relative;
  overflow:hidden;
  transition:transform .12s ease, background .12s ease, border-color .12s ease;
}
.btn::after{
  content:"";
  position:absolute;
  inset:-40px -60px;
  background: radial-gradient(120px 60px at 0% 50%, rgba(143,183,255,.18), transparent 60%);
  transform: translateX(-40%);
  opacity:0;
  transition:opacity .2s ease, transform .35s ease;
}
.btn:hover{background:rgba(255,255,255,.05); border-color:rgba(234,242,255,.18); transform:translateY(-1px);}
.btn:hover::after{opacity:1; transform: translateX(25%);}
.btn.primary{
  background: linear-gradient(135deg, rgba(143,183,255,.18), rgba(122,240,209,.10));
  border-color:rgba(234,242,255,.18);
}

.burger{
  width:38px; height:36px;
  border-radius:14px;
  border:1px solid rgba(234,242,255,.12);
  background:rgba(255,255,255,.03);
  display:none;
  align-items:center; justify-content:center;
  cursor:pointer;
}
.burger span{
  width:14px; height:2px; background:rgba(234,242,255,.72);
  border-radius:999px; position:relative; display:block;
}
.burger span::before,.burger span::after{
  content:""; position:absolute; left:0;
  width:14px; height:2px; background:rgba(234,242,255,.62);
  border-radius:999px;
}
.burger span::before{top:-5px}
.burger span::after{top:5px}

.mobileNav{
  display:none;
  border-bottom:1px solid rgba(234,242,255,.08);
  background: rgba(7,10,16,.70);
}
.mobileNav a{
  display:block;
  padding:12px 18px;
  color:rgba(234,242,255,.80);
  font-size:13px;
  border-top:1px solid rgba(234,242,255,.06);
}
.mobileNav a:hover{background:rgba(255,255,255,.03); color:rgba(234,242,255,.92)}

/* Hero (new: full-bleed editorial) */
.hero{
  padding:72px 0 46px;
}
.kicker{
  color:rgba(234,242,255,.64);
  font-size:11px;
  letter-spacing:1.4px;
  text-transform:uppercase;
  margin-bottom:14px;
}
.heroGrid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:34px;
  align-items:center;
}
.sub{
  max-width:660px;
  color:rgba(234,242,255,.70);
  margin-top:16px;
  margin-bottom:22px;
  font-size:14px;
}
.heroCard{
  border-radius:var(--radiusXL);
  border:1px solid rgba(234,242,255,.10);
  background:rgba(255,255,255,.02);
  overflow:hidden;
  position:relative;
}
.heroCard::after{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(420px 260px at 20% 20%, rgba(143,183,255,.18), transparent 60%);
  pointer-events:none;
  opacity:.65;
}
.heroCard img{display:block; width:100%; height:auto; opacity:.96}

/* Sections */
.section{padding:64px 0;}
.section.alt{
  border-top:1px solid rgba(234,242,255,.08);
  border-bottom:1px solid rgba(234,242,255,.08);
  background:rgba(255,255,255,.02);
}

/* Cards */
.grid{display:grid; grid-template-columns:repeat(12,1fr); gap:14px;}
.card{
  border:1px solid rgba(234,242,255,.10);
  background:rgba(255,255,255,.02);
  border-radius:var(--radius);
  padding:16px 16px 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.card:hover{border-color:rgba(234,242,255,.16); background:rgba(255,255,255,.025)}
.card p{margin:0; color:rgba(234,242,255,.68); font-size:13px}

.ficon{
  width:28px;height:28px;border-radius:12px;
  border:1px solid rgba(234,242,255,.12);
  background:linear-gradient(135deg, rgba(143,183,255,.10), rgba(122,240,209,.06));
  display:flex; align-items:center; justify-content:center;
  margin-bottom:10px;
}

/* Project list cards (new: image on top) */
.workCard{
  padding:14px;
}
.workShot{
  width:100%;
  border-radius:18px;
  border:1px solid rgba(234,242,255,.10);
  background:rgba(255,255,255,.02);
  overflow:hidden;
  margin-bottom:14px;
}
.workShot img{display:block; width:100%; height:auto; opacity:.97}

.meta{display:flex; gap:8px; flex-wrap:wrap; margin-top:10px;}
.pill{
  border:1px solid rgba(234,242,255,.12);
  padding:6px 10px;
  border-radius:999px;
  background:rgba(0,0,0,.18);
  color:rgba(234,242,255,.70);
  font-size:12px;
}
.link{
  display:inline-flex; align-items:center; gap:8px;
  margin-top:12px;
  color:rgba(234,242,255,.92);
  font-size:13px;
}

.note{
  border-left:2px solid rgba(234,242,255,.22);
  padding-left:14px;
  color:rgba(234,242,255,.66);
}

.footer{
  padding:34px 0 58px;
  color:rgba(234,242,255,.72);
  font-size:13px;
  border-top:1px solid rgba(234,242,255,.08);
  background:rgba(255,255,255,.02);
}
.footer .cols{display:flex; justify-content:space-between; gap:18px; flex-wrap:wrap;}
.footer a{color:rgba(234,242,255,.72)}
.footer a:hover{color:rgba(234,242,255,.92)}

.form{max-width:560px; display:grid; gap:12px; margin-top:18px;}
input, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(234,242,255,.10);
  background:rgba(255,255,255,.02);
  color:var(--text);
  font:inherit;
}
input:focus, textarea:focus{outline:none; border-color:rgba(234,242,255,.18); background:rgba(255,255,255,.03);}
textarea{min-height:150px; resize:vertical}
label{font-size:11px; letter-spacing:1.1px; text-transform:uppercase; color:rgba(234,242,255,.62)}
small{color:rgba(234,242,255,.60)}

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

@media (max-width: 980px){
  .heroGrid{grid-template-columns:1fr; gap:18px;}
  .navLinks{display:none;}
  .burger{display:flex;}
  .mobileNav{display:none;}
}


/* Utilities */
.btnRow{display:flex; gap:12px; flex-wrap:wrap;}
.lede{font-size:15px; color:rgba(234,242,255,.72)}
.split{display:grid; grid-template-columns: 1fr 1fr; gap:16px;}
@media (max-width: 980px){ .split{grid-template-columns:1fr;} }

/* Stats / chips */
.chips{display:flex; flex-wrap:wrap; gap:8px; margin-top:12px;}
.chip{
  display:inline-flex; align-items:center;
  padding:7px 11px;
  border-radius:999px;
  border:1px solid rgba(234,242,255,.12);
  background:rgba(0,0,0,.18);
  color:rgba(234,242,255,.74);
  font-size:12px;
}
.statGrid{display:grid; grid-template-columns:repeat(12,1fr); gap:14px; margin-top:16px;}
.stat{grid-column: span 4; border:1px solid rgba(234,242,255,.10); background:rgba(255,255,255,.02); border-radius:20px; padding:16px;}
.stat .k{font-size:11px; letter-spacing:1.2px; text-transform:uppercase; color:rgba(234,242,255,.60); margin-bottom:8px;}
.stat .v{font-family:"Fraunces", ui-serif, Georgia, serif; font-size:22px; letter-spacing:-.3px; color:rgba(234,242,255,.92); margin-bottom:8px;}
.stat p{margin:0; font-size:13px;}
@media (max-width: 980px){ .stat{grid-column:span 12;} }

/* Inline lists */
.ul{margin:10px 0 0 0; padding-left:18px; color:rgba(234,242,255,.70);}
.ul li{margin:6px 0;}

/* Section headline spacing */
.section h2 + p{margin-top:-6px;}
