*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:#fff;
  color:#181818;
  font-family:'Plus Jakarta Sans',Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  overflow-x:hidden;
}
.site-shell{
  max-width:1490px;
  margin:0 auto;
  background:#fff;
  min-height:100vh;
  position:relative;
}
a{color:inherit;text-decoration:none}

/* FIXED TOPBAR (STICKY ON SCROLL) */
.topbar{
  position:fixed;
  top:0;
  left:0;
  right:0;
  width:100%;
  max-width:1490px;
  margin:0 auto;
  height:68px;
  padding:0 44px;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  z-index:1000;
  background:rgba(255,255,255,0.88);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
  border-bottom:1px solid rgba(0,0,0,0.06);
  box-shadow:0 4px 24px rgba(0,0,0,0.03);
  transition:all .25s ease;
}
.availability{
  justify-self:start;
  border:1px solid #dfdfdf;
  border-radius:999px;
  padding:9px 16px;
  font-size:13px;
  box-shadow:0 10px 28px rgba(0,0,0,.035);
  background:rgba(255,255,255,.8);
  backdrop-filter:blur(10px);
}
.availability span{
  display:inline-block;
  width:8px;
  height:8px;
  border-radius:50%;
  background:#38cd73;
  margin-right:9px;
  box-shadow:0 0 0 5px #e9faef;
}
.navlinks{display:flex;gap:36px;font-size:13.5px}
.navlinks a{
  position:relative;
  color:#71717a;
  text-decoration:none;
  font-weight:600;
  transition:color .15s ease;
}
.navlinks a:hover,
.navlinks a.active{
  color:#18181b;
}
.navlinks a.active:after{
  content:"";
  position:absolute;
  width:5px;
  height:5px;
  background:#18181b;
  border-radius:50%;
  left:50%;
  transform:translateX(-50%);
  bottom:-10px;
}

section, .section, .hero{
  scroll-margin-top:80px;
}
.talk{
  justify-self:end;
  background:#171717;
  color:#fff;
  border-radius:999px;
  padding:11px 20px;
  font-size:13.5px;
  font-weight:750;
  box-shadow:0 10px 24px rgba(0,0,0,.12);
  transition:.2s transform;
}
.talk:hover{transform:translateY(-1px)}

/* HERO SECTION */
.hero{
  height:100vh;
  min-height:600px;
  max-height:760px;
  position:relative;
  background:radial-gradient(circle at 50% 61%,#fff 0 30%,#fefefe 54%,#fafafa 100%);
  overflow:hidden;
  border-bottom:1px solid #ededed;
  padding-top:68px;
}

.hero-name{
  position:absolute;
  top:84px;
  left:50%;
  transform:translateX(-50%);
  white-space:nowrap;
  line-height:.88;
  letter-spacing:-.045em;
  font-size:clamp(74px,9.2vw,140px);
  font-weight:900;
  z-index:2;
  pointer-events:none;
  user-select:none;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
.hero-name .outline{
  color:#ffffff;
  filter:drop-shadow(1.5px 0 0 #18181b) drop-shadow(-1.5px 0 0 #18181b) drop-shadow(0 1.5px 0 #18181b) drop-shadow(0 -1.5px 0 #18181b);
}
.hero-name .solid{
  color:#18181b;
  margin-left:14px;
}

.hero-copy{
  position:absolute;
  z-index:20;
  left:clamp(28px, 3.5vw, 44px);
  top:clamp(210px, 31vh, 255px);
  max-width:320px;
}
.tech-role-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:#171718;
  color:#fff;
  padding:6px 14px 6px 10px;
  border-radius:999px;
  border:1px solid #2d2d32;
  box-shadow:0 4px 18px rgba(0,0,0,.08);
  font-family:ui-monospace,Menlo,Consolas,monospace;
  font-size:11px;
  letter-spacing:.03em;
  margin-bottom:12px;
  user-select:none;
  transition:border-color .2s, box-shadow .2s;
}
.tech-role-badge:hover{
  border-color:#555;
  box-shadow:0 6px 22px rgba(0,0,0,.15);
}
.tech-led{
  width:6px;
  height:6px;
  border-radius:50%;
  background:#22c55e;
  box-shadow:0 0 8px rgba(34,197,94,.85);
  animation:techLedPulse 2s infinite ease-in-out;
  flex-shrink:0;
}
@keyframes techLedPulse{
  0%,100%{opacity:1;transform:scale(1)}
  50%{opacity:.35;transform:scale(.85)}
}
.tech-prefix{
  color:#8e8e93;
  font-weight:750;
  letter-spacing:.06em;
  text-transform:uppercase;
  flex-shrink:0;
}
.tech-text{
  color:#f5f5f7;
  font-weight:600;
  min-height:1.2em;
  white-space:nowrap;
}
.tech-cursor{
  display:inline-block;
  color:#22c55e;
  font-weight:700;
  animation:techCursorBlink .85s infinite;
  margin-left:-2px;
  font-size:12px;
}
@keyframes techCursorBlink{
  0%,100%{opacity:1}
  50%{opacity:0}
}
.eyebrow,.kicker{
  font-size:10.5px;
  letter-spacing:.22em;
  font-weight:850;
  color:#777;
}
.hero-copy h1{
  font-size:26px;
  line-height:1.14;
  letter-spacing:-.04em;
  margin:12px 0 14px;
  max-width:330px;
}
.hero-copy p{
  font-size:14px;
  line-height:1.6;
  color:#818181;
  margin:0 0 20px;
}
.primary-btn{
  display:inline-flex;
  align-items:center;
  gap:16px;
  background:#171717;
  color:#fff;
  border-radius:999px;
  padding:12px 20px;
  font-size:13.5px;
  font-weight:760;
  box-shadow:0 12px 26px rgba(0,0,0,.12);
  transition:.2s transform;
}
.primary-btn:hover{transform:translateY(-1px)}

.socials{
  position:absolute;
  z-index:20;
  right:44px;
  top:clamp(230px, 34vh, 270px);
  width:150px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.socials a{
  display:flex;
  align-items:center;
  gap:12px;
  border:1px solid #e4e4e4;
  border-radius:999px;
  padding:10px 15px;
  background:rgba(255,255,255,.86);
  backdrop-filter:blur(9px);
  font-size:13px;
  transition:.25s;
}
.socials a:hover{
  transform:translateX(-5px);
  border-color:#cfcfcf;
}
.socials span{
  display:grid;
  place-items:center;
  width:24px;
  height:24px;
  border-radius:50%;
  background:#f5f5f5;
  color:#777;
  font-size:9.5px;
}
.socials .placeholder{
  opacity:.55;
  pointer-events:none;
}

/* AVATAR WRAP & MASCOT */
.avatar-wrap{
  position:absolute;
  z-index:9;
  left:50%;
  bottom:0;
  transform:translateX(-50%);
  width:min(720px,58vw);
  height:clamp(520px, 78vh, 640px);
  display:flex;
  align-items:flex-end;
  justify-content:center;
}
.avatar-shadow{
  position:absolute;
  left:50%;
  bottom:10px;
  transform:translateX(-50%);
  width:440px;
  height:44px;
  border-radius:50%;
  background:radial-gradient(ellipse,rgba(0,0,0,.14),rgba(0,0,0,0) 70%);
  filter:blur(8px);
  pointer-events:none;
}
#mascotMount{
  position:relative;
  z-index:5;
  width:100%;
  height:100%;
  display:flex;
  align-items:flex-end;
  justify-content:center;
}

/* WORK SECTION (SELECTED WORK) */
.section{padding:72px 54px 84px;border-bottom:1px solid #ededed}
.section-top{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:20px;
  margin-bottom:34px;
}
.section-heading-block{
  display:flex;
  flex-direction:column;
}
.heading-row{
  display:flex;
  align-items:center;
  gap:12px;
}
.section-title, .section h2{
  font-size:34px;
  font-weight:800;
  letter-spacing:-.04em;
  line-height:1.15;
  color:#171718;
  margin:0;
}
.count-pill{
  font-family:ui-monospace,Menlo,Consolas,monospace;
  font-size:11.5px;
  font-weight:700;
  padding:3px 9px;
  border-radius:999px;
  background:#f4f4f4;
  color:#666;
  border:1px solid #e2e2e2;
  letter-spacing:.04em;
}
.section-desc{
  font-size:13.5px;
  color:#737373;
  margin:6px 0 0;
  line-height:1.5;
  max-width:540px;
}
.work-subtitle{
  font-size:12px;
  font-family:ui-monospace,Menlo,Consolas,monospace;
  color:#888;
  letter-spacing:.05em;
  padding:6px 14px;
  background:#f7f7f7;
  border-radius:999px;
  border:1px solid #ededed;
}
.work-filters{
  display:flex;
  align-items:center;
  gap:6px;
  background:#f7f7f7;
  padding:4px;
  border-radius:999px;
  border:1px solid #ebebeb;
}
.filter-tab{
  font-family:inherit;
  font-size:12.5px;
  font-weight:600;
  padding:6px 14px;
  border-radius:999px;
  border:none;
  background:transparent;
  color:#666;
  cursor:pointer;
  transition:.2s all;
}
.filter-tab:hover{color:#111}
.filter-tab.active{
  background:#171718;
  color:#fff;
  box-shadow:0 2px 8px rgba(0,0,0,.1);
}

/* BENTO GRID (12 COLUMNS) */
.project-bento-grid{
  display:grid;
  grid-template-columns:repeat(12, 1fr);
  gap:22px;
}
.project-card{
  background:#fff;
  border:1px solid #e7e7e7;
  border-radius:22px;
  padding:32px 28px;
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  transition:.3s transform cubic-bezier(.16,1,.3,1),.3s box-shadow cubic-bezier(.16,1,.3,1),.3s border-color;
  overflow:hidden;
  perspective:1000px;
}
.project-card.col-12{grid-column:span 12}
.project-card.col-6{grid-column:span 6}

.project-card:hover{
  transform:translateY(-6px);
  box-shadow:0 24px 50px rgba(0,0,0,.07);
  border-color:#d0d0d0;
}

.card-header-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  margin-bottom:16px;
}
.project-badge{
  font-family:ui-monospace,Menlo,Consolas,monospace;
  font-size:11px;
  font-weight:650;
  letter-spacing:.06em;
  padding:4px 10px;
  border-radius:999px;
  text-transform:uppercase;
  background:#f5f5f5;
  color:#333;
  border:1px solid #e0e0e0;
}
.badge-featured{background:#171718;color:#fff;border-color:#171718}
.badge-production{background:#f5f5f5;color:#222;border:1px solid #d4d4d4}
.badge-ai{background:#f5f5f5;color:#222;border:1px solid #d4d4d4}
.badge-mobile{background:#f5f5f5;color:#222;border:1px solid #d4d4d4}

.project-index{
  font-size:13px;
  font-family:ui-monospace,Menlo,Consolas,monospace;
  color:#999;
  font-weight:600;
}

.project-card h3{
  font-size:26px;
  letter-spacing:-.035em;
  margin:0 0 10px;
  font-weight:800;
  color:#171718;
}
.project-summary{
  font-size:14px;
  line-height:1.6;
  color:#666;
  margin:0 0 18px;
  max-width:850px;
}

/* FEATURED FULL-WIDTH DARK CARDS (MSS & MyFSchools) */
.project-card.featured{
  background:#161618;
  color:#fff;
  border-color:#27272a;
}
.project-card.featured:hover{
  border-color:#3f3f46;
  box-shadow:0 24px 50px rgba(0,0,0,.22);
}
.project-card.featured h3{color:#fff}
.project-card.featured .project-summary{color:#a1a1aa}
.project-card.featured .project-index{color:#71717a}
.project-card.featured .project-badge{
  background:#26262a;
  color:#f4f4f5;
  border-color:#38383e;
}

.project-card.featured .pipeline-flow{
  border-top-color:#27272a;
  border-bottom-color:#27272a;
}

/* PIPELINE FLOW ARCHITECTURE & TRANSITIONS */
.pipeline-flow{
  width:100%;
  display:flex;
  align-items:center;
  gap:8px;
  margin:12px 0 20px;
  padding:12px 0;
  border-top:1px solid #f0f0f0;
  border-bottom:1px solid #f0f0f0;
  flex-wrap:wrap;
  position:relative;
}

.pipeline-node{
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding:8px 12px;
  border-radius:11px;
  background:#fafafa;
  border:1px solid #eaeaea;
  transition:all .28s cubic-bezier(.16,1,.3,1);
  flex:1 1 auto;
  min-width:130px;
  position:relative;
  overflow:hidden;
  cursor:default;
}

/* Subtle light scanning sweep across each node */
.pipeline-node::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.6) 50%, transparent 100%);
  transform:translateX(-100%);
  pointer-events:none;
  animation:nodeSweep 3.6s infinite ease-in-out;
}
.project-card.featured .pipeline-node::before{
  background:linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.08) 50%, transparent 100%);
}

.pipeline-flow .pipeline-node:nth-of-type(1)::before{ animation-delay: 0s; }
.pipeline-flow .pipeline-node:nth-of-type(2)::before{ animation-delay: 0.9s; }
.pipeline-flow .pipeline-node:nth-of-type(3)::before{ animation-delay: 1.8s; }
.pipeline-flow .pipeline-node:nth-of-type(4)::before{ animation-delay: 2.7s; }

@keyframes nodeSweep{
  0%{ transform: translateX(-100%); }
  45%, 100%{ transform: translateX(100%); }
}

/* Domino wave on card hover */
.project-card:hover .pipeline-flow .pipeline-node:nth-of-type(1){ transform: translateY(-3px); transition-delay: 0.04s; }
.project-card:hover .pipeline-flow .pipeline-node:nth-of-type(2){ transform: translateY(-3px); transition-delay: 0.1s; }
.project-card:hover .pipeline-flow .pipeline-node:nth-of-type(3){ transform: translateY(-3px); transition-delay: 0.16s; }
.project-card:hover .pipeline-flow .pipeline-node:nth-of-type(4){ transform: translateY(-3px); transition-delay: 0.22s; }

/* Individual node interactive hover */
.pipeline-node:hover{
  background:#fff !important;
  border-color:#171718 !important;
  transform: translateY(-5px) scale(1.025) !important;
  box-shadow: 0 10px 24px rgba(0,0,0,0.09) !important;
  z-index: 3;
}
.pipeline-node:hover .p-layer-tag{
  transform: scale(1.08);
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

/* Featured Dark Card Node styling */
.project-card.featured .pipeline-node{
  background:#1f1f23;
  border-color:#2d2d33;
}
.project-card.featured .pipeline-node:hover{
  background:#26262c !important;
  border-color:#22c55e !important;
  transform: translateY(-5px) scale(1.025) !important;
  box-shadow: 0 10px 26px rgba(0,0,0,0.45), 0 0 14px rgba(34,197,94,0.22) !important;
  z-index: 3;
}
.project-card.featured .pipeline-node:hover .p-layer-tag{
  background:#22c55e;
  color:#09090b;
  box-shadow:0 0 10px rgba(34,197,94,0.6);
}

.p-layer-tag{
  font-family:ui-monospace,Menlo,Consolas,monospace;
  font-size:10px;
  font-weight:800;
  padding:2px 6px;
  border-radius:4px;
  background:#171718;
  color:#fff;
  letter-spacing:.05em;
  flex-shrink:0;
  transition:all .25s ease;
}
.project-card.featured .p-layer-tag{
  background:#fff;
  color:#171718;
}

.p-details{
  display:flex;
  flex-direction:column;
  line-height:1.25;
}
.p-layer-name{
  font-size:11px;
  font-weight:700;
  color:#222;
  transition:color .2s;
}
.project-card.featured .p-layer-name{
  color:#f4f4f5;
}
.p-layer-tech{
  font-size:10px;
  color:#777;
  font-family:ui-monospace,Menlo,Consolas,monospace;
  transition:color .2s;
}
.project-card.featured .p-layer-tech{
  color:#a1a1aa;
}

/* Data Stream Animated Dividers (âž”) */
.p-divider{
  color:#aaa;
  font-size:12px;
  flex-shrink:0;
  user-select:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:16px;
  transition:all .3s ease;
  animation:flowPulse 2.4s infinite ease-in-out;
}
.pipeline-flow .p-divider:nth-of-type(1){ animation-delay: 0.3s; }
.pipeline-flow .p-divider:nth-of-type(2){ animation-delay: 1.1s; }
.pipeline-flow .p-divider:nth-of-type(3){ animation-delay: 1.9s; }

@keyframes flowPulse{
  0%, 100%{
    opacity: 0.35;
    transform: translateX(-2px) scale(0.95);
    color: #bbb;
  }
  45%{
    opacity: 1;
    transform: translateX(3px) scale(1.2);
    color: #171718;
    text-shadow: 0 0 8px rgba(0,0,0,0.3);
  }
  70%{
    opacity: 0.55;
    transform: translateX(1px);
  }
}

.project-card.featured .p-divider{
  color:#555;
  animation-name: flowPulseDark;
}
.project-card.featured .pipeline-flow .p-divider:nth-of-type(1){ animation-delay: 0.3s; }
.project-card.featured .pipeline-flow .p-divider:nth-of-type(2){ animation-delay: 1.1s; }
.project-card.featured .pipeline-flow .p-divider:nth-of-type(3){ animation-delay: 1.9s; }

@keyframes flowPulseDark{
  0%, 100%{
    opacity: 0.28;
    transform: translateX(-2px) scale(0.95);
    color: #555;
  }
  45%{
    opacity: 1;
    transform: translateX(3px) scale(1.25);
    color: #22c55e;
    text-shadow: 0 0 10px rgba(34,197,94,0.75);
  }
  70%{
    opacity: 0.5;
    transform: translateX(1px);
  }
}

/* ENGINEERING METRICS STRIP */
.project-metrics-strip{
  display:flex;
  flex-wrap:wrap;
  gap:8px 14px;
  margin:4px 0 16px;
  padding:8px 12px;
  background:#f6f6f7;
  border-radius:9px;
  border-left:3px solid #171718;
  width:100%;
}
.project-card.featured .project-metrics-strip{
  background:#1f1f23;
  border-left-color:#22c55e;
}
.metric-item{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-family:ui-monospace,Menlo,Consolas,monospace;
  font-size:11px;
  font-weight:600;
  color:#444;
}
.project-card.featured .metric-item{
  color:#d4d4d8;
}
.metric-dot{
  width:6px;
  height:6px;
  border-radius:50%;
  background:#10b981;
  flex-shrink:0;
}

/* MY ENGINEERING CONTRIBUTION BOX */
.project-contribution{
  width:100%;
  background:#f9f9fb;
  border:1px solid #ebecef;
  border-radius:12px;
  padding:14px 16px;
  margin:10px 0 16px;
}
.project-card.featured .project-contribution{
  background:#1b1b1e;
  border-color:#2b2b32;
}
.contribution-title{
  display:flex;
  align-items:center;
  gap:7px;
  font-size:11.5px;
  font-family:ui-monospace,Menlo,Consolas,monospace;
  font-weight:750;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:#171718;
  margin-bottom:8px;
}
.project-card.featured .contribution-title{
  color:#22c55e;
}
.contribution-list{
  margin:0;
  padding-left:18px;
  font-size:12.5px;
  line-height:1.6;
  color:#555;
}
.project-card.featured .contribution-list{
  color:#a1a1aa;
}
.contribution-list li{
  margin-bottom:6px;
}
.contribution-list li:last-child{
  margin-bottom:0;
}

.tags{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin:0 0 20px;
}
.tags span{
  font-size:10.5px;
  font-family:ui-monospace,Menlo,Consolas,monospace;
  padding:5px 10px;
  border:1px solid rgba(128,128,128,.2);
  border-radius:999px;
  background:#fafafa;
  color:#555;
  transition:.2s background;
}
.project-card:hover .tags span{background:#f2f2f2}
.project-card.featured .tags span{
  background:#222226;
  border-color:#333338;
  color:#d4d4d8;
}
.project-card.featured:hover .tags span{
  background:#2a2a30;
  border-color:#44444a;
}

.card-footer-row{
  margin-top:auto;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px;
  padding-top:16px;
  border-top:1px solid #f0f0f0;
}
.project-card.featured .card-footer-row{
  border-top-color:#27272a;
}
.project-card.featured .project-link{
  color:#fff;
}

.card-actions-group{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

/* Action Buttons */
.project-btn-primary{
  display:inline-flex;
  align-items:center;
  gap:6px;
  background:#22c55e;
  color:#09090b;
  font-family:inherit;
  font-size:12px;
  font-weight:700;
  padding:7px 14px;
  border-radius:999px;
  border:none;
  cursor:pointer;
  transition:all .2s cubic-bezier(.16,1,.3,1);
  box-shadow:0 2px 8px rgba(34,197,94,.25);
}
.project-btn-primary:hover{
  background:#16a34a;
  color:#fff;
  transform:translateY(-1px);
  box-shadow:0 4px 14px rgba(34,197,94,.4);
}
.project-btn-subtle{
  display:inline-flex;
  align-items:center;
  gap:5px;
  background:#f4f4f5;
  color:#18181b;
  border:1px solid #d4d4d8;
  font-size:12px;
  font-weight:650;
  padding:6px 13px;
  border-radius:999px;
  text-decoration:none;
  transition:all .2s ease;
}
.project-btn-subtle:hover{
  background:#18181b;
  color:#fff;
  border-color:#18181b;
  transform:translateY(-1px);
}
.project-btn-text{
  display:inline-flex;
  align-items:center;
  gap:4px;
  background:transparent;
  color:#059669;
  border:1px solid #a7f3d0;
  background:#ecfdf5;
  font-family:inherit;
  font-size:11.5px;
  font-weight:700;
  padding:5px 11px;
  border-radius:999px;
  cursor:pointer;
  transition:all .2s ease;
}
.project-btn-text:hover{
  background:#10b981;
  color:#fff;
  border-color:#10b981;
}

.project-link{
  display:inline-flex;
  align-items:center;
  gap:7px;
  font-size:13px;
  font-weight:650;
  color:inherit;
  border-bottom:1.5px solid currentColor;
  padding-bottom:3px;
  transition:.2s color;
}
.link-arrow{transition:transform .2s ease}
.project-card:hover .link-arrow{transform:translate(3px,-3px)}

/* SKILLS SECTION (TECH STACK) */
.skills-section{background:#fafafa}
.skill-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  margin-top:12px;
}
.skill-card{
  border:1px solid #e7e7e7;
  border-radius:20px;
  background:#fff;
  padding:28px 24px;
  display:flex;
  flex-direction:column;
  transition:.25s all;
}
.skill-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 40px rgba(0,0,0,.06);
  border-color:#d0d0d0;
}
.skill-card-top{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:10px;
}
.skill-icon{
  font-size:22px;
  line-height:1;
}
.skill-icon-svg{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  border-radius:10px;
  background:#f5f5f5;
  color:#171718;
  border:1px solid #e7e7e7;
  transition:all .2s cubic-bezier(.16,1,.3,1);
}
.skill-card:hover .skill-icon-svg{
  background:#171718;
  color:#fff;
  border-color:#171718;
  transform:scale(1.05);
}
.skill-card h3{
  font-size:17px;
  font-weight:750;
  margin:0;
  letter-spacing:-.02em;
}
.skill-desc{
  margin:0 0 18px;
  color:#777;
  font-size:13px;
  line-height:1.5;
}
.skill-pills{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:auto;
}
.skill-pills span{
  font-size:11px;
  font-family:ui-monospace,Menlo,Consolas,monospace;
  padding:4px 9px;
  border-radius:999px;
  background:#f5f5f5;
  border:1px solid #ededed;
  color:#666;
}
.skill-pills .pill-primary{
  background:#fff;
  border-color:#ccc;
  color:#111;
  font-weight:600;
}

/* ARCHITECTURAL COMPETENCIES STRIP */
.competencies-strip{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  margin-top:26px;
  padding:24px 26px;
  background:#fff;
  border-radius:18px;
  border:1px solid #e7e7e7;
}
.comp-item h4{
  font-size:14px;
  font-weight:750;
  margin:0 0 6px;
  color:#171718;
}
.comp-item p{
  font-size:12.5px;
  color:#777;
  line-height:1.55;
  margin:0;
}

/* ABOUT SECTION */
.about-section{background:#fff}
.about-grid{
  display:grid;
  grid-template-columns:1.15fr 0.85fr;
  gap:36px;
  align-items:start;
  margin-top:12px;
}
.about-bio-card{
  background:#fafafa;
  border:1px solid #e7e7e7;
  border-radius:22px;
  padding:36px 32px;
}
.about-bio-card h3{
  font-size:24px;
  font-weight:800;
  letter-spacing:-.03em;
  line-height:1.3;
  margin:0 0 18px;
  color:#171718;
}
.about-bio-card p{
  font-size:15px;
  line-height:1.7;
  color:#666;
  margin:0 0 16px;
}
.about-bio-card p:last-child{margin:0}

.principles-column{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.principle-card{
  background:#fafafa;
  border:1px solid #e7e7e7;
  border-radius:18px;
  padding:20px 22px;
  transition:.2s all;
}
.principle-card:hover{
  background:#fff;
  border-color:#cfcfcf;
  box-shadow:0 10px 26px rgba(0,0,0,.04);
}
.principle-card h4{
  font-size:15px;
  font-weight:750;
  margin:0 0 6px;
  display:flex;
  align-items:center;
  gap:10px;
  color:#171718;
}
.p-num{
  font-family:ui-monospace,Menlo,Consolas,monospace;
  font-size:12px;
  color:#999;
  background:#fff;
  padding:2px 6px;
  border-radius:5px;
  border:1px solid #ededed;
}
.principle-card p{
  font-size:13.5px;
  line-height:1.55;
  color:#666;
  margin:0;
}

/* FOOTER / CONTACT */
footer{
  padding:72px 54px 50px;
  background:radial-gradient(circle at 50% 30%, #fff 0%, #fafafa 70%, #f4f4f3 100%);
  border-top:1px solid #ededed;
}
.footer-cta-card{
  text-align:center;
  max-width:760px;
  margin:0 auto 60px;
}
.footer-cta-card h2{
  font-size:clamp(40px, 5.2vw, 68px);
  letter-spacing:-.05em;
  line-height:1.05;
  margin:10px 0 16px;
}
.cta-desc{
  font-size:16px;
  line-height:1.6;
  color:#777;
  margin:0 auto 28px;
  max-width:540px;
}
.cta-actions{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:14px;
}
.copy-email-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:#fff;
  border:1px solid #e0e0e0;
  border-radius:999px;
  padding:12px 22px;
  font-size:14px;
  font-weight:600;
  color:#333;
  cursor:pointer;
  transition:.2s all;
}
.copy-email-btn:hover{
  background:#f9f9f9;
  border-color:#ccc;
}

.footer-bottom-bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:16px;
  padding-top:28px;
  border-top:1px solid #eee;
  font-size:13px;
  color:#888;
}
.footer-right-items{
  display:flex;
  align-items:center;
  gap:20px;
}
.back-to-top{
  background:transparent;
  border:1px solid #dfdfdf;
  border-radius:999px;
  padding:6px 14px;
  font-size:12px;
  font-weight:600;
  color:#555;
  cursor:pointer;
  transition:.2s all;
}
.back-to-top:hover{
  background:#fff;
  color:#111;
  border-color:#ccc;
}

/* TOAST NOTIFICATION */
#copyToast{
  position:fixed;
  bottom:28px;
  right:28px;
  z-index:999;
  background:#171718;
  color:#fff;
  padding:11px 18px;
  border-radius:999px;
  font-size:13px;
  font-weight:600;
  box-shadow:0 12px 30px rgba(0,0,0,.18);
  display:flex;
  align-items:center;
  gap:8px;
  opacity:0;
  transform:translateY(20px);
  pointer-events:none;
  transition:all .3s cubic-bezier(.16,1,.3,1);
}
#copyToast.show{
  opacity:1;
  transform:translateY(0);
}

/* RESPONSIVE */
@media(max-width:1100px){
  .skill-grid,.competencies-strip{grid-template-columns:repeat(2,1fr)}
  .about-grid{grid-template-columns:1fr}
}
@media(max-width:900px){
  .section{padding:54px 24px}
  .project-card.col-6{grid-column:span 12}
  .skill-grid,.competencies-strip{grid-template-columns:1fr}
  footer{padding:54px 24px 40px}
  .footer-bottom-bar{flex-direction:column;text-align:center}
}
@media(max-width:760px){
  body{background:#fff}
  .site-shell{width:100%}
  .topbar{height:68px;padding:0 20px;grid-template-columns:1fr auto}
  .availability{font-size:11px;padding:8px 12px}
  .navlinks{display:none}
  .talk{font-size:12px;padding:10px 16px}
  .hero-name{top:80px;font-size:16vw}
  .hero-copy{top:210px;left:20px;right:20px;width:auto}
  .socials{top:450px;right:20px;width:130px}
  .avatar-wrap{width:100vw;height:520px;bottom:0}
}

/* ============================================================
   SYSTEM ARCHITECTURE CASE STUDY MODAL
   ============================================================ */
.arch-modal-overlay{
  position:fixed;
  inset:0;
  background:rgba(8, 10, 15, 0.78);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  z-index:9999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  opacity:0;
  visibility:hidden;
  transition:opacity .25s ease, visibility .25s ease;
}
.arch-modal-overlay.active{
  opacity:1;
  visibility:visible;
}

.arch-modal-card{
  background:#0f172a;
  color:#f8fafc;
  border:1px solid #334155;
  border-radius:20px;
  max-width:980px;
  width:100%;
  max-height:92vh;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  box-shadow:0 25px 60px rgba(0,0,0,0.6);
  transform:scale(0.95) translateY(14px);
  transition:transform .3s cubic-bezier(0.16,1,0.3,1);
}
.arch-modal-overlay.active .arch-modal-card{
  transform:scale(1) translateY(0);
}

.arch-modal-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 24px;
  border-bottom:1px solid #1e293b;
  background:#090d16;
  gap:16px;
  flex-wrap:wrap;
}
.modal-badge-pill{
  font-family:ui-monospace,Menlo,Consolas,monospace;
  font-size:10px;
  font-weight:750;
  color:#10b981;
  letter-spacing:.08em;
  background:rgba(16,185,129,.12);
  border:1px solid rgba(16,185,129,.3);
  padding:3px 8px;
  border-radius:999px;
  display:inline-block;
  margin-bottom:4px;
}
.arch-modal-title-wrap h2{
  font-size:20px;
  font-weight:800;
  letter-spacing:-.02em;
  margin:0;
  color:#fff;
}
.arch-modal-header-actions{
  display:flex;
  align-items:center;
  gap:12px;
}
.arch-modal-tabs{
  display:flex;
  background:#1e293b;
  padding:3px;
  border-radius:999px;
  border:1px solid #334155;
  gap:4px;
  flex-wrap:wrap;
}
.arch-tab-btn{
  font-family:inherit;
  font-size:11.5px;
  font-weight:600;
  color:#94a3b8;
  background:transparent;
  border:none;
  padding:5px 12px;
  border-radius:999px;
  cursor:pointer;
  transition:all .2s;
  white-space:nowrap;
}
.arch-tab-btn:hover{
  color:#f8fafc;
}
.arch-tab-btn.active{
  background:#10b981;
  color:#09090b;
  font-weight:700;
}
.arch-modal-close{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.1);
  color:#cbd5e1;
  width:32px;
  height:32px;
  border-radius:50%;
  font-size:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:all .2s;
}
.arch-modal-close:hover{
  background:#ef4444;
  color:#fff;
  border-color:#ef4444;
}

.arch-modal-body{
  padding:24px;
  overflow-y:auto;
  flex:1;
  display:flex;
  flex-direction:column;
  gap:24px;
}
.arch-tab-content{
  display:none;
  flex-direction:column;
  gap:20px;
}
.arch-tab-content.active{
  display:flex;
}

/* Diagram Card */
.arch-diagram-card{
  background:#090d16;
  border:1px solid #1e293b;
  border-radius:14px;
  padding:18px 20px;
}
.diagram-header{
  margin-bottom:14px;
}
.diagram-tag{
  font-family:ui-monospace,Menlo,Consolas,monospace;
  font-size:9.5px;
  font-weight:700;
  color:#38bdf8;
  letter-spacing:.08em;
  display:block;
  margin-bottom:4px;
}
.diagram-header h4{
  font-size:15px;
  font-weight:700;
  color:#f1f5f9;
  margin:0;
}
.diagram-svg-wrap{
  width:100%;
  overflow-x:auto;
  padding:10px 0;
}
.arch-diagram-svg{
  width:100%;
  min-width:640px;
  height:auto;
  display:block;
}

/* Breakdown Grid */
.arch-breakdown-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
@media(max-width:768px){
  .arch-breakdown-grid{grid-template-columns:1fr}
}
.arch-breakdown-col{
  background:#131d31;
  border:1px solid #1e293b;
  border-radius:12px;
  padding:16px 18px;
}
.arch-breakdown-col h4{
  font-size:13.5px;
  font-weight:750;
  color:#10b981;
  margin:0 0 6px;
}
.arch-breakdown-col p{
  font-size:12.5px;
  line-height:1.6;
  color:#cbd5e1;
  margin:0 0 14px;
}
.arch-breakdown-col p:last-child{
  margin-bottom:0;
}
.arch-breakdown-col code{
  background:#090d16;
  color:#38bdf8;
  font-family:ui-monospace,Menlo,Consolas,monospace;
  font-size:11px;
  padding:2px 6px;
  border-radius:4px;
  border:1px solid #1e293b;
}

/* Animated Diagram Data Flows & Interactive Nodes */
@keyframes flowDash {
  from {
    stroke-dashoffset: 24;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes flowDashRev {
  from {
    stroke-dashoffset: -24;
  }
  to {
    stroke-dashoffset: 0;
  }
}
.arch-flow-line {
  stroke-dasharray: 6 4;
  animation: flowDash 0.9s linear infinite;
}
.arch-flow-line-reverse {
  stroke-dasharray: 6 4;
  animation: flowDashRev 0.9s linear infinite;
}
.arch-flow-line-amber {
  stroke-dasharray: 5 4;
  animation: flowDashRev 1s linear infinite;
}
.arch-node {
  transition: filter 0.25s ease;
}
.arch-node:hover {
  filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.45));
}

