:root{
  --bg:#0A0B10;
  --bg-2:#0F1117;
  --card:rgba(255,255,255,0.045);
  --card-border:rgba(255,255,255,0.09);
  --text:#F4F4F7;
  --text-dim:#9A9CA8;
  --text-faint:#6B6D78;

  --violet:#8B5CF6;
  --pink:#EC4899;
  --orange:#F5A524;
  --cyan:#22D3EE;
  --green:#34D399;

  --grad-1: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
  --grad-2: linear-gradient(135deg, #22D3EE 0%, #34D399 100%);
  --grad-3: linear-gradient(135deg, #F5A524 0%, #EC4899 100%);
  --grad-4: linear-gradient(135deg, #34D399 0%, #22D3EE 100%);

  --radius-lg:24px;
  --radius-md:16px;
  --radius-sm:10px;
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  background:var(--bg);
  color:var(--text);
  font-family:'Inter', sans-serif;
  line-height:1.6;
  overflow-x:hidden;
}
@media (prefers-reduced-motion: reduce){ *{animation:none !important; transition:none !important;} }
a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}
::selection{background:var(--violet); color:#fff;}

/* Keyboard focus — visible ring for keyboard users, not on mouse click */
:focus-visible{
  outline:2px solid var(--cyan);
  outline-offset:3px;
  border-radius:4px;
}

/* Skip link: hidden until focused by keyboard */
.skip-link{
  position:absolute; left:-9999px; top:0; z-index:100;
  background:var(--violet); color:#fff; padding:12px 20px;
  border-radius:0 0 10px 0; font-weight:600; font-size:14px;
}
.skip-link:focus{ left:0; }

.wrap{max-width:1180px; margin:0 auto; padding:0 28px;}
h1,h2,h3{font-family:'Sora', sans-serif; font-weight:700; letter-spacing:-0.02em;}

.gradient-text{
  background:var(--grad-1);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}

.pill{
  font-family:'JetBrains Mono', monospace; font-size:12px; letter-spacing:0.06em;
  text-transform:uppercase; padding:7px 14px; border-radius:100px;
  border:1px solid var(--card-border); background:var(--card);
  display:inline-flex; align-items:center; gap:8px;
}
.pill .dot{width:6px; height:6px; border-radius:50%; background:var(--green); box-shadow:0 0 8px var(--green);}

/* ================= NAV ================= */
nav{
  position:fixed; top:0; left:0; right:0; z-index:50;
  background:rgba(10,11,16,0.7); backdrop-filter:blur(16px);
  border-bottom:1px solid var(--card-border);
}
.nav-inner{max-width:1180px; margin:0 auto; padding:18px 28px; display:flex; align-items:center; justify-content:space-between;}
.logo{font-family:'Sora', sans-serif; font-weight:800; font-size:18px; display:flex; align-items:center; gap:10px;}
.logo-mark{
  width:30px; height:30px; border-radius:9px; background:var(--grad-1);
  display:flex; align-items:center; justify-content:center; font-size:14px; font-weight:800; color:#fff;
}
.nav-links{display:flex; gap:32px; font-size:14.5px; font-weight:500; color:var(--text-dim);}
.nav-links a:hover{color:var(--text);}
.nav-cta{
  background:var(--grad-1); padding:10px 20px; border-radius:100px;
  font-weight:600; font-size:14px; box-shadow:0 0 24px rgba(139,92,246,0.35);
}
.nav-toggle{display:none; background:none; border:none; color:var(--text); font-size:22px; cursor:pointer; line-height:1; padding:6px 10px; border-radius:8px;}
@media (max-width:900px){
  .nav-toggle{display:block;}
  /* Mobile: nav collapses into a dropdown under the bar, opened by .is-open.
     Uses display toggling rather than max-height/visibility transitions —
     simpler and avoids the transition edge cases on discrete properties. */
  .nav-links{ display:none; }
  .nav-links.is-open{
    display:flex; flex-direction:column; gap:0;
    position:absolute; top:100%; left:0; right:0;
    background:#0D0E14;
    border-bottom:1px solid var(--card-border);
    box-shadow:0 18px 40px -12px rgba(0,0,0,0.85);
    padding:8px 0;
    max-height:75vh; overflow-y:auto;
    animation:navSlide .22s ease;
  }
  @keyframes navSlide{ from{ opacity:0; transform:translateY(-6px); } to{ opacity:1; transform:none; } }
  .nav-links > a{ padding:14px 28px; font-size:16px; border-bottom:1px solid rgba(255,255,255,0.05); }
  .nav-links > a:last-child{ border-bottom:none; }
  nav{ position:fixed; }
  .nav-inner{ position:relative; }
}

/* ================= HERO ================= */
.hero{
  position:relative; padding:170px 0 120px; overflow:hidden;
}
.blob{
  position:absolute; border-radius:50%; filter:blur(80px); opacity:0.45; z-index:0;
  pointer-events:none;
  animation:float 14s ease-in-out infinite;
}
.blob-1{ width:420px; height:420px; background:var(--violet); top:-120px; left:-100px; }
.blob-2{ width:380px; height:380px; background:var(--cyan); top:60px; right:-140px; animation-delay:3s; }
.blob-3{ width:300px; height:300px; background:var(--pink); bottom:-160px; left:30%; animation-delay:6s; }
@keyframes float{
  0%,100%{ transform:translateY(0) scale(1); }
  50%{ transform:translateY(-30px) scale(1.08); }
}

.hero-inner{position:relative; z-index:1; display:grid; grid-template-columns:1.15fr 0.85fr; gap:50px; align-items:center;}
@media (max-width:900px){ .hero-inner{grid-template-columns:1fr;} }

.hero-photo-wrap{
  position:relative; border-radius:28px; padding:3px;
  background:var(--grad-1);
  box-shadow:0 0 60px rgba(139,92,246,0.35);
}
.hero-photo-wrap img{
  width:100%; height:560px; object-fit:cover; border-radius:26px; display:block;
}
.hero-badge{
  position:absolute; bottom:18px; left:18px; right:18px;
  background:rgba(10,11,16,0.7); backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,0.15); border-radius:14px;
  padding:12px 16px; display:flex; align-items:center; gap:10px;
}
.hero-badge .dot{width:7px; height:7px; border-radius:50%; background:var(--green); box-shadow:0 0 8px var(--green); flex-shrink:0;}
.hero-badge span{font-family:'JetBrains Mono', monospace; font-size:12px; color:var(--text-dim);}
@media (max-width:900px){ .hero-photo-wrap img{height:420px;} }

.hero-content{position:relative; z-index:1; max-width:780px;}
.hero h1{font-size:clamp(42px,7vw,76px); line-height:1.05; margin:22px 0 24px;}
.hero p.lede{font-size:19px; color:var(--text-dim); max-width:560px; margin-bottom:38px;}
.hero-actions{display:flex; gap:16px; flex-wrap:wrap; align-items:center; margin-bottom:60px;}

.btn-primary{
  background:var(--grad-1); color:#fff; padding:15px 28px; border-radius:100px;
  font-weight:600; font-size:15px; box-shadow:0 0 30px rgba(139,92,246,0.4);
  transition:transform .2s, box-shadow .2s; display:inline-block;
}
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 0 40px rgba(139,92,246,0.6); }
.btn-secondary{
  border:1px solid var(--card-border); background:var(--card); padding:15px 26px;
  border-radius:100px; font-weight:600; font-size:15px; transition:border-color .2s; display:inline-block;
}
.btn-secondary:hover{border-color:rgba(255,255,255,0.3);}

.stat-row{display:flex; gap:36px; flex-wrap:wrap;}
.stat{}
.stat .num{font-family:'Sora', sans-serif; font-weight:800; font-size:28px;}
.stat .label{font-size:12.5px; color:var(--text-faint); font-family:'JetBrains Mono', monospace; letter-spacing:0.04em;}
@media (max-width:560px){
  .stat-row{display:grid; grid-template-columns:1fr 1fr; gap:20px 18px;}
  .stat .num{font-size:21px;}
  .stat .label{font-size:10.5px; line-height:1.45;}
}

/* ================= SECTION HEAD ================= */
.section{padding:110px 0; position:relative;}
.section-head{max-width:620px; margin-bottom:56px;}
.section-head h2{font-size:clamp(30px,4.4vw,44px); margin:16px 0 16px;}
.section-head p{color:var(--text-dim); font-size:16.5px;}

/* ================= SERVICES — BENTO CARDS ================= */
.services-grid{
  display:grid; grid-template-columns:repeat(5,1fr); gap:20px;
}
@media (max-width:1100px){ .services-grid{grid-template-columns:repeat(3,1fr);} }
@media (max-width:700px){ .services-grid{grid-template-columns:repeat(2,1fr);} }
@media (max-width:460px){ .services-grid{grid-template-columns:1fr;} }

.service-card{
  background:var(--card); border:1px solid var(--card-border); border-radius:var(--radius-lg);
  padding:26px 20px; position:relative; overflow:hidden;
  transition:transform .3s, border-color .3s;
}
.service-card::before{
  content:''; position:absolute; inset:0; opacity:0; transition:opacity .3s;
  background:radial-gradient(circle at 30% 0%, rgba(255,255,255,0.08), transparent 60%);
  pointer-events:none; /* decorative only — must not swallow clicks on the card's links */
}
.service-card:hover{ transform:translateY(-8px); border-color:rgba(255,255,255,0.2); }
.service-card:hover::before{ opacity:1; }
.service-icon{
  width:48px; height:48px; border-radius:14px; display:flex; align-items:center; justify-content:center;
  margin-bottom:22px; box-shadow:0 8px 24px -8px rgba(0,0,0,0.5); color:#fff;
}
.service-icon svg{width:22px; height:22px; display:block;}
.icon-1{background:var(--grad-1);}
.icon-2{background:var(--grad-3);}
.icon-3{background:var(--grad-2);}
.icon-4{background:var(--grad-4);}
.icon-5{background:var(--grad-1);}
.service-card h3{font-size:17.5px; margin-bottom:10px;}
.service-card p{font-size:13.5px; color:var(--text-dim);}

/* ================= PORTFOLIO ================= */
.portfolio-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:24px;}
@media (max-width:760px){
  .portfolio-grid{grid-template-columns:1fr;}
  .portfolio-grid .port-card[style*="grid-column"] > div { grid-template-columns:1fr !important; }
}

.port-card{
  background:var(--card); border:1px solid var(--card-border); border-radius:var(--radius-lg);
  overflow:hidden; transition:transform .3s, border-color .3s;
}
.port-card:hover{ transform:translateY(-6px); border-color:rgba(255,255,255,0.2); }
.port-thumb-link{display:block;}
.port-thumb{
  height:200px; position:relative; display:flex; align-items:center; justify-content:center;
  font-family:'JetBrains Mono', monospace; font-size:12px; color:rgba(255,255,255,0.55);
  border-bottom:1px solid var(--card-border);
}
.thumb-1{background:linear-gradient(135deg, rgba(139,92,246,0.35), rgba(236,72,153,0.25));}
.thumb-2{background:linear-gradient(135deg, rgba(34,211,238,0.3), rgba(52,211,153,0.25));}
.thumb-3{background:linear-gradient(135deg, rgba(245,165,36,0.3), rgba(236,72,153,0.25));}
.thumb-4{background:linear-gradient(135deg, rgba(52,211,153,0.3), rgba(34,211,238,0.25));}
.port-body{padding:24px 26px 28px;}
.port-tags{display:flex; gap:8px; margin-bottom:14px; flex-wrap:wrap;}
.chip{
  font-family:'JetBrains Mono', monospace; font-size:11px; letter-spacing:0.04em;
  padding:4px 10px; border-radius:100px; border:1px solid var(--card-border); color:var(--text-dim);
}
.port-body h3{font-size:19px; margin-bottom:10px;}
.port-body h3 a:hover{text-decoration:underline;}
.port-body p{font-size:14px; color:var(--text-dim); margin-bottom:16px;}
.port-links-row{display:flex; gap:20px; flex-wrap:wrap; align-items:center;}
.port-link{font-size:13.5px; font-weight:600; color:var(--cyan); display:inline-flex; align-items:center; gap:6px;}
.port-link::after{content:'↗'; transition:transform .2s;}
.port-link:hover::after{transform:translate(2px,-2px);}
.port-link.internal::after{content:'→';}
.port-link.ext{color:var(--text-dim);}
.port-link.ext:hover{color:var(--text);}

.placeholder-tag{
  font-family:'JetBrains Mono', monospace; font-size:11px; color:var(--orange);
  border:1px dashed rgba(245,165,36,0.4); padding:4px 10px; border-radius:8px; display:inline-block;
}

/* ================= PUBLICATIONS ================= */
.pub-grid{display:grid; grid-template-columns:repeat(auto-fit, minmax(240px,1fr)); gap:22px;}
@media (max-width:880px){ .pub-grid{grid-template-columns:1fr;} }
.pub-card{
  background:var(--card); border:1px solid var(--card-border); border-radius:var(--radius-md);
  padding:26px 24px; transition:transform .3s, border-color .3s;
}
.pub-card:hover{ transform:translateY(-5px); border-color:rgba(255,255,255,0.2); }
.pub-outlet{
  font-family:'JetBrains Mono', monospace; font-size:11.5px; letter-spacing:0.05em;
  color:var(--orange); margin-bottom:14px; text-transform:uppercase;
}
.pub-card h3{font-size:17px; margin-bottom:10px; line-height:1.3;}
.pub-card p{font-size:13.5px; color:var(--text-dim); margin-bottom:16px;}
.pub-read{font-size:13px; font-weight:600; color:var(--green);}

/* ================= TESTIMONIALS ================= */
.testi-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:22px;}
@media (max-width:760px){ .testi-grid{grid-template-columns:1fr;} }

.testi-card{
  background:var(--card); border:1px solid var(--card-border); border-radius:var(--radius-lg);
  padding:28px 24px; position:relative;
  display:flex; flex-direction:column; height:100%;
}
.quote-mark{
  font-family:'Sora', sans-serif; font-size:46px; font-weight:800; line-height:1;
  background:var(--grad-1); -webkit-background-clip:text; background-clip:text; color:transparent;
  margin-bottom:6px; display:block;
}
.testi-quote{font-size:15px; color:var(--text); margin-bottom:24px; line-height:1.65;}
.testi-person{display:flex; align-items:center; gap:12px; margin-top:auto;}
.avatar-ring{
  width:52px; height:52px; border-radius:50%; padding:2px; background:var(--grad-2); flex-shrink:0;
}
.avatar-inner{
  width:100%; height:100%; border-radius:50%; background:var(--bg-2);
  display:flex; align-items:center; justify-content:center;
  font-family:'JetBrains Mono', monospace; font-size:8px; color:var(--text-faint); text-align:center;
  overflow:hidden;
}
.avatar-inner img{width:100%; height:100%; object-fit:cover; border-radius:50%;}
.testi-person .name{font-weight:600; font-size:14px;}
.testi-person .role{font-size:12.5px; color:var(--text-dim);}

.video-card .video-frame{
  height:170px; border-radius:var(--radius-md); margin-bottom:22px; position:relative;
  background:linear-gradient(135deg, rgba(139,92,246,0.4), rgba(34,211,238,0.3));
  display:flex; align-items:center; justify-content:center; overflow:hidden;
}
.play-btn{
  width:54px; height:54px; border-radius:50%; background:rgba(255,255,255,0.95);
  display:flex; align-items:center; justify-content:center; font-size:16px; color:#0A0B10;
  box-shadow:0 0 30px rgba(0,0,0,0.3);
}
.video-frame .label{position:absolute; bottom:12px; left:14px; font-family:'JetBrains Mono', monospace; font-size:10px; color:rgba(255,255,255,0.8);}

/* ================= CTA / FOOTER ================= */
.cta-banner{
  margin:0 28px; max-width:1124px; margin-left:auto; margin-right:auto;
  background:var(--grad-1); border-radius:32px; padding:70px 50px; position:relative; overflow:hidden;
  text-align:center;
}
.cta-banner::before{
  content:''; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(circle at 70% 20%, rgba(255,255,255,0.25), transparent 50%);
}
.cta-banner h2{position:relative; z-index:1; color:#fff; font-size:clamp(28px,5vw,42px); margin-bottom:16px;}
.cta-banner p{position:relative; z-index:1; color:rgba(255,255,255,0.9); font-size:16.5px; max-width:480px; margin:0 auto 32px;}
.btn-on-grad{
  position:relative; z-index:1; background:#0A0B10; color:#fff; padding:15px 30px;
  border-radius:100px; font-weight:600; font-size:15px; display:inline-block;
}

.action-section{padding:0 0 110px;}
.action-grid{
  display:grid; grid-template-columns:0.9fr 1.1fr; gap:50px; align-items:center;
}
@media (max-width:900px){ .action-grid{grid-template-columns:1fr;} }
.action-photo-wrap{
  position:relative; border-radius:28px; padding:3px; background:var(--grad-2);
  box-shadow:0 0 50px rgba(34,211,238,0.25);
}
.action-photo-wrap img{
  width:100%; height:480px; object-fit:cover; border-radius:26px; display:block;
}
.action-text h2{font-size:clamp(28px,4vw,38px); margin:16px 0 18px;}
.action-text p{color:var(--text-dim); font-size:16.5px; margin-bottom:24px; max-width:480px;}
.action-points{display:flex; flex-direction:column; gap:14px;}
.action-point{display:flex; align-items:center; gap:12px; font-size:14.5px; color:var(--text);}
.action-point .check{
  width:24px; height:24px; border-radius:7px; background:var(--grad-2); flex-shrink:0;
  display:flex; align-items:center; justify-content:center; font-size:12px; color:#0A0B10; font-weight:700;
}

footer{padding:90px 0 40px;}
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px;
  border-top:1px solid var(--card-border); padding-top:28px; margin-top:60px;
  font-family:'JetBrains Mono', monospace; font-size:12px; color:var(--text-faint);
}
.footer-socials{display:flex; gap:20px;}
.footer-socials a:hover{color:var(--text);}

.featured-inner{display:grid; grid-template-columns:1.4fr 0.6fr; min-height:260px;}
@media(max-width:760px){.featured-inner{grid-template-columns:1fr;}}
.featured-inner .port-thumb{height:240px;}

.featured-section{overflow:hidden; padding-top:90px;}
.featured-section .wrap{position:relative; z-index:1;}
.blob-featured{width:520px; height:520px; background:var(--orange); top:-200px; right:-160px; opacity:0.22;}
.featured-card{border-color:rgba(245,165,36,0.45);}

/* ================= ABOUT ================= */
.about-grid{display:grid; grid-template-columns:1.15fr 0.85fr; gap:44px; align-items:start;}
@media (max-width:900px){ .about-grid{grid-template-columns:1fr; gap:32px;} }
.about-text p{color:var(--text-dim); font-size:16.5px; margin-bottom:20px;}
.about-text p:last-child{margin-bottom:0;}
.edu-card{
  background:var(--card); border:1px solid var(--card-border); border-radius:var(--radius-lg);
  padding:28px 26px;
}
.edu-card h3{
  font-size:12.5px; color:var(--text-faint); font-family:'JetBrains Mono', monospace;
  text-transform:uppercase; letter-spacing:0.06em; margin-bottom:20px;
}
.edu-item{padding:14px 0; border-bottom:1px solid var(--card-border);}
.edu-item:last-child{border-bottom:none; padding-bottom:0;}
.edu-item:first-of-type{padding-top:0;}
.edu-degree{font-weight:600; font-size:14.5px; line-height:1.35; margin-bottom:4px;}
.edu-school{font-size:13px; color:var(--text-dim);}

/* ================= FAQ ================= */
.faq-list{display:grid; gap:14px; max-width:820px;}
.faq-item{
  background:var(--card); border:1px solid var(--card-border); border-radius:var(--radius-md);
  overflow:hidden; transition:border-color .25s;
}
.faq-item[open]{border-color:rgba(255,255,255,0.2);}
.faq-item summary{
  cursor:pointer; padding:20px 24px; font-family:'Sora', sans-serif; font-weight:600; font-size:16px;
  display:flex; align-items:center; justify-content:space-between; gap:16px; list-style:none;
}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{
  content:'+'; flex-shrink:0; font-size:22px; font-weight:400; color:var(--text-dim);
  transition:transform .25s; line-height:1;
}
.faq-item[open] summary::after{transform:rotate(45deg);}
.faq-item summary:hover{color:var(--text);}
.faq-answer{padding:0 24px 22px; color:var(--text-dim); font-size:15px; line-height:1.7;}

/* ================= CONTACT FORM ================= */
.contact-grid{display:grid; grid-template-columns:0.85fr 1.15fr; gap:50px; align-items:start;}
@media (max-width:900px){ .contact-grid{grid-template-columns:1fr; gap:36px;} }
.contact-aside h2{font-size:clamp(28px,4vw,38px); margin:16px 0 18px;}
.contact-aside p{color:var(--text-dim); font-size:16.5px; margin-bottom:26px;}
.contact-direct{display:flex; flex-direction:column; gap:14px;}
.contact-direct a{display:flex; align-items:center; gap:12px; font-size:15px; color:var(--text-dim);}
.contact-direct a:hover{color:var(--text);}
.contact-direct .ico{
  width:34px; height:34px; border-radius:10px; background:var(--card);
  border:1px solid var(--card-border); display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.contact-direct .ico svg{width:16px; height:16px;}

.contact-form{
  background:var(--card); border:1px solid var(--card-border); border-radius:var(--radius-lg);
  padding:30px 28px;
}
.form-row{display:grid; grid-template-columns:1fr 1fr; gap:16px;}
@media (max-width:560px){ .form-row{grid-template-columns:1fr;} }
.field{margin-bottom:18px;}
.field label{display:block; font-size:13.5px; font-weight:600; margin-bottom:8px;}
.field .req{color:var(--pink);}
.field input, .field select, .field textarea{
  width:100%; background:rgba(255,255,255,0.04); color:var(--text);
  border:1px solid var(--card-border); border-radius:var(--radius-sm);
  padding:12px 14px; font-family:'Inter', sans-serif; font-size:14.5px;
  transition:border-color .2s, background .2s;
}
.field input::placeholder, .field textarea::placeholder{color:var(--text-faint);}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color:var(--violet); background:rgba(255,255,255,0.06);
}
.field textarea{resize:vertical; min-height:120px;}
.field select{appearance:none; cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239A9CA8' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 14px center; background-size:12px; padding-right:38px;}
.field select option{background:var(--bg-2); color:var(--text);}
.form-submit{width:100%; border:none; cursor:pointer; font-family:'Inter', sans-serif;}
.form-note{font-size:12.5px; color:var(--text-faint); margin-top:14px; text-align:center;}

/* ================= MENTORSHIP ================= */
.mentor-grid-layout{display:grid; grid-template-columns:1.05fr 0.75fr; gap:50px; align-items:center;}
@media (max-width:900px){ .mentor-grid-layout{grid-template-columns:1fr;} }
.mentor-photo-wrap{
  position:relative; border-radius:28px; padding:3px; background:var(--grad-3);
  box-shadow:0 0 50px rgba(245,165,36,0.25);
}
.mentor-photo-wrap img{width:100%; height:440px; object-fit:cover; border-radius:26px; display:block;}
@media (max-width:900px){ .mentor-photo-wrap img{height:360px;} }
.mentor-card{padding:30px 28px; margin-top:30px;}
.mentor-card .action-points{gap:18px;}
.mentor-card .action-point{font-size:15px;}
.mentor-note{color:var(--text-dim); font-size:14.5px; margin-top:22px; padding-top:22px; border-top:1px solid var(--card-border);}

/* ================= PROJECT CASE STUDY PAGES ================= */
.proj-hero{padding:150px 0 0;}
.breadcrumb{display:flex; align-items:center; flex-wrap:wrap; gap:4px 8px; color:var(--text-faint); font-size:13.5px; font-family:'JetBrains Mono', monospace; margin-bottom:28px; line-height:1.5;}
@media (max-width:600px){
  /* On narrow screens show only the trail, not the current page title —
     it is already the H1 directly beneath. */
  .breadcrumb{font-size:12px; gap:3px 6px;}
  .breadcrumb > span:last-child{display:none;}
  .breadcrumb > span:nth-last-child(2){display:none;}
}
.breadcrumb a{color:var(--text-dim);}
.breadcrumb a:hover{color:var(--text);}
.proj-title{font-size:clamp(34px,5.5vw,56px); margin:18px 0 20px; line-height:1.08;}
.proj-lede{font-size:18px; color:var(--text-dim); max-width:640px; margin-bottom:36px;}
.proj-actions{display:flex; gap:16px; flex-wrap:wrap; margin-bottom:56px;}

.proj-thumb{
  border-radius:var(--radius-lg); overflow:hidden; border:1px solid var(--card-border);
  margin-bottom:70px; background:var(--card);
}
.proj-thumb img{width:100%; display:block;}
.proj-thumb.placeholder{height:420px; display:flex; align-items:center; justify-content:center;}

.proj-grid{display:grid; grid-template-columns:1.5fr 1fr; gap:50px; align-items:start;}
@media (max-width:900px){ .proj-grid{grid-template-columns:1fr;} }

.proj-overview h2{font-size:24px; margin-bottom:18px;}
.proj-overview p{color:var(--text-dim); font-size:16px; margin-bottom:20px;}

.proj-list{display:flex; flex-direction:column; gap:14px; margin-top:6px; list-style:none;}
.proj-list li{display:flex; gap:12px; align-items:flex-start; font-size:15px; color:var(--text);}
.proj-list li::before{
  content:'✓'; flex-shrink:0; width:22px; height:22px; border-radius:7px; background:var(--grad-1);
  color:#0A0B10; font-weight:700; font-size:12px; display:flex; align-items:center; justify-content:center; margin-top:1px;
}

.proj-side{
  background:var(--card); border:1px solid var(--card-border); border-radius:var(--radius-lg);
  padding:28px 26px;
}
.proj-side h3{
  font-size:12.5px; color:var(--text-faint); font-family:'JetBrains Mono', monospace;
  text-transform:uppercase; letter-spacing:0.06em; margin-bottom:18px;
}
.proj-meta-row{display:flex; justify-content:space-between; gap:12px; font-size:14px; padding:12px 0; border-bottom:1px solid var(--card-border);}
.proj-meta-row:last-child{border-bottom:none; padding-bottom:0;}
.proj-meta-row .k{color:var(--text-dim);}
.proj-meta-row .v{font-weight:600; text-align:right;}

.proj-side-stats{display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-bottom:22px; padding-bottom:22px; border-bottom:1px solid var(--card-border);}
.proj-side-stats .stat .num{font-size:20px;}

.review-shots{display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:20px;}
@media (max-width:640px){ .review-shots{grid-template-columns:1fr;} }
.review-shots .proj-thumb{margin-bottom:0; overflow:hidden;}
.review-shots .proj-thumb img{width:100%; height:300px; object-fit:cover; object-position:left top;}

.proj-nav-buttons{display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; margin-top:80px; padding-top:32px; border-top:1px solid var(--card-border);}

/* ================= NAV DROPDOWN ================= */
.nav-links{position:relative;}
.has-drop{position:relative;}
.has-drop{display:inline-flex; align-items:center; gap:7px;}
.drop-parent{color:inherit;}
.drop-parent:hover{color:var(--text);}
.drop-toggle{display:inline-flex; align-items:center; background:none; border:none;
  color:inherit; font:inherit; cursor:pointer; padding:4px; border-radius:4px;}
.drop-toggle::after{
  content:''; width:7px; height:7px;
  border-right:1.7px solid currentColor; border-bottom:1.7px solid currentColor;
  transform:translateY(-2px) rotate(45deg); transform-origin:center;
  transition:transform .2s ease;
}
.has-drop[aria-expanded="true"] .drop-toggle::after{transform:translateY(1px) rotate(-135deg);}
.drop-menu{
  position:absolute; top:100%; left:-16px; min-width:264px;
  margin-top:14px;
  background:#0D0E14; border:1px solid var(--card-border); border-radius:var(--radius-md);
  padding:8px; box-shadow:0 22px 50px -14px rgba(0,0,0,.85);
  display:none; flex-direction:column; gap:2px; z-index:60;
}
.has-drop[aria-expanded="true"] .drop-menu{display:flex;}
/* Invisible bridge across the 14px gap — without it the pointer leaves
   .has-drop on the way to the menu and mouseleave closes it. */
.drop-menu::before{content:''; position:absolute; top:-16px; left:0; right:0; height:16px;}
.drop-menu a{padding:10px 12px; border-radius:var(--radius-sm); font-size:14.5px; color:var(--text-dim);}
.drop-menu a:hover{background:var(--card); color:var(--text);}

/* ================= FOOTER ================= */
.site-footer{border-top:1px solid var(--card-border); margin-top:0; padding:60px 0 0;}
.footer-grid{display:grid; grid-template-columns:1.3fr 1fr 1fr 1.2fr; gap:40px; padding-bottom:44px;}
@media (max-width:900px){ .footer-grid{grid-template-columns:1fr 1fr; gap:32px;} }
@media (max-width:520px){ .footer-grid{grid-template-columns:1fr;} }
.footer-col h4{
  font-family:'JetBrains Mono', monospace; font-size:11px; letter-spacing:.1em; text-transform:uppercase;
  color:var(--text-faint); margin-bottom:16px; font-weight:500;
}
.footer-col ul{list-style:none; display:flex; flex-direction:column; gap:10px;}
.footer-col a{font-size:14.5px; color:var(--text-dim);}
.footer-col a:hover{color:var(--text);}
.footer-col p{font-size:14px; color:var(--text-dim); margin-bottom:10px; line-height:1.6;}
.footer-brand .logo{margin-bottom:14px;}
.reg-note{font-size:12.5px; color:var(--text-faint); line-height:1.6;}

/* ================= SERVICE PAGES ================= */
.svc-hero{padding:150px 0 0;}
.svc-lede{font-size:19px; color:var(--text-dim); max-width:640px; margin-bottom:34px;}
.proof-bar{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:1px;
  background:var(--card-border); border:1px solid var(--card-border); border-radius:var(--radius-md);
  overflow:hidden; margin:0 0 12px;
}
.proof-cell{background:var(--bg-2); padding:20px 18px;}
.proof-cell .num{font-family:'Sora',sans-serif; font-weight:800; font-size:25px; margin-bottom:4px;}
.proof-cell .label{font-family:'JetBrains Mono',monospace; font-size:10.5px; letter-spacing:.06em;
  color:var(--text-faint); text-transform:uppercase; line-height:1.4;}
.proof-src{font-size:12.5px; color:var(--text-faint); margin-bottom:60px;}

.prose{max-width:70ch;}
.prose p{color:var(--text-dim); font-size:16.5px; margin-bottom:18px;}
.prose h2{font-size:clamp(25px,3.4vw,33px); margin:0 0 18px;}
.svc-block{padding:0 0 66px;}
.incl-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:18px;}
.incl-card{background:var(--card); border:1px solid var(--card-border); border-radius:var(--radius-md); padding:22px 20px;}
.incl-card h3{font-size:16px; margin-bottom:8px;}
.incl-card p{font-size:14px; color:var(--text-dim);}

.steps{display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:20px;}
.step{position:relative; padding-top:22px; border-top:2px solid var(--card-border);}
.step .n{font-family:'JetBrains Mono',monospace; font-size:11.5px; color:var(--violet); margin-bottom:8px; display:block;}
.step h3{font-size:16.5px; margin-bottom:8px;}
.step p{font-size:14px; color:var(--text-dim);}

.svc-testi{
  background:var(--card); border:1px solid var(--card-border); border-radius:var(--radius-lg);
  padding:34px 32px; max-width:820px;
}

/* mid-page + sticky CTAs */
.cta-inline{
  display:flex; align-items:center; justify-content:space-between; gap:26px; flex-wrap:wrap;
  background:var(--card); border:1px solid var(--card-border); border-radius:var(--radius-lg);
  padding:28px 30px; margin:0 0 12px;
}
.cta-inline h3{font-size:20px; margin-bottom:6px;}
.cta-inline p{font-size:14.5px; color:var(--text-dim); max-width:52ch;}


/* logo strips */
.logo-strip{display:flex; flex-wrap:wrap; gap:14px 34px; align-items:center;}
.logo-chip{
  font-family:'Sora',sans-serif; font-weight:600; font-size:15px; color:var(--text-dim);
  border:1px solid var(--card-border); background:var(--card);
  padding:11px 18px; border-radius:var(--radius-sm);
}
.strip-label{
  font-family:'JetBrains Mono',monospace; font-size:11px; letter-spacing:.1em; text-transform:uppercase;
  color:var(--text-faint); margin-bottom:16px;
}

/* ================= BLOG ================= */
.post-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:22px;}
.post-card{
  background:var(--card); border:1px solid var(--card-border); border-radius:var(--radius-lg);
  padding:26px 24px; display:flex; flex-direction:column; transition:transform .3s, border-color .3s;
}
.post-card:hover{transform:translateY(-5px); border-color:rgba(255,255,255,.2);}
.post-cat{
  font-family:'JetBrains Mono',monospace; font-size:10.5px; letter-spacing:.08em; text-transform:uppercase;
  color:var(--violet); margin-bottom:12px;
}
.post-card h3{font-size:18px; line-height:1.3; margin-bottom:10px;}
.post-card p{font-size:14px; color:var(--text-dim); flex:1; margin-bottom:16px;}
.post-meta{font-size:12.5px; color:var(--text-faint); font-family:'JetBrains Mono',monospace;}
.post-soon{opacity:.55;}
.post-soon:hover{transform:none; border-color:var(--card-border);}

.article{max-width:72ch;}
.article h2{font-size:clamp(23px,3vw,30px); margin:44px 0 14px;}
.article h3{font-size:19px; margin:32px 0 10px;}
.article p{color:var(--text-dim); font-size:16.5px; margin-bottom:18px;}
.article ul,.article ol{color:var(--text-dim); font-size:16.5px; margin:0 0 18px 22px;}
.article li{margin-bottom:9px;}
.article strong{color:var(--text); font-weight:600;}
.article a{color:var(--cyan);}
.article a:hover{text-decoration:underline;}
.article blockquote{
  border-left:3px solid var(--violet); padding:4px 0 4px 20px; margin:0 0 20px;
  color:var(--text); font-size:17px;
}
.post-hero{padding:150px 0 0;}
.post-title{font-size:clamp(30px,4.6vw,46px); line-height:1.12; margin:16px 0 18px;}
.post-intro{font-size:19px; color:var(--text-dim); max-width:70ch; margin-bottom:22px;}
.toc-box{
  background:var(--card); border:1px solid var(--card-border); border-radius:var(--radius-md);
  padding:22px 24px; margin:0 0 34px; max-width:72ch;
}
.toc-box h2{font-family:'JetBrains Mono',monospace; font-size:11px; letter-spacing:.1em;
  text-transform:uppercase; color:var(--text-faint); margin:0 0 14px; font-weight:500;}
.toc-box ol{margin:0 0 0 20px; color:var(--text-dim); font-size:15px;}
.toc-box li{margin-bottom:7px;}
.toc-box a{color:var(--text-dim);}
.toc-box a:hover{color:var(--text);}

/* hero kicker above the H1 */
.hero-kicker{
  font-family:'JetBrains Mono', monospace; font-size:13px; letter-spacing:.04em;
  color:var(--text-dim); margin:22px 0 10px;
}
.hero h1{margin-top:0;}
.service-card h3 a:hover{text-decoration:underline;}

/* long testimonials collapse so cards balance */
.testi-quote.clamped{
  display:-webkit-box; -webkit-line-clamp:8; -webkit-box-orient:vertical;
  overflow:hidden;
}
.testi-more{
  background:none; border:none; padding:0; cursor:pointer; font-family:'Inter',sans-serif;
  font-size:13.5px; font-weight:600; color:var(--cyan); margin:-14px 0 22px;
}
.testi-more:hover{text-decoration:underline;}


/* ================= MOBILE NAV DROPDOWN =================
   Declared after the desktop dropdown rules so it wins the cascade.
   Services and its children become a flat indented list — no floating
   panel and no extra tap needed to reach a service page. */
@media (max-width:900px){
  /* "Services" row: the label navigates to the hub, the chevron expands
     the sub-list. Collapsed by default so the menu stays short. */
  .has-drop{
    display:flex; flex-wrap:wrap; align-items:stretch; width:100%;
    border-bottom:1px solid rgba(255,255,255,0.05);
  }
  .drop-parent{
    flex:1; display:block; padding:14px 28px; font-size:16px; border-bottom:none;
  }
  .drop-toggle{
    display:inline-flex; align-items:center; justify-content:center;
    padding:0 28px; border-radius:0; border-left:1px solid rgba(255,255,255,0.05);
  }
  .drop-toggle::after{width:9px; height:9px; border-width:2px;}

  /* Sub-list: hidden until the chevron is tapped. */
  .drop-menu{
    display:none; position:static; width:100%; min-width:0; padding:0; margin-top:0;
    background:rgba(255,255,255,0.02); border:none; box-shadow:none; border-radius:0;
    animation:none;
  }
  .has-drop[aria-expanded="true"] .drop-menu{display:flex;}
  .drop-menu::before{display:none;}
  .drop-menu a{
    padding:13px 28px 13px 44px; font-size:15px;
    border-top:1px solid rgba(255,255,255,0.05);
  }
  .drop-menu a:first-child{display:none;}
}

/* Card headings: make the whole heading row clickable, not just the text.
   An inline <a> that wraps to two lines leaves dead space around the words. */
.service-card h3 a,
.port-card h3 a,
.post-card h3 a{ display:block; }

/* About: photo stacked above the education card in the side column */
.about-side{display:flex; flex-direction:column; gap:22px;}
.about-photo-wrap{
  position:relative; border-radius:22px; padding:3px; background:var(--grad-3);
  box-shadow:0 0 46px rgba(245,165,36,0.22);
}
.about-photo-wrap img{width:100%; height:300px; object-fit:cover; object-position:top center; border-radius:20px; display:block;}
@media (max-width:900px){ .about-photo-wrap img{height:340px;} }

/* Lead magnet in the nav: marked as an offer so it reads as distinct from
   the section links, without competing with the primary CTA button. */
.nav-magnet{display:inline-flex; align-items:center; gap:7px; color:var(--text-dim);}
.nav-magnet::before{
  content:''; width:6px; height:6px; border-radius:50%;
  background:var(--grad-2); box-shadow:0 0 8px rgba(52,211,153,.55); flex-shrink:0;
}
.nav-magnet:hover{color:var(--text);}
@media (max-width:900px){
  .nav-magnet{padding:14px 28px;}
  .nav-magnet::before{width:7px; height:7px;}
}
/* A little tighter so six items + CTA still fit comfortably on laptops. */
@media (max-width:1180px) and (min-width:901px){
  .nav-links{gap:24px; font-size:14px;}
}

/* ================= BACK TO TOP ================= */
.to-top{
  position:fixed; right:20px; bottom:20px; z-index:70;
  width:46px; height:46px; border-radius:50%; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  background:rgba(15,17,23,.88); backdrop-filter:blur(12px);
  border:1px solid var(--card-border); color:var(--text);
  box-shadow:0 10px 28px -8px rgba(0,0,0,.7);
  opacity:0; transform:translateY(12px); pointer-events:none;
  transition:opacity .22s ease, transform .22s ease, border-color .2s, background .2s;
}
.to-top[hidden]{display:flex;}          /* keep it laid out; visibility is class-driven */
.to-top.is-visible{opacity:1; transform:none; pointer-events:auto;}
.to-top:hover{background:rgba(24,27,36,.95); border-color:rgba(255,255,255,.22);}
.to-top svg{width:19px; height:19px;}
@media (max-width:900px){
  .to-top{right:16px; bottom:16px; width:44px; height:44px;}
}
@media (prefers-reduced-motion: reduce){
  .to-top{transition:none;}
}

/* About: text and photo share a balanced two-column row; education runs
   full width beneath as a four-up, so neither column is left with dead space. */
.about-grid{align-items:stretch;}
.about-photo-wrap{align-self:stretch;}
.about-photo-wrap img{height:100%; min-height:340px;}
.edu-row{margin-top:44px; padding-top:34px; border-top:1px solid var(--card-border);}
.edu-row-label{
  font-family:'JetBrains Mono', monospace; font-size:11px; letter-spacing:.1em;
  text-transform:uppercase; color:var(--text-faint); margin-bottom:22px; font-weight:500;
}
.edu-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:20px;}
@media (max-width:900px){ .edu-grid{grid-template-columns:repeat(2,1fr);} }
@media (max-width:520px){ .edu-grid{grid-template-columns:1fr;} }
.edu-grid .edu-item{
  padding:18px 18px; border:1px solid var(--card-border); border-bottom:1px solid var(--card-border);
  border-radius:var(--radius-md); background:var(--card);
}
.edu-grid .edu-item:first-of-type{padding-top:18px;}
@media (max-width:900px){ .about-photo-wrap img{min-height:300px;} }
