:root {
  --bg: #07111f;
  --bg-soft: #0b1728;
  --surface: rgba(255, 255, 255, 0.055);
  --surface-strong: #101f34;
  --text: #f4f7fb;
  --muted: #8fa0b8;
  --line: rgba(255, 255, 255, 0.1);
  --primary: #5b8cff;
  --primary-2: #8b5cf6;
  --accent: #48e5c2;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.35);
  --radius: 26px;
  --header-bg: rgba(7, 17, 31, 0.76);
}

body.light {
  --bg: #f4f7fb;
  --bg-soft: #eaf0f8;
  --surface: rgba(10, 30, 58, 0.05);
  --surface-strong: #ffffff;
  --text: #0b1628;
  --muted: #607089;
  --line: rgba(7, 17, 31, 0.1);
  --primary: #2f67f5;
  --primary-2: #7256e8;
  --accent: #0ca789;
  --shadow: 0 26px 80px rgba(16, 37, 72, 0.12);
  --header-bg: rgba(244, 247, 251, 0.82);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 0%, rgba(91, 140, 255, 0.13), transparent 31%),
    radial-gradient(circle at 85% 20%, rgba(139, 92, 246, 0.12), transparent 28%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  transition: background .35s ease, color .35s ease;
}

::selection { background: var(--primary); color: #fff; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .025;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 140, 255, .11), transparent 66%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -1;
  transition: opacity .2s ease;
}

.section-shell { width: min(1180px, calc(100% - 44px)); margin: 0 auto; }
.section { padding: 118px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  min-height: 78px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 14px max(22px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid transparent;
  transition: .3s ease;
}
.site-header.scrolled {
  background: var(--header-bg);
  backdrop-filter: blur(18px);
  border-color: var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; width: max-content; font-weight: 800; letter-spacing: -.02em; }
.brand-mark {
  width: 39px; height: 39px; border-radius: 12px; display: inline-grid; place-items: center;
  color: #fff; font-size: 12px; letter-spacing: -.04em; font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 10px 30px rgba(91, 140, 255, .25);
}
.brand-text { font-size: 15px; }
.desktop-nav { display: flex; align-items: center; gap: 30px; }
.desktop-nav a { color: var(--muted); font-size: 14px; font-weight: 650; transition: .2s ease; }
.desktop-nav a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.icon-btn, .menu-btn {
  width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer;
}
.icon-btn { display: grid; place-items: center; font-size: 18px; }
.menu-btn { display: none; padding: 11px; }
.menu-btn span { display: block; height: 2px; margin: 4px 0; border-radius: 999px; background: currentColor; transition: .25s ease; }
.mobile-menu { display: none; }

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 760;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-2)); box-shadow: 0 14px 34px rgba(91, 140, 255, .24); }
.btn-primary:hover { box-shadow: 0 18px 42px rgba(91, 140, 255, .34); }
.btn-outline { background: var(--surface); border-color: var(--line); color: var(--text); }
.btn-outline:hover, .btn-ghost:hover { background: rgba(91, 140, 255, .1); border-color: rgba(91, 140, 255, .35); }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-small { min-height: 42px; padding: 0 15px; }

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 72px;
  padding-top: 62px;
  padding-bottom: 70px;
}
.eyebrow {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--surface);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(72, 229, 194, .1); }
.hero h1 {
  max-width: 850px;
  margin: 24px 0 22px;
  font-size: clamp(52px, 6vw, 86px);
  line-height: .98;
  letter-spacing: -.065em;
  font-weight: 860;
}
.gradient-text {
  display: inline;
  background: linear-gradient(120deg, #b8caff 0%, #7194ff 44%, #a977ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead { max-width: 720px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.75; }
.hero-lead strong { color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 35px; }
.contact-strip { display: flex; flex-wrap: wrap; gap: 26px; padding-top: 26px; border-top: 1px solid var(--line); }
.contact-strip > * { color: var(--text); font-size: 13px; }
.contact-strip span { display: block; margin-bottom: 3px; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 570px; }
.glass-card { background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035)); border: 1px solid var(--line); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.profile-card { position: relative; z-index: 2; width: min(100%, 470px); padding: 24px; border-radius: 30px; overflow: hidden; }
.profile-card::before { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; right: -80px; top: -90px; background: radial-gradient(circle, rgba(91,140,255,.35), transparent 65%); }
.profile-top { position: relative; z-index: 1; display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.avatar { width: 66px; height: 66px; border-radius: 20px; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; font-size: 21px; font-weight: 900; box-shadow: 0 14px 38px rgba(91,140,255,.25); }
.profile-top h2 { margin: 3px 0 0; font-size: 22px; letter-spacing: -.025em; }
.muted { color: var(--muted); margin: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .09em; font-weight: 760; }
.code-window { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: rgba(2, 8, 19, .76); }
body.light .code-window { background: #0d1624; }
.window-bar { height: 38px; display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid rgba(255,255,255,.08); color: #77869b; font-size: 10px; }
.window-bar i { width: 8px; height: 8px; border-radius: 50%; background: #57667b; }
.window-bar i:nth-child(1) { background: #fb7185; }.window-bar i:nth-child(2) { background: #fbbf24; }.window-bar i:nth-child(3) { background: #34d399; }
.window-bar span { margin-left: 8px; }
.code-window pre { margin: 0; padding: 24px 20px 27px; overflow: auto; color: #dce8f8; font: 13px/1.9 "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
.code-purple { color: #c084fc; }.code-blue { color: #60a5fa; }.code-green { color: #86efac; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 16px; }
.mini-stats div { padding: 15px 10px; text-align: center; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.mini-stats strong { display: block; font-size: 15px; letter-spacing: -.02em; }
.mini-stats span { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.orbit { position: absolute; border: 1px solid rgba(91,140,255,.17); border-radius: 50%; animation: float 8s ease-in-out infinite; }
.orbit-one { width: 520px; height: 520px; }
.orbit-two { width: 390px; height: 390px; animation-delay: -2.5s; }
.orbit::after { content: ""; position: absolute; width: 12px; height: 12px; border-radius: 50%; top: 8%; left: 22%; background: var(--primary); box-shadow: 0 0 22px rgba(91,140,255,.75); }
@keyframes float { 0%,100%{transform:translateY(0) rotate(0)} 50%{transform:translateY(-12px) rotate(4deg)} }

.ticker { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.02); }
.ticker-track { width: max-content; display: flex; align-items: center; gap: 28px; padding: 16px 0; color: var(--muted); font-size: 11px; text-transform: uppercase; font-weight: 850; letter-spacing: .12em; animation: marquee 28s linear infinite; }
.ticker-track b { color: var(--primary); font-size: 9px; }
@keyframes marquee { to { transform: translateX(-50%); } }

.section-heading { margin-bottom: 54px; }
.section-kicker { margin: 0 0 16px; color: var(--primary); font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: .14em; }
.section-heading h2, .education-card h2, .contact-card h2 { margin: 0; font-size: clamp(39px, 4.6vw, 66px); line-height: 1.03; letter-spacing: -.05em; }
.heading-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.heading-note { max-width: 390px; color: var(--muted); margin: 0 0 5px; }

.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: start; }
.about-copy { color: var(--muted); font-size: 16px; }
.about-copy p { margin-top: 0; margin-bottom: 22px; }
.large-copy { color: var(--text); font-size: clamp(24px, 3vw, 35px); line-height: 1.38; letter-spacing: -.025em; }
.large-copy strong { color: var(--primary); }
.about-panel { padding: 10px 25px; border-radius: var(--radius); }
.info-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 26px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row span { color: var(--muted); font-size: 12px; }
.info-row strong { max-width: 60%; text-align: right; font-size: 13px; }

.timeline { border-top: 1px solid var(--line); }
.timeline-item { display: grid; grid-template-columns: 185px 30px 1fr; gap: 28px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.timeline-date { padding-top: 5px; color: var(--muted); font-size: 12px; font-weight: 760; text-transform: uppercase; letter-spacing: .06em; }
.timeline-line { position: relative; display: flex; justify-content: center; }
.timeline-line::before { content: ""; position: absolute; top: 0; bottom: -41px; width: 1px; background: var(--line); }
.timeline-line span { position: relative; z-index: 1; width: 12px; height: 12px; margin-top: 8px; border-radius: 50%; background: var(--bg); border: 3px solid var(--primary); box-shadow: 0 0 0 5px rgba(91,140,255,.1); }
.timeline-content h3 { margin: 0; font-size: 24px; letter-spacing: -.03em; }
.timeline-content .company, .timeline-content > p:nth-of-type(1) { color: var(--muted); }
.timeline-content > p { max-width: 760px; margin: 9px 0 0; color: var(--muted); }
.timeline-title-row { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.timeline-title-row p { margin: 5px 0 0; color: var(--muted); }
.tag { display: inline-flex; padding: 7px 10px; border-radius: 999px; font-size: 9px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.featured-tag { color: var(--accent); background: rgba(72,229,194,.09); border: 1px solid rgba(72,229,194,.25); }
.tech-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tech-tags span { padding: 7px 9px; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); background: var(--surface); font-size: 10px; font-weight: 720; }

.projects-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; }
.project-card { overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.project-card:hover { transform: translateY(-5px); border-color: rgba(91,140,255,.34); box-shadow: var(--shadow); }
.project-visual { position: relative; min-height: 340px; overflow: hidden; border-bottom: 1px solid var(--line); }
.visual-label { position: absolute; left: 22px; top: 20px; z-index: 5; font-size: 9px; color: rgba(255,255,255,.72); font-weight: 850; text-transform: uppercase; letter-spacing: .15em; }
.project-body { padding: 27px; }
.project-head { display: flex; justify-content: space-between; gap: 20px; }
.project-type { margin: 0 0 6px; color: var(--primary); font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.project-body h3 { margin: 0; font-size: 29px; letter-spacing: -.04em; }
.project-body > p { color: var(--muted); margin: 15px 0 0; }
.project-arrow { width: 40px; height: 40px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); }
.project-live-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 19px; padding: 11px 15px; border: 1px solid var(--line); border-radius: 12px; color: var(--text); font-weight: 760; font-size: 14px; background: rgba(91, 140, 255, .06); transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.project-live-link:hover { transform: translateY(-2px); border-color: rgba(91, 140, 255, .42); background: rgba(91, 140, 255, .12); }
.project-live-link span { font-size: 16px; transition: transform .25s ease; }
.project-live-link:hover span { transform: translate(2px, -2px); }
.project-visual-link { display: block; color: inherit; text-decoration: none; }
.project-arrow-link { text-decoration: none; cursor: pointer; transition: transform .25s ease, border-color .25s ease, color .25s ease, background .25s ease; }
.project-arrow-link:hover { transform: translate(2px, -2px); color: var(--text); border-color: rgba(91,140,255,.48); background: rgba(91,140,255,.10); }
.live-badge { position: absolute; right: 20px; top: 17px; z-index: 6; padding: 7px 10px; border: 1px solid rgba(255,255,255,.26); border-radius: 999px; color: #fff; background: rgba(4,10,24,.30); backdrop-filter: blur(10px); font-size: 9px; font-weight: 850; letter-spacing: .08em; }
.live-project-card .project-visual { transition: transform .35s ease, filter .35s ease; }
.live-project-card:hover .project-visual { transform: scale(1.012); filter: brightness(1.035); }
.company-live-link { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(91,140,255,.38); transition: color .2s ease, border-color .2s ease; }
.company-live-link:hover { color: var(--primary); border-color: var(--primary); }

.proeye-visual { background: linear-gradient(145deg, #0d49f3, #6538c8 80%); display: grid; place-items: center; }
.dashboard-mockup { width: 82%; height: 68%; margin-top: 38px; display: grid; grid-template-columns: 58px 1fr; transform: perspective(900px) rotateX(7deg) rotateY(-7deg); border: 1px solid rgba(255,255,255,.25); border-radius: 17px; overflow: hidden; background: #f5f8ff; box-shadow: 0 24px 55px rgba(0,0,0,.28); }
.mockup-sidebar { padding: 17px 12px; background: #071a42; }
.mockup-sidebar i { display: block; height: 7px; margin: 12px 0; border-radius: 5px; background: rgba(255,255,255,.34); }
.mockup-main { padding: 17px; }
.mockup-top { display: flex; justify-content: space-between; gap: 16px; }.mockup-top span { display:block; height:10px; width:38%; border-radius:5px; background:#d6deef; }
.mockup-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-top:20px; }.mockup-cards i { height:48px; border-radius:8px; background:#e1e8f6; }
.mockup-chart { height:90px; margin-top:16px; display:flex; align-items:flex-end; justify-content:space-around; padding:8px 12px; border-radius:9px; background:#eaf0fb; }.mockup-chart span { width:9%; border-radius:5px 5px 2px 2px; background:linear-gradient(#5b8cff,#8066ef); }.mockup-chart span:nth-child(1){height:30%}.mockup-chart span:nth-child(2){height:55%}.mockup-chart span:nth-child(3){height:40%}.mockup-chart span:nth-child(4){height:78%}.mockup-chart span:nth-child(5){height:65%}.mockup-chart span:nth-child(6){height:88%}
.ai-visual { background: radial-gradient(circle at 25% 25%, #3335a4 0, #17194d 33%, #090c21 75%); }
.story-orb { position:absolute; display:grid; place-items:center; border:1px solid rgba(255,255,255,.2); border-radius:50%; background:rgba(255,255,255,.08); color:white; backdrop-filter:blur(12px); font-size:12px; font-weight:800; box-shadow:0 0 45px rgba(113,148,255,.18); }
.orb-a { width:78px; height:78px; left:15%; top:43%; }.orb-b { width:106px; height:106px; left:42%; top:31%; }.orb-c { width:86px; height:86px; right:12%; top:50%; }
.story-line { position:absolute; height:1px; background:linear-gradient(90deg,transparent,#7194ff,transparent); transform-origin:left center; }.line-a{width:34%; left:27%; top:52%; transform:rotate(-16deg)}.line-b{width:30%; left:57%; top:48%; transform:rotate(21deg)}
.brand-visual { background: linear-gradient(135deg, #111 0%, #251d29 50%, #6f2839 110%); display:grid; place-items:center; }
.brand-word { position:relative; z-index:2; color:#fff; font-size:76px; font-weight:900; letter-spacing:-.08em; }.brand-word span { color:#f9a8d4; font-weight:300; }
.brand-rings i { position:absolute; border:1px solid rgba(255,255,255,.12); border-radius:50%; }.brand-rings i:nth-child(1){width:320px;height:320px;left:17%;top:4%}.brand-rings i:nth-child(2){width:240px;height:240px;right:12%;top:20%}.brand-rings i:nth-child(3){width:170px;height:170px;right:30%;bottom:-12%}
.web-visual { background: linear-gradient(145deg, #18263d, #345e86); display:grid; place-items:center; }
.stella-visual { background: linear-gradient(145deg, #162d4b, #4377a8); display:grid; place-items:center; }
.elhoda-visual { background: linear-gradient(145deg, #17382f, #397760); display:grid; place-items:center; }
.browser-frame { width:78%; height:67%; margin-top:35px; padding:14px; border-radius:16px; border:1px solid rgba(255,255,255,.25); background:#f7faff; box-shadow:0 24px 50px rgba(0,0,0,.25); }
.browser-dots { display:flex; gap:5px; }.browser-dots i{width:6px;height:6px;border-radius:50%;background:#a7b4c7}.browser-nav{height:9px;width:34%;margin:12px 0;border-radius:4px;background:#dbe3ef}.browser-hero{height:60px;border-radius:9px;background:linear-gradient(120deg,#8cadd1,#c4d6eb)}.browser-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:10px}.browser-cards i{height:50px;border-radius:8px;background:#e6edf6}

.skills-layout { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.skill-group { padding: 38px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.skill-number { color: var(--primary); font-size: 11px; font-weight: 850; }
.skill-group h3 { margin: 22px 0 22px; font-size: 28px; letter-spacing: -.035em; }
.skill-cloud { display: flex; flex-wrap: wrap; gap: 9px; }
.skill-cloud span { padding: 9px 11px; border-radius: 10px; border: 1px solid var(--line); color: var(--muted); background: var(--surface); font-size: 11px; }

.education-card { padding: 54px; border-radius: 32px; }
.education-details { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; margin-top: 58px; padding-top: 34px; border-top: 1px solid var(--line); }
.education-details span { display: inline-block; margin-bottom: 12px; color: var(--primary); font-size: 11px; font-weight: 850; }
.education-details h3 { margin: 0; font-size: 23px; letter-spacing: -.025em; }.education-details p { color: var(--muted); }
.course-list p { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--text); font-size: 13px; }
.course-list p:last-child { border-bottom: 0; }

.contact-section { padding-top: 60px; }
.contact-card { position: relative; overflow: hidden; padding: 72px; border-radius: 34px; background: linear-gradient(135deg, rgba(44,84,202,.9), rgba(111,67,193,.92)); color: #fff; box-shadow: var(--shadow); }
.contact-card::after { content:""; position:absolute; width:430px; height:430px; border:1px solid rgba(255,255,255,.16); border-radius:50%; right:-100px; top:-170px; box-shadow:0 0 0 80px rgba(255,255,255,.035),0 0 0 160px rgba(255,255,255,.025); }
.contact-card .section-kicker { color: #cbd9ff; }
.contact-card > p:not(.section-kicker) { position:relative; z-index:2; max-width:640px; margin:24px 0 0; color:rgba(255,255,255,.73); font-size:17px; }
.contact-actions { position:relative; z-index:2; display:flex; gap:10px; flex-wrap:wrap; margin-top:34px; }
.contact-card .btn-primary { background:#fff; color:#1f3a8a; box-shadow:none; }.contact-card .btn-outline { border-color:rgba(255,255,255,.28); background:rgba(255,255,255,.08); color:#fff; }
.big-email { position:relative; z-index:2; display:inline-block; margin-top:62px; padding-bottom:5px; border-bottom:1px solid rgba(255,255,255,.4); font-size:clamp(16px,2.4vw,30px); font-weight:760; letter-spacing:-.025em; }

.site-footer { display:grid; grid-template-columns:1fr auto auto; align-items:center; gap:32px; padding-top:44px; padding-bottom:44px; margin-top:60px; border-top:1px solid var(--line); color:var(--muted); font-size:11px; }
.site-footer > div { display:flex; align-items:center; gap:12px; }.site-footer p { margin:0; }.site-footer span:not(.brand-mark){ color:var(--muted); }.site-footer a{color:var(--text);font-weight:750}

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .12s; }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .header-actions .btn-small { display: none; }
  .menu-btn { display: block; }
  .mobile-menu {
    position: fixed; top: 70px; left: 18px; right: 18px; z-index: 99;
    display: grid; gap: 6px; padding: 16px; border: 1px solid var(--line); border-radius: 20px; background: var(--header-bg); backdrop-filter: blur(22px);
    opacity: 0; pointer-events: none; transform: translateY(-10px) scale(.98); transition: .25s ease;
  }
  .mobile-menu.open { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
  .mobile-menu a:not(.btn) { padding: 12px 10px; color: var(--muted); font-weight: 720; }
  .hero { grid-template-columns: 1fr; gap: 20px; padding-top: 80px; }
  .hero-visual { min-height: 500px; }
  .hero h1 { font-size: clamp(50px, 11vw, 78px); }
  .about-grid { grid-template-columns: 1fr; gap: 38px; }
  .timeline-item { grid-template-columns: 145px 22px 1fr; gap: 20px; }
  .heading-row { align-items: flex-start; flex-direction: column; }
  .projects-grid { grid-template-columns: 1fr; }
  .education-details { grid-template-columns: 1fr; gap: 25px; }
  .site-footer { grid-template-columns: 1fr auto; }.site-footer > p { grid-column:1/-1; grid-row:2; }
}

@media (max-width: 680px) {
  .section-shell { width: min(100% - 28px, 1180px); }
  .section { padding: 84px 0; }
  .site-header { padding-left: 14px; padding-right: 14px; }
  .brand-text { display: none; }
  .hero { padding-top: 50px; min-height: auto; }
  .hero h1 { font-size: clamp(47px, 14.5vw, 68px); }
  .hero-lead { font-size: 16px; }
  .contact-strip { display: grid; gap: 15px; }
  .hero-visual { min-height: 430px; }
  .orbit-one { width: 390px; height: 390px; }.orbit-two { width: 290px; height: 290px; }
  .profile-card { padding: 17px; border-radius: 24px; }
  .code-window pre { padding: 20px 14px; font-size: 10.8px; }
  .mini-stats span { font-size: 7px; }
  .section-heading { margin-bottom: 38px; }
  .section-heading h2, .education-card h2, .contact-card h2 { font-size: clamp(37px, 12vw, 55px); }
  .large-copy { font-size: 24px; }
  .timeline-item { grid-template-columns: 1fr; gap: 8px; padding: 31px 0; }
  .timeline-line { display: none; }
  .timeline-date { color: var(--primary); }
  .timeline-title-row { align-items: flex-start; }
  .timeline-content h3 { font-size: 22px; }
  .project-visual { min-height: 280px; }
  .project-body { padding: 21px; }
  .dashboard-mockup { width: 88%; }
  .brand-word { font-size: 65px; }
  .skills-layout { grid-template-columns: 1fr; }
  .skill-group { padding: 28px; }
  .education-card { padding: 30px 23px; border-radius: 24px; }
  .contact-card { padding: 42px 24px; border-radius: 25px; }
  .big-email { margin-top: 42px; }
  .site-footer { grid-template-columns: 1fr; align-items:flex-start; }.site-footer > p { grid-column:auto; grid-row:auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}


/* ===== V5 image integration ===== */
.brand { gap: 10px; }
.brand-photo {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(91,140,255,.36);
  box-shadow: 0 8px 24px rgba(25,55,128,.15);
  background: var(--surface);
}
.brand-photo img,
.avatar-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.brand-photo img { object-position: 50% 18%; }
.avatar-photo {
  padding: 0;
  overflow: hidden;
  background: var(--surface);
}
.avatar-photo img { object-position: 50% 18%; }

.project-photo-visual {
  background: #0b1322;
  isolation: isolate;
}
.project-photo-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(4,9,20,.34) 0%, rgba(4,9,20,.04) 35%, rgba(4,9,20,.08) 100%);
}
.project-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  transform: scale(1.002);
}
.project-photo-visual .visual-label,
.project-photo-visual .live-badge { z-index: 3; }
.mark-photo-visual .project-photo { object-position: center center; }
.stella-photo-visual .project-photo { object-position: center 38%; }
.proeye-photo-visual .project-photo { object-position: center top; }
.project-visual-link {
  position: relative;
  z-index: 2;
  cursor: pointer;
}
.project-visual-link:focus-visible,
.project-live-link:focus-visible,
.project-arrow-link:focus-visible {
  outline: 3px solid rgba(91,140,255,.7);
  outline-offset: 4px;
}

@media (max-width: 680px) {
  .brand-text { display: inline; }
  .brand-photo { width: 34px; height: 34px; flex-basis: 34px; }
  .site-header .brand-text { font-size: 12px; }
  .mark-photo-visual .project-photo,
  .stella-photo-visual .project-photo,
  .proeye-photo-visual .project-photo { object-position: center center; }
}

/* ===== V6 portfolio polish: project labels, new screenshots & professional socials ===== */
.visual-label {
  left: 18px;
  top: 18px;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  color: rgba(255,255,255,.97);
  background: rgba(5,12,25,.72);
  box-shadow: 0 8px 26px rgba(0,0,0,.24);
  backdrop-filter: blur(14px) saturate(125%);
  -webkit-backdrop-filter: blur(14px) saturate(125%);
  text-shadow: 0 1px 2px rgba(0,0,0,.42);
  font-size: 9px;
  line-height: 1;
  letter-spacing: .14em;
  white-space: nowrap;
}
.project-photo-visual::after {
  background: linear-gradient(180deg, rgba(3,8,18,.28) 0%, rgba(3,8,18,.015) 37%, rgba(3,8,18,.08) 100%);
}
.ai-story-photo-visual .project-photo { object-position: center 42%; }
.elhoda-photo-visual .project-photo { object-position: center 28%; }
.proeye-photo-visual .project-photo { object-position: center 8%; }

.social-dock {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin: -8px 0 26px;
}
.social-link {
  min-width: 0;
  display: grid;
  grid-template-columns: 34px minmax(0,1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 8px 10px 8px 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--muted);
  transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}
.social-link:hover {
  transform: translateY(-2px);
  color: var(--text);
  border-color: rgba(91,140,255,.38);
  background: rgba(91,140,255,.09);
}
.social-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, rgba(91,140,255,.95), rgba(139,92,246,.92));
  font-size: 11px;
  font-weight: 900;
  letter-spacing: -.02em;
}
.social-linkedin { font-size: 14px; font-family: Arial, sans-serif; }
.social-name { overflow: hidden; text-overflow: ellipsis; font-size: 11px; font-weight: 800; }
.social-arrow { color: var(--primary); font-size: 12px; }

.contact-socials {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
  max-width: 760px;
  margin-top: 18px;
}
.contact-socials a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 50px;
  padding: 0 15px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(10px);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.contact-socials a:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.38);
}
.contact-socials b { font-size: 14px; }
.big-email { margin-top: 46px; }

.site-footer {
  grid-template-columns: 1fr auto auto auto;
}
.footer-socials { display: flex !important; gap: 7px !important; }
.footer-socials a {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
}
.footer-socials a:hover { color: var(--text); border-color: rgba(91,140,255,.4); transform: translateY(-2px); }

@media (max-width: 980px) {
  .social-dock { grid-template-columns: repeat(2, minmax(0,1fr)); max-width: 620px; }
  .contact-socials { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .site-footer { grid-template-columns: 1fr auto auto; }
  .site-footer > p { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 680px) {
  .visual-label { left: 12px; top: 12px; min-height: 30px; padding: 7px 10px; font-size: 8px; }
  .live-badge { right: 12px; top: 12px; }
  .social-dock { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; margin-top: -5px; }
  .social-link { grid-template-columns: 31px minmax(0,1fr) auto; gap: 7px; padding: 7px; }
  .social-icon { width: 31px; height: 31px; border-radius: 9px; }
  .social-name { font-size: 10px; }
  .contact-socials { grid-template-columns: 1fr 1fr; gap: 8px; }
  .contact-socials a { min-height: 46px; padding: 0 12px; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer > p { grid-column: auto; grid-row: auto; }
  .footer-socials { order: 3; }
  .back-top { order: 4; }
  .ai-story-photo-visual .project-photo,
  .elhoda-photo-visual .project-photo,
  .proeye-photo-visual .project-photo { object-position: center center; }
}


/* ===== V7 project label cleanup ===== */
.project-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.project-label-chip,
.project-status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.project-label-chip {
  color: var(--text);
  background: rgba(91,140,255,.09);
  border: 1px solid rgba(91,140,255,.20);
}
.project-status-chip {
  color: var(--primary);
  background: rgba(91,140,255,.06);
  border: 1px solid rgba(91,140,255,.18);
}
.project-photo-visual::after {
  background: linear-gradient(180deg, rgba(3,8,18,.04) 0%, rgba(3,8,18,0) 35%, rgba(3,8,18,.05) 100%);
}
.project-photo-visual .visual-label,
.project-photo-visual .live-badge {
  display: none;
}
@media (max-width: 680px) {
  .project-meta-row {
    gap: 8px;
    margin-bottom: 12px;
  }
  .project-label-chip,
  .project-status-chip {
    min-height: 30px;
    padding: 7px 10px;
    font-size: 8px;
  }
}
