@import url('https://fonts.googleapis.com/css2?family=Anton&family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root{
  --bg: #0d0d0d;
  --yellow: #e8ff3c;
  --pink: #ff5fa8;
  --green: #3cff8e;
  --purple: #b98bff;
  --cyan: #4fd6c4;
  --white: #ffffff;
  --gray: #9a9a9a;
}

*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  background: var(--bg);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

a{ color: inherit; text-decoration: none; }
button{ font-family:inherit; cursor:pointer; }

.display{
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.5px;
  font-weight: 400;
}

/* ============ SCROLL REVEAL ============ */
.reveal{
  opacity:0;
  transform: translateY(50px);
  transition: opacity 0.9s cubic-bezier(.16,.8,.24,1), transform 0.9s cubic-bezier(.16,.8,.24,1);
  will-change: transform, opacity;
}
.reveal.in-view{ opacity:1; transform:translateY(0); }

.reveal-scale{
  opacity:0;
  transform: scale(0.88) translateY(30px);
  transition: opacity 1s cubic-bezier(.16,.8,.24,1), transform 1s cubic-bezier(.16,.8,.24,1);
  will-change: transform, opacity;
}
.reveal-scale.in-view{ opacity:1; transform: scale(1) translateY(0); }

.reveal-left{
  opacity:0;
  transform: translateX(-60px);
  transition: opacity 0.9s cubic-bezier(.16,.8,.24,1), transform 0.9s cubic-bezier(.16,.8,.24,1);
}
.reveal-left.in-view{ opacity:1; transform:translateX(0); }

.reveal-right{
  opacity:0;
  transform: translateX(60px);
  transition: opacity 0.9s cubic-bezier(.16,.8,.24,1), transform 0.9s cubic-bezier(.16,.8,.24,1);
}
.reveal-right.in-view{ opacity:1; transform:translateX(0); }

.stagger .reveal:nth-child(1){ transition-delay: 0s; }
.stagger .reveal:nth-child(2){ transition-delay: 0.08s; }
.stagger .reveal:nth-child(3){ transition-delay: 0.16s; }
.stagger .reveal:nth-child(4){ transition-delay: 0.24s; }
.stagger .reveal:nth-child(5){ transition-delay: 0.32s; }
.stagger .reveal:nth-child(6){ transition-delay: 0.4s; }

/* ============ NAV ============ */
header{
  position: sticky;
  top:0;
  z-index: 200;
  background: rgba(13,13,13,0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 20px 40px;
  max-width:1400px;
  margin:0 auto;
}
.logo{
  display:flex;
  align-items:center;
  gap:10px;
  font-family:'Anton', sans-serif;
  font-size:15px;
  line-height:1.1;
}
.logo-box{
  width:34px; height:34px;
  border:2px solid var(--white);
  display:flex; align-items:center; justify-content:center;
  font-size:11px;
  border-radius: 8px;
  font-family:'Inter',sans-serif;
  font-weight:700;
}
.nav-links{
  display:flex;
  gap:32px;
  font-size:14px;
  font-weight:500;
}
.nav-links a{ position:relative; padding-bottom:4px; }
.nav-links a::after{
  content:"";
  position:absolute; left:0; bottom:0;
  width:0; height:1px;
  background: var(--yellow);
  transition: width .25s ease;
}
.nav-links a:hover::after{ width:100%; }

.nav-right{ display:flex; align-items:center; gap:14px; }

.term-toggle{
  width:40px; height:40px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,0.18);
  background:transparent;
  color:var(--green);
  font-family:'JetBrains Mono', monospace;
  font-size:15px;
  display:flex; align-items:center; justify-content:center;
  transition: all .2s ease;
}
.term-toggle:hover{ border-color:var(--green); background:rgba(60,255,142,0.08); }

.hamburger{
  display:none;
  flex-direction:column;
  gap:5px;
  width:34px; height:34px;
  border:none;
  background:transparent;
  align-items:center;
  justify-content:center;
}
.hamburger span{
  width:22px; height:2px;
  background:var(--white);
  transition: all .25s ease;
  display:block;
}
.hamburger.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2){ opacity:0; }
.hamburger.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.mobile-menu{
  display:none;
  position:fixed;
  inset:0;
  top:73px;
  background: rgba(10,10,10,0.98);
  z-index:150;
  padding: 40px;
  flex-direction:column;
  gap:24px;
  font-size:24px;
  font-family:'Anton', sans-serif;
  text-transform:uppercase;
  transform: translateY(-20px);
  opacity:0;
  pointer-events:none;
  transition: all .3s ease;
}
.mobile-menu.open{
  display:flex;
  transform: translateY(0);
  opacity:1;
  pointer-events:all;
}
.mobile-menu a{ border-bottom:1px solid #222; padding-bottom:16px; }

.btn{
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight:700;
  display:inline-block;
  border: 2px solid var(--white);
  white-space:nowrap;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover{ transform: translateY(-2px); }
.btn-yellow{
  background: var(--yellow);
  color: #0d0d0d;
  border-color: var(--yellow);
}
.btn-yellow:hover{ box-shadow: 0 8px 24px rgba(232,255,60,0.25); }
.btn-outline{
  background:transparent;
  color:var(--white);
}
.btn-outline:hover{ border-color: var(--cyan); color:var(--cyan); }
.btn-white{
  background:var(--white);
  color:#0d0d0d;
  border-color:var(--white);
}

/* ============ HERO ============ */
.hero{
  display:grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  padding: 60px 40px 90px;
  align-items:start;
  max-width:1400px;
  margin:0 auto;
}
.hero h1{
  font-size: clamp(46px, 6vw, 66px);
}
.hero p{
  color: var(--gray);
  margin: 24px 0 32px;
  max-width: 380px;
  font-size:15.5px;
  line-height:1.6;
}
.hero-buttons{ display:flex; gap:16px; flex-wrap:wrap; }
.hero-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.hero-grid img{
  width:100%;
  height:150px;
  object-fit:cover;
  border-radius:18px;
  display:block;
  transition: transform .4s ease;
}
.hero-grid a:hover img{ transform: scale(1.04); }

/* ============ MAKE MERCH -> BUILD SECURE ============ */
.make-merch{
  text-align:center;
  padding: 80px 40px 60px;
  position:relative;
  max-width: 1100px;
  margin: 0 auto;
}
.make-merch h2{ font-size: clamp(34px,6vw,56px); }
.make-merch p{
  max-width:480px;
  margin: 24px auto 32px;
  color: var(--gray);
  font-size:15px;
  line-height:1.6;
}
.circle-img{
  position:absolute;
  width:110px; height:110px;
  border-radius:50%;
  object-fit:cover;
}
.circle-caption{
  position:absolute;
  font-size: 13px;
  color: var(--gray);
  width: 150px;
  text-align:center;
}

.brands{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding: 30px 40px;
  border-top: 1px solid #262626;
  border-bottom: 1px solid #262626;
  flex-wrap:wrap;
  gap: 20px;
  opacity:0.7;
  font-weight:700;
  font-size:15px;
  max-width:1400px;
  margin:0 auto;
}

.strip{
  display:grid;
  grid-template-columns: repeat(6,1fr);
}
.strip img{
  width:100%;
  height:260px;
  object-fit:cover;
  transition: filter .3s ease;
}
.strip img:hover{ filter:brightness(1.15); }

/* ============ FOCUS AREAS ============ */
.experience-title{ padding: 100px 40px 20px; max-width:1400px; margin:0 auto; }
.experience-title h2{ font-size: clamp(44px,9vw,84px); }
.experience-cards{
  display:flex;
  justify-content:center;
  gap: 30px;
  padding: 20px 40px 100px;
  flex-wrap: wrap;
}
.exp-card{
  position:relative;
  width: 300px;
  height: 440px;
  overflow:hidden;
  border-radius: 20px;
  flex-shrink:0;
  transition: transform .4s ease;
}
.exp-card:hover{ transform: translateY(-10px) !important; }
.exp-card:nth-child(1){ transform: rotate(-4deg) translateY(10px); }
.exp-card:nth-child(2){ transform: rotate(2deg) translateY(-15px); z-index:2; }
.exp-card:nth-child(3){ transform: rotate(-3deg) translateY(20px); }
.exp-card img{ width:100%; height:100%; object-fit:cover; }
.exp-card .overlay{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.75) 100%);
}
.exp-card span{
  position:absolute;
  bottom: 24px; left: 24px;
  font-family:'Anton', sans-serif;
  font-size: 30px;
  text-transform:uppercase;
  color:#fff;
  z-index:1;
}

/* ============ BANNER ============ */
.banner{
  display:grid;
  grid-template-columns: 1fr 1fr;
  margin: 60px 40px;
  border-radius: 24px;
  overflow:hidden;
  max-width:1400px;
  margin-left:auto; margin-right:auto;
}
.banner img{ width:100%; height:400px; object-fit:cover; }
.banner-text{
  background: var(--pink);
  color: #0d0d0d;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding: 60px;
}
.banner-text h2{ font-size: clamp(30px,5vw,46px); }
.banner-text p{ margin-top:16px; font-size:14px; max-width:320px; }

.center-btn{ text-align:center; margin: 50px 0 100px; }

/* ============ SECURE BY DESIGN ============ */
.design-section{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 60px 40px 120px;
  align-items:center;
  max-width:1400px;
  margin:0 auto;
}
.design-section h2{ font-size: clamp(30px,5vw,46px); }
.design-section p{
  color: var(--gray);
  margin: 24px 0 24px;
  max-width:420px;
  font-size:15px;
  line-height:1.6;
}
.hl-green{ color:var(--green); font-weight:600; }
.hl-purple{ color:var(--purple); font-weight:600; }
.hl-cyan{ color:var(--cyan); font-weight:600; }

.phone-mock{
  background: #0f1115;
  border: 1px solid #2a2d33;
  border-radius: 24px;
  padding: 26px;
  max-width: 340px;
  margin: 0 auto;
  font-family: 'JetBrains Mono', monospace;
  color:#e7ecef;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.phone-mock .bar{ display:flex; gap:6px; margin-bottom:18px; }
.phone-mock .bar span{ width:10px; height:10px; border-radius:50%; background:#333; }
.phone-mock .bar span:nth-child(1){ background:#ff5f56; }
.phone-mock .bar span:nth-child(2){ background:#ffbd2e; }
.phone-mock .bar span:nth-child(3){ background:#27c93f; }
.phone-mock .line{ font-size: 13px; line-height: 1.9; }
.phone-mock .p1{ color:#7c8a96; }
.phone-mock .p2{ color: var(--cyan); }
.phone-mock .p3{ color: var(--yellow); }
.phone-mock .p4{ color:#e7ecef; }
.type-cursor{
  display:inline-block; width:7px; height:14px;
  background: var(--green);
  margin-left:2px;
  animation: blink 1s steps(1) infinite;
  vertical-align:middle;
}
@keyframes blink{ 0%,100%{opacity:1;} 50%{opacity:0;} }

/* ============ TOOLKIT PILLS ============ */
.customization{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:60px;
  padding: 0 40px 120px;
  align-items:center;
  max-width:1400px;
  margin:0 auto;
}
.customization h2{ font-size: clamp(30px,5vw,46px); }
.customization p{
  color:var(--gray);
  margin: 24px 0;
  max-width:380px;
  font-size:15px;
  line-height:1.6;
}
.pill-cloud{ position:relative; height: 420px; }
.pill{
  position:absolute;
  padding: 14px 26px;
  border-radius: 30px;
  font-weight:700;
  font-size:14px;
  color:#0d0d0d;
  white-space:nowrap;
  transition: transform .3s ease;
}
.pill:hover{ transform: scale(1.08); }

/* ============ PROJECTS PREVIEW ============ */
.case-title{ padding: 60px 40px 40px; max-width:1400px; margin:0 auto; }
.case-title h2{ font-size: clamp(40px,8vw,76px); }
.case-title-row{ display:flex; justify-content:space-between; align-items:flex-end; flex-wrap:wrap; gap:20px; }
.case-strip{
  display:grid;
  grid-template-columns: repeat(6,1fr);
  gap: 8px;
  padding: 0 40px;
  max-width:1400px;
  margin:0 auto;
}
.case-item{
  position:relative;
  border-radius: 16px 16px 0 0;
  overflow:hidden;
  height: 420px;
  display:block;
}
.case-item img{ width:100%; height:100%; object-fit:cover; transition: transform .5s ease; }
.case-item:hover img{ transform: scale(1.08); }
.case-item .tag{
  position:absolute; top:16px; left:16px;
  background:rgba(0,0,0,0.6);
  padding: 6px 12px; border-radius:20px; font-size:11px; font-weight:700;
}
.case-item .name{
  position:absolute; bottom:16px; left:16px; right:16px;
  font-size:13px; font-weight:700;
  text-shadow:0 2px 8px rgba(0,0,0,0.8);
}

/* ============ AVAILABLE BANNER ============ */
.worldwide{
  background: var(--purple);
  color:#0d0d0d;
  padding: 70px 40px;
}
.worldwide-inner{ max-width:1400px; margin:0 auto; }
.worldwide h2{ font-size: clamp(26px,5vw,42px); line-height:1.3; }
.worldwide .tag{
  background: #0d0d0d;
  color:var(--yellow);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.5em;
  display:inline-block;
  vertical-align:middle;
  margin: 0 8px;
}
.worldwide-cta{ display:flex; align-items:center; gap:16px; margin-top: 30px; flex-wrap:wrap; }
.worldwide-cta .btn{ background:#0d0d0d; color:var(--white); border-color:#0d0d0d; }

/* ============ EXPERIENCE / WORKED ============ */
.trending-title{ padding: 100px 40px 40px; max-width:1400px; margin:0 auto; }
.trending-title h2{ font-size: clamp(40px,8vw,76px); opacity:1; }
.trending-title h2.ghost{ opacity:0.15; margin-top:-10px; -webkit-text-stroke: 1px rgba(255,255,255,0.3); }
.trending-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 0 40px 120px;
  max-width:1400px;
  margin:0 auto;
}
.trend-card img{ width:100%; height: 280px; object-fit:cover; border-radius: 16px; }
.trend-card .cat{ color: var(--gray); font-size:12px; margin-top:16px; text-transform:uppercase; letter-spacing:0.5px; }
.trend-card h3{ font-size: 20px; margin: 8px 0 12px; line-height:1.3; }
.trend-card .date{ color:var(--gray); font-size:12px; }
.read-more{ display:inline-block; margin-top: 16px; border:1px solid #444; padding: 8px 18px; border-radius:20px; font-size:12px; transition: all .2s ease;}
.read-more:hover{ border-color: var(--yellow); color:var(--yellow); }

/* ============ MARQUEE TAPE ============ */
.footer-cta{ position:relative; display:grid; grid-template-columns: 1fr 1fr; }
.footer-cta img{ width:100%; height: 420px; object-fit:cover; }
.tape{
  position:absolute;
  overflow:hidden;
  white-space:nowrap;
  width: 62%;
  color:#0d0d0d;
}
.tape.left{ top: 40%; left:-5%; background: var(--yellow); transform: rotate(-3deg); }
.tape.right{ top:40%; right:-5%; background:var(--green); transform: rotate(-3deg); }
.marquee-track{
  display:inline-flex;
  animation: marquee 9s linear infinite;
  padding: 10px 0;
}
.marquee-track span{
  font-family:'Anton', sans-serif;
  font-size:14px;
  letter-spacing:2px;
  padding-right: 30px;
  flex-shrink:0;
}
@keyframes marquee{
  0%{ transform: translateX(0); }
  100%{ transform: translateX(-50%); }
}

/* ============ FOOTER ============ */
footer{
  background:#0d0d0d;
  padding: 60px 40px 30px;
  display:grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap:30px;
  border-top:1px solid #262626;
  max-width:1400px;
  margin:0 auto;
}
footer h4{ font-size:13px; color:var(--gray); margin-bottom:16px; text-transform:uppercase; }
footer ul{ list-style:none; }
footer li{ margin-bottom:10px; font-size:14px; }
footer li a:hover{ color: var(--yellow); }
.footer-bottom{
  display:flex; justify-content:space-between;
  padding: 30px 40px; font-size:12px; color:var(--gray);
  border-top:1px solid #262626;
  max-width:1400px; margin:0 auto;
  flex-wrap:wrap; gap:10px;
}

/* ============ TERMINAL OVERLAY ============ */
.terminal-overlay{
  position:fixed; inset:0;
  background: rgba(5,6,8,0.97);
  z-index: 500;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  pointer-events:none;
  transition: opacity .3s ease;
  padding: 24px;
}
.terminal-overlay.open{ opacity:1; pointer-events:all; }
.terminal-window{
  width:100%;
  max-width: 780px;
  height: 560px;
  max-height: 82vh;
  background: #0a0d10;
  border: 1px solid #232830;
  border-radius: 14px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  box-shadow: 0 40px 120px rgba(0,0,0,0.6);
  transform: scale(0.94) translateY(20px);
  transition: transform .35s cubic-bezier(.16,.8,.24,1);
}
.terminal-overlay.open .terminal-window{ transform: scale(1) translateY(0); }
.term-titlebar{
  display:flex; align-items:center; justify-content:space-between;
  padding: 12px 16px;
  background: #12161b;
  border-bottom: 1px solid #232830;
}
.term-dots{ display:flex; gap:7px; }
.term-dots span{ width:11px; height:11px; border-radius:50%; }
.term-dots span:nth-child(1){ background:#ff5f56; }
.term-dots span:nth-child(2){ background:#ffbd2e; }
.term-dots span:nth-child(3){ background:#27c93f; }
.term-title{ font-family:'JetBrains Mono', monospace; font-size:12px; color:#7c8a96; }
.term-close{ background:none; border:none; color:#7c8a96; font-size:18px; }
.term-close:hover{ color:var(--white); }
.term-body{
  flex:1;
  padding: 18px 20px;
  overflow-y:auto;
  font-family:'JetBrains Mono', monospace;
  font-size: 13.5px;
  line-height:1.7;
  color:#c3cbd1;
}
.term-body::-webkit-scrollbar{ width:8px; }
.term-body::-webkit-scrollbar-thumb{ background:#232830; border-radius:4px; }
.term-line{ white-space:pre-wrap; word-break:break-word; margin-bottom:2px; }
.term-line.cmd{ color: var(--white); }
.term-line.cmd::before{ content:"bernard@bosro:~$ "; color: var(--green); }
.term-line.out{ color:#9aa5ad; margin-bottom:14px; }
.term-line.accent{ color: var(--cyan); }
.term-line.warn{ color: var(--yellow); }
.term-input-row{
  display:flex; align-items:center; gap:8px;
  padding-top: 6px;
}
.term-input-row .prompt{ color: var(--green); flex-shrink:0; }
.term-input-row input{
  flex:1;
  background:transparent;
  border:none;
  outline:none;
  color: var(--white);
  font-family:'JetBrains Mono', monospace;
  font-size: 13.5px;
}
.term-hint{
  padding: 10px 20px 16px;
  font-family:'JetBrains Mono', monospace;
  font-size: 11px;
  color:#4a5259;
  border-top: 1px dashed #1c2127;
}

/* ============ PROJECTS PAGE ============ */
.projects-hero{
  padding: 70px 40px 50px;
  max-width:1400px;
  margin:0 auto;
}
.projects-hero h1{ font-size: clamp(44px,8vw,80px); }
.projects-hero p{ color:var(--gray); max-width:520px; margin-top:20px; font-size:15.5px; line-height:1.6; }

.filters{
  display:flex; gap:10px; flex-wrap:wrap;
  padding: 0 40px 40px;
  max-width:1400px; margin:0 auto;
}
.filter-btn{
  font-size:13px; font-weight:600;
  padding: 9px 18px;
  border-radius:20px;
  border:1px solid #2a2a2a;
  color: var(--gray);
  background:transparent;
  transition: all .2s ease;
}
.filter-btn.active, .filter-btn:hover{
  border-color: var(--yellow);
  color: var(--yellow);
}

.projects-full-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  padding: 0 40px 120px;
  max-width:1400px;
  margin:0 auto;
}
.pf-card{
  display:block;
  background:#121212;
  border:1px solid #232323;
  border-radius:18px;
  overflow:hidden;
  transition: transform .35s ease, border-color .35s ease;
}
.pf-card:hover{ transform: translateY(-6px); border-color:#3a3a3a; }
.pf-card img{ width:100%; height:230px; object-fit:cover; }
.pf-body{ padding:26px; }
.pf-top{ display:flex; justify-content:space-between; align-items:flex-start; gap:12px; margin-bottom:12px;}
.pf-body h3{ font-size:21px; font-weight:700; }
.pf-tag{
  font-size:11px; font-weight:700; text-transform:uppercase;
  color:#0d0d0d;
  padding: 5px 12px; border-radius:14px;
  flex-shrink:0;
  white-space:nowrap;
}
.pf-body p.desc{ color:var(--gray); font-size:14px; line-height:1.6; margin-bottom:16px; }
.pf-body ul{ display:flex; flex-direction:column; gap:8px; margin-bottom:18px; }
.pf-body li{
  font-size:13.5px; color:#c3cbd1; line-height:1.55;
  padding-left:16px; position:relative;
}
.pf-body li::before{ content:"›"; position:absolute; left:0; color:var(--yellow); }
.pf-stack{ display:flex; flex-wrap:wrap; gap:7px; }
.pf-stack span{
  font-family:'JetBrains Mono', monospace;
  font-size:11px; color:var(--cyan);
  background: rgba(79,214,196,0.08);
  border:1px solid rgba(79,214,196,0.25);
  padding:4px 9px; border-radius:5px;
}

.more-card{
  border: 2px dashed #2a2a2a;
  border-radius:18px;
  display:flex; align-items:center; justify-content:center;
  flex-direction:column;
  gap:12px;
  min-height: 320px;
  color:var(--gray);
  text-align:center;
  padding: 30px;
}
.more-card span.plus{
  font-size:32px; color:#3a3a3a;
}

@media(max-width: 900px){
  .hero{ grid-template-columns: 1fr; padding:40px 24px 60px; }
  .hero-grid{ grid-template-columns: repeat(3,1fr); gap:8px; }
  .hero-grid img{ height:100px; border-radius:12px; }
  .banner{ grid-template-columns:1fr; margin:40px 20px; }
  .banner img{ height:220px; }
  .banner-text{ padding:36px 28px; }
  .design-section{ grid-template-columns:1fr; padding:40px 24px 80px; gap:40px;}
  .customization{ grid-template-columns:1fr; padding:0 24px 80px; gap:20px; }
  .pill-cloud{ height:auto; position:static; display:flex; flex-wrap:wrap; gap:10px; }
  .pill{ position:static; }
  .case-strip{ grid-template-columns: repeat(2,1fr); padding:0 20px; }
  .case-item{ height:260px; }
  .trending-grid{ grid-template-columns:1fr; padding:0 24px 80px; }
  footer{ grid-template-columns: 1fr 1fr; padding:50px 24px 20px; }
  .nav-links{ display:none; }
  .hamburger{ display:flex; }
  .experience-title{ padding:70px 24px 10px; }
  .experience-cards{ padding:20px 24px 80px; gap:20px; }
  .exp-card{ width: 85vw; max-width:320px; height:400px; }
  .case-title, .trending-title{ padding:70px 24px 30px; }
  .footer-cta{ grid-template-columns: 1fr; }
  .footer-cta img{ height:260px; }
  .tape{ width:85%; }
  .make-merch{ padding:60px 24px 40px; }
  .circle-img, .circle-caption{ display:none; }
  .brands{ padding:24px; justify-content:center; gap:24px; font-size:13px; }
  .strip{ grid-template-columns: repeat(3,1fr); }
  .strip img{ height:140px; }
  .worldwide{ padding:50px 24px; }
  .worldwide-cta{ gap:10px; }
  .projects-full-grid{ grid-template-columns:1fr; padding:0 24px 80px; }
  .projects-hero, .filters{ padding-left:24px; padding-right:24px; }
}

@media(max-width:520px){
  .hero-buttons{ flex-direction:column; align-items:stretch; }
  .hero-buttons .btn{ text-align:center; }
  .worldwide-cta{ flex-direction:column; align-items:flex-start; }
  .worldwide-cta .btn{ width:100%; text-align:center; }
  .case-strip{ grid-template-columns: 1fr 1fr; }
  .terminal-window{ height: 78vh; }
}

/* ============ BLOG PAGE ============ */
.blog-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  padding: 0 40px 120px;
  max-width:1400px;
  margin:0 auto;
}
.blog-card{
  background:#121212;
  border:1px solid #232323;
  border-radius:18px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  transition: transform .35s ease, border-color .35s ease;
}
.blog-card:hover{ transform: translateY(-6px); border-color:#3a3a3a; }
.blog-card .cover{
  width:100%; height:170px;
  object-fit:cover;
  background:#1a1a1a;
}
.blog-card .cover-fallback{
  width:100%; height:170px;
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, #17181c, #0d0d0d);
  font-family:'JetBrains Mono', monospace;
  color:#2f333a;
  font-size:12px;
}
.blog-body{ padding:22px; display:flex; flex-direction:column; flex:1; }
.blog-tags{ display:flex; gap:6px; flex-wrap:wrap; margin-bottom:12px; }
.blog-tags span{
  font-family:'JetBrains Mono', monospace;
  font-size:10.5px;
  color: var(--cyan);
  background: rgba(79,214,196,0.08);
  border:1px solid rgba(79,214,196,0.25);
  padding:3px 8px; border-radius:5px;
  text-transform:lowercase;
}
.blog-body h3{ font-size:17px; font-weight:700; line-height:1.35; margin-bottom:10px; }
.blog-body p.excerpt{ color:var(--gray); font-size:13.5px; line-height:1.6; margin-bottom:16px; flex:1; }
.blog-meta{
  display:flex; align-items:center; justify-content:space-between;
  font-size:12px; color:#6b6b6b;
  padding-top:14px;
  border-top:1px solid #1e1e1e;
}
.blog-meta .author{ display:flex; align-items:center; gap:8px; }
.blog-meta .author img{ width:22px; height:22px; border-radius:50%; object-fit:cover; }

.blog-state{
  text-align:center;
  padding: 60px 40px;
  color: var(--gray);
  font-family:'JetBrains Mono', monospace;
  font-size:14px;
  grid-column: 1 / -1;
}
.blog-state .dots span{
  display:inline-block;
  width:6px; height:6px;
  border-radius:50%;
  background: var(--green);
  margin: 0 3px;
  animation: dotPulse 1.2s ease-in-out infinite;
}
.blog-state .dots span:nth-child(2){ animation-delay:.15s; }
.blog-state .dots span:nth-child(3){ animation-delay:.3s; }
@keyframes dotPulse{ 0%,80%,100%{ opacity:.25; transform:scale(0.8);} 40%{ opacity:1; transform:scale(1);} }

.retry-btn{
  margin-top:16px;
  font-family:'JetBrains Mono', monospace;
  font-size:13px;
  padding:9px 18px;
  border:1px solid var(--line, #2a2a2a);
  border-radius:20px;
  color: var(--white);
  background:transparent;
}
.retry-btn:hover{ border-color: var(--yellow); color: var(--yellow); }

@media(max-width:900px){
  .blog-grid{ grid-template-columns:1fr; padding:0 24px 80px; }
}

/* ============ TECHNICAL TOOLKIT GRID ============ */
.toolkit-title{ padding: 100px 40px 20px; max-width:1400px; margin:0 auto; }
.toolkit-title h2{ font-size: clamp(34px,6vw,56px); }
.toolkit-title p{ color:var(--gray); max-width:560px; margin-top:18px; font-size:15px; line-height:1.6; }

.skills-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 40px 40px 100px;
  max-width:1400px;
  margin:0 auto;
}
.skill-card{
  background: #121212;
  border: 1px solid #232323;
  border-radius: 14px;
  padding: 24px;
  transition: border-color .25s ease, transform .25s ease;
}
.skill-card:hover{ border-color: var(--cyan); transform: translateY(-4px); }
.skill-card h3{
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  font-weight:700;
}
.skill-tags{ display:flex; flex-wrap:wrap; gap: 8px; }
.skill-tags span{
  font-size: 12.5px;
  color: #c3cbd1;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  padding: 5px 10px;
  border-radius: 6px;
}
.skill-card.ai{
  border-color: rgba(185,139,255,0.35);
  background: linear-gradient(180deg, rgba(185,139,255,0.07), transparent 60%), #121212;
}
.skill-card.ai h3{ color: var(--purple); }
.skill-card.security-card{
  border-color: rgba(79,214,196,0.35);
  background: linear-gradient(180deg, rgba(79,214,196,0.07), transparent 60%), #121212;
}
.skill-card.security-card h3{ color: var(--cyan); }

/* ============ CERTIFICATIONS ============ */
.certs-title{ padding: 20px 40px 20px; max-width:1400px; margin:0 auto; }
.certs-title h2{ font-size: clamp(34px,6vw,56px); }
.certs-wrap{ padding: 30px 40px 120px; max-width:1400px; margin:0 auto; }
.cert-card{
  display:grid;
  grid-template-columns: 90px 1fr auto;
  gap: 26px;
  align-items:center;
  background: linear-gradient(135deg, rgba(255,180,84,0.06), transparent 50%), #121212;
  border: 1px solid #262626;
  border-radius: 18px;
  padding: 30px;
}
.cert-badge{
  width:90px; height:90px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffd98a, #d8393f 70%);
  display:flex; align-items:center; justify-content:center;
  font-family:'Anton', sans-serif;
  font-size: 26px;
  color:#fff;
  flex-shrink:0;
  box-shadow: 0 10px 30px rgba(216,57,63,0.35);
}
.cert-info h3{ font-size:20px; font-weight:700; margin-bottom:6px; }
.cert-info .issuer{ color: var(--cyan); font-size:13.5px; margin-bottom:10px; }
.cert-info p{ color: var(--gray); font-size:13.5px; line-height:1.6; max-width:560px; }
.cert-meta{ display:flex; flex-direction:column; align-items:flex-end; gap:10px; text-align:right; }
.cert-meta .date{ font-size:12.5px; color: var(--gray); }
.cert-meta .hours{
  font-size:11px; font-weight:700; text-transform:uppercase;
  background: var(--yellow); color:#0d0d0d;
  padding: 4px 10px; border-radius:12px;
}

@media(max-width:700px){
  .cert-card{ grid-template-columns: 1fr; text-align:center; }
  .cert-badge{ margin:0 auto; }
  .cert-info p{ max-width:100%; }
  .cert-meta{ align-items:center; text-align:center; }
  .skills-grid{ grid-template-columns:1fr; padding:20px 24px 80px; }
  .toolkit-title{ padding:70px 24px 10px; }
  .certs-title{ padding:10px 24px 10px; }
  .certs-wrap{ padding:20px 24px 80px; }
}

/* ============ PROJECT CARD BADGES ============ */
.pf-badges{ display:flex; gap:6px; flex-wrap:wrap; justify-content:flex-end; }
.pf-badge-recent{
  font-size:10.5px; font-weight:700; text-transform:uppercase;
  color:#0d0d0d; background: var(--yellow);
  padding: 4px 9px; border-radius:12px; white-space:nowrap;
}
.pf-live-link{
  display:flex; align-items:center; gap:8px;
  margin-top:14px;
  font-family:'JetBrains Mono', monospace;
  font-size:12px; color: var(--green);
}
.pf-live-link .dot{
  width:7px; height:7px; border-radius:50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  flex-shrink:0;
  animation: blink 2s ease-in-out infinite;
}
a.pf-card{ cursor:pointer; }
a.pf-card:hover .pf-live-link{ color: var(--yellow); }
a.pf-card:hover .pf-live-link .dot{ background: var(--yellow); box-shadow: 0 0 8px var(--yellow); }