:root {
  --bg: #07111f;
  --bg-soft: #0b1728;
  --panel: rgba(15, 29, 48, 0.78);
  --panel-solid: #0f1d30;
  --text: #edf6ff;
  --muted: #9fb2c7;
  --subtle: #6f849b;
  --line: rgba(143, 176, 211, 0.16);
  --line-strong: rgba(143, 176, 211, 0.3);
  --cyan: #4be1e8;
  --blue: #4d8dff;
  --violet: #8c6cff;
  --green: #56e6a5;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  --radius: 24px;
  --radius-sm: 15px;
  --max: 1180px;
  --header-height: 82px;
  --transition: 220ms ease;
  color-scheme: dark;
}

html[data-theme="light"] {
  --bg: #f7fafc;
  --bg-soft: #edf4fa;
  --panel: rgba(255, 255, 255, 0.84);
  --panel-solid: #ffffff;
  --text: #10233a;
  --muted: #50677f;
  --subtle: #73869a;
  --line: rgba(28, 66, 104, 0.12);
  --line-strong: rgba(28, 66, 104, 0.23);
  --cyan: #007d8c;
  --blue: #2467dd;
  --violet: #6948d9;
  --green: #087f5b;
  --shadow: 0 28px 80px rgba(33, 74, 112, 0.14);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 12% 10%, rgba(77, 141, 255, 0.12), transparent 28rem),
    radial-gradient(circle at 88% 30%, rgba(75, 225, 232, 0.08), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: rgba(75, 225, 232, 0.3); color: var(--text); }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  padding: 0.75rem 1rem;
  background: var(--text);
  color: var(--bg);
  border-radius: 10px;
  transform: translateY(-150%);
  transition: transform var(--transition);
}
.skip-link:focus { transform: translateY(0); }

.scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 1000; background: transparent; }
.scroll-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--blue), var(--cyan), var(--violet)); }
.site-noise { position: fixed; inset: 0; z-index: -2; pointer-events: none; opacity: 0.035; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='.7'/%3E%3C/svg%3E"); }
.ambient { position: fixed; z-index: -1; width: 30rem; height: 30rem; border-radius: 50%; filter: blur(90px); opacity: 0.08; pointer-events: none; }
.ambient-one { top: 18rem; left: -14rem; background: var(--blue); }
.ambient-two { top: 72rem; right: -15rem; background: var(--cyan); }
.section-shell { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.section { padding: 7.5rem 0; position: relative; }
.glass-panel { background: linear-gradient(145deg, rgba(255,255,255,0.055), rgba(255,255,255,0.015)), var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); backdrop-filter: blur(18px); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; transition: background var(--transition), border-color var(--transition), box-shadow var(--transition); }
.site-header.scrolled { background: color-mix(in srgb, var(--bg) 82%, transparent); border-bottom: 1px solid var(--line); box-shadow: 0 12px 36px rgba(0,0,0,0.12); backdrop-filter: blur(20px); }
.nav-shell { width: min(1260px, calc(100% - 32px)); height: var(--header-height); margin-inline: auto; display: flex; align-items: center; gap: 1.4rem; }
.brand { display: inline-flex; align-items: center; gap: 0.85rem; margin-right: auto; }
.brand-mark { display: grid; place-items: center; width: 45px; height: 45px; border: 1px solid var(--line-strong); border-radius: 13px; background: linear-gradient(135deg, rgba(77,141,255,.2), rgba(75,225,232,.08)); color: var(--cyan); font-weight: 850; font-size: 0.78rem; letter-spacing: 0.08em; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.2; }
.brand-copy strong { font-size: 0.86rem; letter-spacing: 0.01em; }
.brand-copy small { color: var(--muted); font-size: 0.68rem; margin-top: 0.25rem; }
.nav-links { display: flex; align-items: center; gap: 1.45rem; }
.nav-links > a { color: var(--muted); font-size: 0.82rem; font-weight: 650; transition: color var(--transition); }
.nav-links > a:hover, .nav-links > a:focus-visible { color: var(--text); }
.nav-resume { padding: 0.6rem 0.9rem; border: 1px solid var(--line-strong); border-radius: 10px; color: var(--text) !important; }
.theme-toggle, .nav-toggle { border: 1px solid var(--line); background: rgba(255,255,255,0.035); border-radius: 12px; cursor: pointer; }
.theme-toggle { width: 42px; height: 42px; display: grid; place-items: center; }
.theme-toggle:hover { border-color: var(--cyan); }
.theme-icon { color: var(--cyan); font-size: 1.25rem; transform: rotate(-18deg); }
.nav-toggle { display: none; width: 44px; height: 42px; padding: 0.7rem; }
.nav-toggle span { display: block; height: 2px; background: var(--text); margin: 4px 0; transition: transform var(--transition), opacity var(--transition); }

.hero { min-height: 100vh; padding-top: calc(var(--header-height) + 6rem); padding-bottom: 6rem; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr); align-items: center; gap: 5rem; position: relative; }
.hero-grid { position: absolute; inset: 0; pointer-events: none; z-index: -1; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(circle at 62% 42%, black 0%, transparent 66%); opacity: 0.45; }
.availability { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.5rem 0.78rem; border: 1px solid rgba(86,230,165,0.25); background: rgba(86,230,165,0.06); color: var(--green); border-radius: 999px; font-size: 0.72rem; font-weight: 720; letter-spacing: 0.01em; }
.availability span { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px rgba(86,230,165,0.1); }
.kicker { margin: 2rem 0 1rem; color: var(--cyan); text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.75rem; font-weight: 760; }
h1, h2, h3 { line-height: 1.08; margin: 0; letter-spacing: -0.035em; }
h1 { font-size: clamp(3.1rem, 6.5vw, 6.8rem); max-width: 12ch; font-weight: 790; }
h1 em { font-style: normal; color: transparent; background: linear-gradient(100deg, var(--cyan), var(--blue) 55%, var(--violet)); background-clip: text; -webkit-background-clip: text; }
.hero-summary { max-width: 690px; margin: 1.6rem 0 0; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.18rem); }
.audience-switch { margin-top: 2rem; display: inline-flex; flex-wrap: wrap; gap: 0.4rem; padding: 0.4rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,0.025); }
.audience-button { border: 0; border-radius: 10px; background: transparent; color: var(--muted); padding: 0.65rem 0.8rem; font-size: 0.72rem; font-weight: 720; cursor: pointer; transition: background var(--transition), color var(--transition), transform var(--transition); }
.audience-button:hover { color: var(--text); }
.audience-button.active { background: linear-gradient(135deg, rgba(77,141,255,0.2), rgba(75,225,232,0.12)); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }
.hero-actions { margin-top: 2rem; display: flex; align-items: center; flex-wrap: wrap; gap: 0.9rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 50px; padding: 0.75rem 1.15rem; border-radius: 13px; font-size: 0.82rem; font-weight: 760; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition); }
.button:hover { transform: translateY(-2px); }
.button-primary { background: linear-gradient(135deg, var(--blue), #486be8); color: white; box-shadow: 0 13px 35px rgba(77,141,255,0.25); }
.button-primary:hover { box-shadow: 0 18px 45px rgba(77,141,255,0.34); }
.button-secondary { border: 1px solid var(--line-strong); background: rgba(255,255,255,0.035); }
.button-secondary:hover { border-color: var(--cyan); }
.text-link { color: var(--muted); font-size: 0.82rem; font-weight: 700; padding: 0.7rem; }
.text-link:hover { color: var(--cyan); }
.hero-proof { margin-top: 3rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; }
.hero-proof article { padding-top: 1rem; border-top: 1px solid var(--line); }
.hero-proof strong { display: block; color: var(--text); font-size: 0.86rem; }
.hero-proof span { display: block; margin-top: 0.3rem; color: var(--subtle); font-size: 0.68rem; line-height: 1.35; }

.hero-visual { position: relative; min-height: 560px; display: grid; place-items: center; }
.profile-card { position: relative; z-index: 2; width: min(100%, 390px); border-radius: 30px; padding: 1.1rem; overflow: hidden; }
.profile-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(140deg, rgba(75,225,232,0.12), transparent 36%, rgba(140,108,255,0.08)); pointer-events: none; }
.profile-topline { display: flex; align-items: center; gap: 0.55rem; padding: 0.2rem 0.1rem 1rem; color: var(--subtle); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.65rem; }
.terminal-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
.profile-status { margin-left: auto; color: var(--green); }
.profile-photo-wrap { position: relative; width: 210px; height: 210px; margin: 0.4rem auto 1.5rem; }
.profile-photo { width: 100%; height: 100%; object-fit: cover; border-radius: 28px; border: 1px solid var(--line-strong); filter: saturate(0.86) contrast(1.03); }
.photo-ring { position: absolute; inset: -9px; border: 1px dashed rgba(75,225,232,0.35); border-radius: 34px; animation: ringPulse 5s ease-in-out infinite; }
.profile-code { position: relative; padding: 1rem; border: 1px solid var(--line); border-radius: 17px; background: rgba(3,11,21,0.38); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.72rem; line-height: 1.6; }
html[data-theme="light"] .profile-code { background: rgba(233,242,250,0.7); }
.profile-code p { margin: 0.25rem 0; color: var(--subtle); overflow-wrap: anywhere; }
.profile-code span { color: var(--violet); }
.profile-code strong { color: var(--cyan); font-weight: 650; }
.signal-row { height: 42px; margin-top: 1rem; display: flex; align-items: flex-end; gap: 6px; padding: 0.4rem 0.2rem; }
.signal-row span { flex: 1; height: var(--signal); min-height: 7px; border-radius: 3px 3px 1px 1px; background: linear-gradient(to top, var(--blue), var(--cyan)); opacity: 0.65; animation: signal 2.8s ease-in-out infinite alternate; }
.signal-row span:nth-child(2n) { animation-delay: -0.8s; }
.profile-orbit { position: absolute; border-radius: 50%; border: 1px solid var(--line); }
.orbit-one { width: 510px; height: 510px; animation: rotate 34s linear infinite; }
.orbit-two { width: 420px; height: 420px; border-style: dashed; animation: rotate 24s linear infinite reverse; }
.orbit-one::after, .orbit-two::after { content: ""; position: absolute; top: 50%; left: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 18px var(--cyan); }
.floating-chip { position: absolute; z-index: 3; padding: 0.55rem 0.75rem; border: 1px solid var(--line-strong); background: color-mix(in srgb, var(--panel-solid) 86%, transparent); backdrop-filter: blur(12px); border-radius: 10px; color: var(--muted); font-size: 0.67rem; font-weight: 730; box-shadow: var(--shadow); }
.chip-one { top: 18%; left: 0; }.chip-two { right: -2%; top: 42%; }.chip-three { bottom: 15%; left: 4%; }

.credibility-band { border-block: 1px solid var(--line); background: rgba(255,255,255,0.02); }
.credibility-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; color: var(--subtle); font-size: 0.7rem; font-weight: 760; letter-spacing: 0.07em; text-transform: uppercase; }
.credibility-inner span + span::before { content: "◆"; color: var(--line-strong); margin-right: clamp(1rem, 3vw, 3rem); }
.section-heading { max-width: 760px; margin-bottom: 3.4rem; }
.section-index { margin: 0 0 0.8rem; color: var(--cyan); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.7rem; font-weight: 760; }
.section-heading h2, .education-main h2, .contact-copy h2 { font-size: clamp(2.2rem, 5vw, 4.4rem); }
.section-heading > p:last-child { color: var(--muted); font-size: 1rem; max-width: 670px; margin: 1.2rem 0 0; }
.split-heading { max-width: none; display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 4rem; align-items: end; }
.split-heading > p { margin: 0 0 0.3rem !important; }
.about-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 1rem; }
.about-statement { min-height: 100%; border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 3rem); display: flex; flex-direction: column; justify-content: space-between; }
.statement-lead { font-size: clamp(1.3rem, 2.3vw, 2rem); line-height: 1.32; letter-spacing: -0.025em; color: var(--text); }
.about-statement p { color: var(--muted); }
.statement-lead { color: var(--text) !important; }
.signature-line { border-top: 1px solid var(--line); padding-top: 1.2rem; display: flex; flex-direction: column; }
.signature-line span { font-weight: 780; }.signature-line small { color: var(--subtle); margin-top: 0.2rem; }
.focus-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.focus-card { min-height: 230px; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,0.018); transition: transform var(--transition), border-color var(--transition), background var(--transition); }
.focus-card:hover { transform: translateY(-5px); border-color: var(--line-strong); background: rgba(77,141,255,0.045); }
.focus-number { color: var(--cyan); font-family: ui-monospace, monospace; font-size: 0.72rem; }
.focus-card h3 { margin: 3rem 0 0.8rem; font-size: 1.25rem; }.focus-card p { margin: 0; color: var(--muted); font-size: 0.84rem; }

.projects-section { background: linear-gradient(180deg, transparent, rgba(77,141,255,0.035), transparent); }
.project-feature { display: grid; grid-template-columns: 1.05fr 0.95fr; border: 1px solid var(--line); border-radius: 32px; overflow: hidden; background: var(--panel-solid); box-shadow: var(--shadow); }
.project-copy { padding: clamp(1.7rem, 5vw, 4rem); }
.project-meta { display: flex; justify-content: space-between; gap: 1rem; color: var(--cyan); text-transform: uppercase; letter-spacing: 0.11em; font-size: 0.65rem; font-weight: 760; }
.project-copy h3 { margin: 1.6rem 0 0.9rem; font-size: clamp(2.3rem, 4.5vw, 4.4rem); }
.project-tagline { color: var(--text) !important; font-size: 1.05rem !important; line-height: 1.45; }
.project-copy > p { color: var(--muted); }
.project-points { list-style: none; padding: 0; margin: 1.6rem 0; display: grid; gap: 0.7rem; }
.project-points li { position: relative; padding-left: 1.35rem; color: var(--muted); font-size: 0.84rem; }
.project-points li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.tech-row { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tech-row span { padding: 0.38rem 0.56rem; border: 1px solid var(--line); border-radius: 8px; color: var(--subtle); font-size: 0.63rem; font-weight: 700; }
.project-links { margin-top: 2rem; }.project-links a, .sub-links a { color: var(--cyan); font-size: 0.8rem; font-weight: 760; }
.project-visual { min-height: 650px; display: grid; place-items: center; position: relative; overflow: hidden; border-left: 1px solid var(--line); }
.qadam-visual { background: radial-gradient(circle at 50% 45%, rgba(75,225,232,0.15), transparent 18rem), linear-gradient(135deg, #0b1625, #101c31); }
.qadam-visual::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(75,225,232,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(75,225,232,0.06) 1px, transparent 1px); background-size: 36px 36px; }
.visual-window { position: relative; z-index: 1; width: 82%; border: 1px solid rgba(143,176,211,0.25); border-radius: 18px; background: rgba(5,14,25,0.82); box-shadow: 0 30px 80px rgba(0,0,0,0.45); padding-bottom: 1rem; }
.window-bar { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 0.8rem; border-bottom: 1px solid rgba(143,176,211,0.15); }
.window-bar span { width: 8px; height: 8px; border-radius: 50%; background: #ff6b6b; }.window-bar span:nth-child(2) { background: #ffd43b; }.window-bar span:nth-child(3) { background: #51cf66; }
.window-bar small { margin-left: auto; color: #6f849b; font-family: ui-monospace, monospace; font-size: 0.58rem; }
.pipeline-diagram { min-height: 300px; display: flex; align-items: center; justify-content: center; padding: 2rem 1rem; }
.pipeline-input, .pipeline-output { display: grid; gap: 0.6rem; }
.pipeline-input span, .pipeline-output span { width: 72px; padding: 0.8rem 0.4rem; border: 1px solid rgba(75,225,232,0.24); border-radius: 9px; color: #9fb2c7; text-align: center; font-family: ui-monospace, monospace; font-size: 0.58rem; }
.pipeline-core { width: 100px; height: 100px; display: grid; place-items: center; text-align: center; border-radius: 50%; background: radial-gradient(circle, rgba(75,225,232,0.27), rgba(77,141,255,0.09)); border: 1px solid rgba(75,225,232,0.45); color: #edf6ff; font-weight: 850; font-size: 0.68rem; box-shadow: 0 0 40px rgba(75,225,232,0.15); }
.pipeline-line { width: 42px; height: 1px; background: linear-gradient(90deg, transparent, #4be1e8, transparent); }
.metric-strip { margin: 0.55rem 1rem; padding: 0.65rem 0.8rem; display: flex; justify-content: space-between; border: 1px solid rgba(143,176,211,0.13); border-radius: 9px; color: #6f849b; font-family: ui-monospace, monospace; font-size: 0.58rem; }.metric-strip b { color: #56e6a5; }
.project-grid { margin-top: 1rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.project-card { min-height: 430px; padding: 1.7rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,0.02); display: flex; flex-direction: column; transition: transform var(--transition), border-color var(--transition), background var(--transition); }
.project-card:hover { transform: translateY(-6px); border-color: var(--line-strong); background: rgba(77,141,255,0.035); }
.card-top { display: flex; align-items: center; justify-content: space-between; }
.project-icon { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line-strong); border-radius: 14px; color: var(--cyan); font-family: ui-monospace, monospace; font-weight: 850; font-size: 0.75rem; background: linear-gradient(135deg, rgba(77,141,255,0.12), rgba(75,225,232,0.05)); }
.card-top > a { color: var(--muted); font-size: 1.2rem; }.card-top > a:hover { color: var(--cyan); }
.project-badge { color: var(--subtle); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.6rem; }
.project-type { margin: 2.3rem 0 0.6rem; color: var(--cyan); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.62rem; font-weight: 760; }
.project-card h3 { font-size: 1.65rem; }.project-card > p:not(.project-type) { color: var(--muted); font-size: 0.86rem; }.project-card .tech-row { margin-top: auto; padding-top: 1.4rem; }
.sub-links { display: flex; gap: 1rem; margin-top: 1rem; }
.mini-architecture { margin: 1rem 0; display: flex; align-items: center; gap: 0.5rem; color: var(--subtle); font-family: ui-monospace, monospace; font-size: 0.65rem; }.mini-architecture i { flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), var(--cyan), var(--line)); }
.robot-map { height: 90px; margin-top: 0.8rem; border: 1px solid var(--line); border-radius: 14px; position: relative; overflow: hidden; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 18px 18px; }
.robot-map span { position: absolute; height: 2px; background: var(--cyan); transform-origin: left center; }.robot-map span:nth-child(1) { width: 38%; left: 12%; top: 70%; transform: rotate(-25deg); }.robot-map span:nth-child(2) { width: 25%; left: 45%; top: 52%; transform: rotate(28deg); }.robot-map span:nth-child(3) { width: 20%; left: 65%; top: 64%; transform: rotate(-45deg); }.robot-map b { position: absolute; left: 78%; top: 35%; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 16px var(--cyan); }
.servo-visual { height: 90px; margin-top: 0.8rem; border: 1px solid var(--line); border-radius: 14px; position: relative; overflow: hidden; }.camera { position: absolute; width: 56px; height: 36px; left: calc(50% - 28px); top: 18px; border: 2px solid var(--cyan); border-radius: 7px; }.camera::after { content: ""; position: absolute; width: 15px; height: 15px; border: 2px solid var(--blue); border-radius: 50%; left: 18px; top: 8px; }.axis-x, .axis-y { position: absolute; background: var(--line-strong); }.axis-x { width: 70%; height: 1px; left: 15%; top: 65px; }.axis-y { width: 1px; height: 70%; left: 50%; top: 10px; }

.timeline { position: relative; display: grid; gap: 1.3rem; }.timeline::before { content: ""; position: absolute; top: 0; bottom: 0; left: 126px; width: 1px; background: var(--line); }
.timeline-item { display: grid; grid-template-columns: 100px 32px 1fr; gap: 1rem; align-items: start; }.timeline-date { padding-top: 1.6rem; color: var(--subtle); text-align: right; font-size: 0.72rem; font-weight: 720; }.timeline-marker { position: relative; min-height: 100%; }.timeline-marker span { position: absolute; top: 1.8rem; left: 50%; transform: translateX(-50%); width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--cyan); background: var(--bg); box-shadow: 0 0 0 6px rgba(75,225,232,0.06); }
.timeline-content { border-radius: var(--radius); padding: 1.6rem; }.timeline-heading { display: flex; justify-content: space-between; gap: 1.5rem; }.timeline-heading h3 { font-size: 1.35rem; }.timeline-heading p { margin: 0.4rem 0 0; color: var(--cyan); font-size: 0.78rem; }.timeline-heading > span { color: var(--subtle); font-size: 0.7rem; white-space: nowrap; }.timeline-content > p { color: var(--muted); margin-bottom: 0; }
.internship-tasks { margin-top: 1.2rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }.internship-tasks div { padding: 0.9rem; border: 1px solid var(--line); border-radius: 12px; }.internship-tasks strong { display: block; font-size: 0.76rem; }.internship-tasks span { display: block; margin-top: 0.35rem; color: var(--subtle); font-size: 0.72rem; }

.skills-section { background: linear-gradient(180deg, transparent, rgba(75,225,232,0.025), transparent); }.skills-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }.skill-panel { padding: 1.7rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,0.018); }.skill-heading { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.6rem; }.skill-heading span { color: var(--cyan); font-family: ui-monospace, monospace; font-size: 0.65rem; }.skill-heading h3 { font-size: 1.25rem; }.skill-list { display: flex; flex-wrap: wrap; gap: 0.55rem; }.skill-list span { padding: 0.55rem 0.7rem; border-radius: 10px; background: rgba(77,141,255,0.065); border: 1px solid var(--line); color: var(--muted); font-size: 0.75rem; font-weight: 650; }
.education-card { border-radius: 30px; padding: clamp(1.6rem, 5vw, 3.5rem); display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 4rem; }.degree { color: var(--cyan); font-weight: 760; }.education-main > p:last-of-type { color: var(--muted); }.education-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }.education-tags span { border: 1px solid var(--line); border-radius: 999px; padding: 0.45rem 0.7rem; color: var(--subtle); font-size: 0.68rem; }.education-side { display: grid; align-content: center; gap: 1rem; }.education-side div { padding-bottom: 1rem; border-bottom: 1px solid var(--line); }.education-side span { display: block; color: var(--subtle); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.1em; }.education-side strong { display: block; margin-top: 0.35rem; font-size: 0.85rem; }
.audience-section { background: var(--bg-soft); border-block: 1px solid var(--line); }.audience-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }.audience-card { min-height: 320px; padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }.audience-card > span { color: var(--cyan); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.62rem; font-weight: 760; }.audience-card h3 { margin: 5rem 0 1rem; font-size: 1.45rem; }.audience-card p { color: var(--muted); font-size: 0.83rem; }
.contact-card { position: relative; overflow: hidden; border-radius: 34px; padding: clamp(1.7rem, 5vw, 4rem); background: linear-gradient(135deg, #235bd8, #1746ae 50%, #153a84); color: white; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 4rem; box-shadow: 0 35px 90px rgba(25,70,174,0.3); }.contact-card::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to right, transparent, black); }.contact-orbit { position: absolute; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.12); right: -110px; top: -150px; }.contact-orbit::after { content: ""; position: absolute; inset: 70px; border-radius: 50%; border: 1px dashed rgba(255,255,255,0.16); }.contact-copy, .contact-details { position: relative; z-index: 1; }.contact-copy .section-index { color: #b9f7fa; }.contact-copy p:not(.section-index) { color: rgba(255,255,255,0.74); max-width: 620px; }.contact-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.7rem; }.button-light { background: white; color: #1746ae; }.button-outline-light { border: 1px solid rgba(255,255,255,0.35); color: white; }.contact-details { display: grid; align-content: center; gap: 1rem; }.contact-details div { padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,0.15); }.contact-details span { display: block; color: rgba(255,255,255,0.56); font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.1em; }.contact-details a, .contact-details strong { display: block; margin-top: 0.3rem; font-size: 0.82rem; overflow-wrap: anywhere; }
.site-footer { padding: 2.5rem 0; border-top: 1px solid var(--line); }.footer-inner { display: grid; grid-template-columns: 1fr auto auto; gap: 2rem; align-items: center; }.footer-inner > div:first-child { display: flex; flex-direction: column; }.footer-inner strong { font-size: 0.82rem; }.footer-inner span, .footer-inner small { color: var(--subtle); font-size: 0.68rem; }.footer-links { display: flex; gap: 1rem; }.footer-links a { color: var(--muted); font-size: 0.72rem; }.footer-links a:hover { color: var(--cyan); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms ease, transform 700ms ease; }.reveal.visible { opacity: 1; transform: translateY(0); }.delay-1 { transition-delay: 80ms; }.delay-2 { transition-delay: 160ms; }.delay-3 { transition-delay: 240ms; }.delay-4 { transition-delay: 320ms; }
@keyframes rotate { to { transform: rotate(360deg); } }@keyframes ringPulse { 50% { transform: scale(1.035); opacity: 0.55; } }@keyframes signal { to { transform: scaleY(0.55); opacity: 0.95; } }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr; gap: 2rem; padding-top: calc(var(--header-height) + 4rem); }.hero-content { max-width: 850px; }.hero-visual { min-height: 540px; }.profile-orbit { display: none; }.chip-one { left: 10%; }.chip-two { right: 10%; }.chip-three { left: 14%; }
  .project-feature { grid-template-columns: 1fr; }.project-visual { min-height: 480px; border-left: 0; border-top: 1px solid var(--line); }.about-layout { grid-template-columns: 1fr; }.split-heading { grid-template-columns: 1fr; gap: 1rem; align-items: start; }.audience-cards { grid-template-columns: 1fr; }.audience-card { min-height: 230px; }.audience-card h3 { margin-top: 3rem; }
}
@media (max-width: 820px) {
  :root { --header-height: 72px; }.nav-toggle { display: block; }.theme-toggle { margin-left: 0; }.nav-links { position: fixed; top: calc(var(--header-height) + 8px); left: 16px; right: 16px; display: grid; gap: 0.2rem; padding: 0.8rem; background: color-mix(in srgb, var(--panel-solid) 94%, transparent); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); backdrop-filter: blur(20px); transform: translateY(-10px); opacity: 0; pointer-events: none; transition: opacity var(--transition), transform var(--transition); }.nav-links.open { opacity: 1; transform: translateY(0); pointer-events: auto; }.nav-links > a { padding: 0.75rem; }.nav-resume { border: 0; }.hero-proof { grid-template-columns: repeat(2, 1fr); }
  .credibility-inner { justify-content: flex-start; overflow-x: auto; padding-block: 1rem; }.credibility-inner span { white-space: nowrap; }.focus-grid, .project-grid, .skills-grid { grid-template-columns: 1fr; }.timeline::before { left: 15px; }.timeline-item { grid-template-columns: 30px 1fr; gap: 0.7rem; }.timeline-date { grid-column: 2; text-align: left; padding: 0 0 0.2rem; }.timeline-marker { grid-row: 1 / span 2; }.timeline-marker span { top: 0.35rem; }.timeline-content { grid-column: 2; }.internship-tasks { grid-template-columns: 1fr; }.education-card, .contact-card { grid-template-columns: 1fr; gap: 2rem; }.footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .section-shell { width: min(100% - 24px, var(--max)); }.section { padding: 5.3rem 0; }.brand-copy { display: none; }.hero { padding-top: calc(var(--header-height) + 3.5rem); padding-bottom: 4rem; }h1 { font-size: clamp(2.75rem, 15vw, 4.2rem); }.audience-switch { display: grid; width: 100%; }.audience-button { width: 100%; text-align: left; }.hero-actions .button { width: 100%; }.text-link { width: 100%; text-align: center; }.hero-visual { min-height: 470px; }.profile-card { width: calc(100% - 10px); }.profile-photo-wrap { width: 170px; height: 170px; }.floating-chip { display: none; }.project-copy { padding: 1.4rem; }.project-visual { min-height: 390px; }.visual-window { width: 92%; }.pipeline-input span, .pipeline-output span { width: 58px; padding-inline: 0.25rem; }.pipeline-core { width: 82px; height: 82px; }.pipeline-line { width: 22px; }.timeline-heading { flex-direction: column; gap: 0.5rem; }.timeline-heading > span { white-space: normal; }.contact-actions .button { width: 100%; }.footer-links { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }.reveal { opacity: 1; transform: none; } }
